| 1 |
script_execute(scr_controls_text); |
| 2 |
var current_turn = global.special_action_count; |
| 3 |
if (key_revert_pressed) |
| 4 |
{ |
| 5 |
characters = message_length; |
| 6 |
message_draw = string_copy(message[message_current], 0, characters); |
| 7 |
} |
| 8 |
if (characters < message_length) |
| 9 |
{ |
| 10 |
if (counter == 0) |
| 11 |
{ |
| 12 |
script_execute(scr_text_increase); |
| 13 |
script_execute(scr_talking_axis); |
| 14 |
} |
| 15 |
else |
| 16 |
{ |
| 17 |
can_talk = false; |
| 18 |
} |
| 19 |
} |
| 20 |
else |
| 21 |
{ |
| 22 |
can_talk = false; |
| 23 |
if (key_select_pressed && skippable == true) |
| 24 |
{ |
| 25 |
if (message_current < message_end) |
| 26 |
{ |
| 27 |
message_adv = true; |
| 28 |
} |
| 29 |
else if (global.route == 2 && (current_turn == 4 || current_turn == 7 || current_turn == 8)) |
| 30 |
{ |
| 31 |
if (current_turn == 4) |
| 32 |
instance_create(0, 0, obj_steamworks_35_in_battle_cutscene_1); |
| 33 |
if (current_turn == 7) |
| 34 |
instance_create(0, 0, obj_steamworks_35_in_battle_cutscene_2); |
| 35 |
if (current_turn == 8) |
| 36 |
instance_create(0, 0, obj_steamworks_35_in_battle_cutscene_3); |
| 37 |
with (obj_quote_bubble_battle) |
| 38 |
instance_destroy(); |
| 39 |
instance_destroy(); |
| 40 |
} |
| 41 |
else |
| 42 |
{ |
| 43 |
with (obj_dialogue_box_battle_transformation_any) |
| 44 |
event_user(0); |
| 45 |
with (obj_quote_bubble_battle) |
| 46 |
instance_destroy(); |
| 47 |
instance_destroy(); |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
if (current_turn == 4 && message_current == 3) |
| 52 |
{ |
| 53 |
if (!instance_exists(obj_battle_enemy_axis_generator)) |
| 54 |
{ |
| 55 |
instance_create(-40, obj_axis_body.y, obj_battle_enemy_axis_generator); |
| 56 |
instance_create(room_width + 40, obj_axis_body.y, obj_battle_enemy_axis_generator); |
| 57 |
} |
| 58 |
} |
| 59 |
if (message_adv == true) |
| 60 |
{ |
| 61 |
message_current += 1; |
| 62 |
message_length = string_length(message[message_current]); |
| 63 |
characters = 0; |
| 64 |
message_draw = ""; |
| 65 |
draw_enabled = true; |
| 66 |
message_adv = false; |
| 67 |
} |
| 68 |
script_execute(scr_text_counter); |