| 1 |
script_execute(scr_controls_text); |
| 2 |
if (instance_exists(obj_quote_bubble_battle)) |
| 3 |
{ |
| 4 |
if (draw_enabled == false) |
| 5 |
obj_quote_bubble_battle.visible = 0; |
| 6 |
else |
| 7 |
obj_quote_bubble_battle.visible = 1; |
| 8 |
} |
| 9 |
if (draw_enabled == false) |
| 10 |
exit; |
| 11 |
if (key_revert_pressed) |
| 12 |
{ |
| 13 |
characters = message_length; |
| 14 |
message_draw = string_copy(message[message_current], 0, characters); |
| 15 |
} |
| 16 |
if (characters < message_length) |
| 17 |
{ |
| 18 |
if (counter == 0) |
| 19 |
{ |
| 20 |
script_execute(scr_text_increase); |
| 21 |
script_execute(scr_talking_axis); |
| 22 |
} |
| 23 |
else |
| 24 |
{ |
| 25 |
can_talk = false; |
| 26 |
} |
| 27 |
} |
| 28 |
else |
| 29 |
{ |
| 30 |
can_talk = false; |
| 31 |
if (key_select_pressed && skippable == true) |
| 32 |
{ |
| 33 |
if (message_current < message_end) |
| 34 |
{ |
| 35 |
message_adv = true; |
| 36 |
} |
| 37 |
else |
| 38 |
{ |
| 39 |
with (obj_quote_bubble_battle) |
| 40 |
instance_destroy(); |
| 41 |
global.text_speed = 1; |
| 42 |
instance_destroy(); |
| 43 |
if (global.attack_cycle == global.attack_cycle_max) |
| 44 |
{ |
| 45 |
obj_axis_body_geno.sprite_index = spr_axis_body_nocharge_melancholy; |
| 46 |
instance_create_depth(obj_axis_body_geno.x, obj_axis_body_geno.y, obj_axis_body_geno.depth - 1, obj_axis_shield_only_geno); |
| 47 |
global.action_amount = 0; |
| 48 |
global.enemy_sparing = true; |
| 49 |
obj_background_boss_battle_axis_yellow.fade_out = true; |
| 50 |
} |
| 51 |
with (obj_battlebox_controller_axis) |
| 52 |
event_user(0); |
| 53 |
} |
| 54 |
} |
| 55 |
} |
| 56 |
if (message_adv == true) |
| 57 |
{ |
| 58 |
message_current += 1; |
| 59 |
message_length = string_length(message[message_current]); |
| 60 |
characters = 0; |
| 61 |
message_draw = ""; |
| 62 |
draw_enabled = true; |
| 63 |
message_adv = false; |
| 64 |
} |
| 65 |
script_execute(scr_text_counter); |