2021-06-03 21:01:32 -07:00
|
|
|
if (dialogue_mode) {
|
|
|
|
|
|
|
|
//TODO: Draw left active character, transparent if "last active"
|
|
|
|
// draw_sprite_ext( actor_left
|
|
|
|
//TODO: Draw right active character, transparent if "last active"
|
|
|
|
// draw_sprite_ext( actor_right
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_text( 128, 320, actor_left_emote );
|
|
|
|
draw_text( 1000, 320, actor_right_emote );
|
|
|
|
|
2021-06-03 21:01:32 -07:00
|
|
|
// Draw dialogue box
|
|
|
|
draw_self();
|
|
|
|
|
|
|
|
//TODO: Draw current active character's name
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_set_alpha(1);
|
2021-06-03 21:01:32 -07:00
|
|
|
if ( last_active == 0 ) {
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_set_alpha(.5);
|
2021-06-03 21:01:32 -07:00
|
|
|
}
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_set_halign( fa_right );
|
|
|
|
draw_text( 1080, 640, actor_right );
|
|
|
|
draw_set_halign( fa_left );
|
|
|
|
|
|
|
|
draw_set_alpha(1);
|
2021-06-03 21:01:32 -07:00
|
|
|
if ( last_active == 1 ) {
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_set_alpha(.5);
|
2021-06-03 21:01:32 -07:00
|
|
|
}
|
2021-06-04 01:09:05 -07:00
|
|
|
draw_text( 128, 640, actor_left );
|
|
|
|
|
|
|
|
draw_set_alpha(1);
|
2021-06-03 21:01:32 -07:00
|
|
|
|
|
|
|
//TODO: Draw current active character's text, adding one character at a time
|
|
|
|
draw_text( 128, 480, textspew );
|
|
|
|
|
|
|
|
//TODO: If the current text has reached completion, draw an arrow in the corner
|
|
|
|
if (text_advance_ready == 1) {
|
|
|
|
loopdoop++;
|
|
|
|
draw_sprite( spr_text_arrow, round((loopdoop % 160) / 20), 1088, 608 );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|