| 1 |
if (obj_dialogue_box_battle.image_alpha > 0) |
| 2 |
{ |
| 3 |
script_execute(scr_controls_text); |
| 4 |
if (can_check_display_text == true) |
| 5 |
display_text = script_execute(scr_determine_display_text_battle_boss_genocide); |
| 6 |
if (display_text == true) |
| 7 |
{ |
| 8 |
if (key_revert_pressed) |
| 9 |
{ |
| 10 |
characters = message_length; |
| 11 |
message_draw = string_copy(message[message_current], 0, characters); |
| 12 |
} |
| 13 |
if (characters < message_length) |
| 14 |
{ |
| 15 |
if (counter == 0) |
| 16 |
{ |
| 17 |
script_execute(scr_text_increase); |
| 18 |
script_execute(scr_talking_text); |
| 19 |
} |
| 20 |
else |
| 21 |
{ |
| 22 |
can_talk = false; |
| 23 |
} |
| 24 |
} |
| 25 |
else |
| 26 |
{ |
| 27 |
can_talk = false; |
| 28 |
if (key_select_pressed) |
| 29 |
{ |
| 30 |
if (message_current < message_end) |
| 31 |
{ |
| 32 |
message_current += 1; |
| 33 |
message_length = string_length(message[message_current]); |
| 34 |
characters = 0; |
| 35 |
message_draw = ""; |
| 36 |
} |
| 37 |
else if (moveable == true) |
| 38 |
{ |
| 39 |
instance_create(0, 0, obj_battle_fade_out_screen); |
| 40 |
moveable = false; |
| 41 |
} |
| 42 |
} |
| 43 |
} |
| 44 |
script_execute(scr_text_counter); |
| 45 |
} |
| 46 |
} |