| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
switch (scene) |
| 4 |
{ |
| 5 |
case 0: |
| 6 |
cutscene_wait(0.75); |
| 7 |
break; |
| 8 |
case 1: |
| 9 |
obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight = true; |
| 10 |
scene++; |
| 11 |
break; |
| 12 |
case 2: |
| 13 |
if (obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight == false) |
| 14 |
cutscene_advance(); |
| 15 |
break; |
| 16 |
case 3: |
| 17 |
scr_text_battle(); |
| 18 |
with (msg) |
| 19 |
{ |
| 20 |
sndfnt = 108; |
| 21 |
message[0] = "* Of course!"; |
| 22 |
message[1] = "* Hey Axis!"; |
| 23 |
prt[0] = 372; |
| 24 |
prt[1] = 374; |
| 25 |
} |
| 26 |
if (!global.dialogue_open) |
| 27 |
cutscene_advance(); |
| 28 |
break; |
| 29 |
case 4: |
| 30 |
cutscene_wait(0.5); |
| 31 |
break; |
| 32 |
case 5: |
| 33 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
| 34 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
| 35 |
{ |
| 36 |
message[0] = "WHAT."; |
| 37 |
message_end = 0; |
| 38 |
} |
| 39 |
cutscene_advance(); |
| 40 |
break; |
| 41 |
case 6: |
| 42 |
if (instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
| 43 |
exit; |
| 44 |
scr_text_battle(); |
| 45 |
with (msg) |
| 46 |
{ |
| 47 |
sndfnt = 108; |
| 48 |
message[0] = "* How do you feel about# second dates?"; |
| 49 |
prt[0] = 374; |
| 50 |
} |
| 51 |
if (!global.dialogue_open) |
| 52 |
cutscene_advance(); |
| 53 |
break; |
| 54 |
case 7: |
| 55 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
| 56 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
| 57 |
{ |
| 58 |
message[0] = "LIKE A#CALENDAR?"; |
| 59 |
message_end = 0; |
| 60 |
} |
| 61 |
cutscene_advance(); |
| 62 |
break; |
| 63 |
case 8: |
| 64 |
if (instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
| 65 |
exit; |
| 66 |
instance_create(-200, obj_axis_body.y - 15, obj_robot_build_finished_robot); |
| 67 |
cutscene_advance(); |
| 68 |
break; |
| 69 |
case 9: |
| 70 |
cutscene_sfx_play(309, 1); |
| 71 |
break; |
| 72 |
case 10: |
| 73 |
var target_x = 40; |
| 74 |
obj_robot_build_finished_robot.x = lerp(obj_robot_build_finished_robot.x, target_x, 0.15); |
| 75 |
if (abs(obj_robot_build_finished_robot.x - target_x) < 0.1) |
| 76 |
{ |
| 77 |
obj_robot_build_finished_robot.x = target_x; |
| 78 |
scene++; |
| 79 |
} |
| 80 |
break; |
| 81 |
case 11: |
| 82 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
| 83 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
| 84 |
{ |
| 85 |
message[0] = "I..."; |
| 86 |
message[1] = "WHAT IS THIS?"; |
| 87 |
message[2] = "THIS FEELING?"; |
| 88 |
message_end = 2; |
| 89 |
} |
| 90 |
cutscene_advance(); |
| 91 |
break; |
| 92 |
case 12: |
| 93 |
if (instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
| 94 |
exit; |
| 95 |
instance_create_depth(obj_axis_body.x, obj_axis_body.y, obj_axis_body.depth - 1, obj_axis_heart); |
| 96 |
obj_axis_body.sprite_index = spr_axis_body_charge; |
| 97 |
obj_axis_body.image_speed = 0; |
| 98 |
obj_axis_body.image_index = 2; |
| 99 |
axis_shake_intensity = 5; |
| 100 |
audio_play_sound(snd_kamehamehacharge, 1, 0); |
| 101 |
scene++; |
| 102 |
break; |
| 103 |
case 13: |
| 104 |
cutscene_wait(1); |
| 105 |
break; |
| 106 |
case 14: |
| 107 |
scr_text_battle(); |
| 108 |
with (msg) |
| 109 |
{ |
| 110 |
sndfnt = 108; |
| 111 |
message[0] = "* Uh oh!"; |
| 112 |
prt[0] = 381; |
| 113 |
} |
| 114 |
if (!global.dialogue_open) |
| 115 |
cutscene_advance(); |
| 116 |
break; |
| 117 |
case 15: |
| 118 |
draw_alpha += 0.15; |
| 119 |
if (draw_alpha >= 1) |
| 120 |
cutscene_advance(); |
| 121 |
break; |
| 122 |
case 16: |
| 123 |
cutscene_wait(2.5); |
| 124 |
obj_axis_body.sprite_index = spr_axis_love; |
| 125 |
obj_axis_body.image_speed = 1; |
| 126 |
obj_axis_body.image_angle = 0; |
| 127 |
break; |
| 128 |
case 17: |
| 129 |
cutscene_music_start(3); |
| 130 |
break; |
| 131 |
case 18: |
| 132 |
draw_alpha -= 0.05; |
| 133 |
if (draw_alpha <= 0) |
| 134 |
cutscene_advance(); |
| 135 |
break; |
| 136 |
case 19: |
| 137 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
| 138 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
| 139 |
{ |
| 140 |
message[0] = "SOULMATE LOCATED."; |
| 141 |
message[1] = "PERFECTION#PERSONIFIED."; |
| 142 |
message[2] = "WHERE HAS THIS#BEAUTY BEEN ALL#MY LIFE?"; |
| 143 |
message_end = 2; |
| 144 |
} |
| 145 |
cutscene_advance(); |
| 146 |
break; |
| 147 |
case 20: |
| 148 |
if (instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
| 149 |
exit; |
| 150 |
scr_text_battle(); |
| 151 |
with (msg) |
| 152 |
{ |
| 153 |
sndfnt = 108; |
| 154 |
message[0] = "* Holy..."; |
| 155 |
prt[0] = 393; |
| 156 |
} |
| 157 |
if (!global.dialogue_open) |
| 158 |
cutscene_advance(); |
| 159 |
break; |
| 160 |
case 21: |
| 161 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
| 162 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
| 163 |
{ |
| 164 |
message[0] = "THE SHIMMER.#THE COMPLEXION."; |
| 165 |
message[1] = "THE...#C U R V E S"; |
| 166 |
message_end = 1; |
| 167 |
} |
| 168 |
cutscene_advance(); |
| 169 |
break; |
| 170 |
case 22: |
| 171 |
if (instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
| 172 |
exit; |
| 173 |
scr_text_battle(); |
| 174 |
with (msg) |
| 175 |
{ |
| 176 |
sndfnt = 108; |
| 177 |
message[0] = "* OKAY that's enough!"; |
| 178 |
message[1] = "* Clover, let's uh...# let's wrap this up."; |
| 179 |
prt[0] = 381; |
| 180 |
prt[1] = 3754; |
| 181 |
} |
| 182 |
if (!global.dialogue_open) |
| 183 |
cutscene_advance(); |
| 184 |
break; |
| 185 |
case 23: |
| 186 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (cutscene_music, 200); |
| 187 |
global.enemy_sparing = true; |
| 188 |
if (!instance_exists(obj_battle_fade_out_screen)) |
| 189 |
{ |
| 190 |
audio_play_sound(snd_monster_damage_death, 1, 0); |
| 191 |
instance_create(0, 0, obj_battle_justice_effect); |
| 192 |
instance_create_depth(0, 0, -2000, obj_battle_fade_out_screen); |
| 193 |
} |
| 194 |
instance_destroy(); |
| 195 |
break; |
| 196 |
} |
| 197 |
if (scene == 13) |
| 198 |
axis_shake_intensity += 0.03; |
| 199 |
if (scene >= 13 && scene <= 15) |
| 200 |
obj_axis_body.image_angle = 0 + random_range(-axis_shake_intensity, axis_shake_intensity); |
| 201 |
if (scene > 0) |
| 202 |
{ |
| 203 |
with (obj_heart_battle_fighting_axis) |
| 204 |
{ |
| 205 |
if (image_alpha > 0) |
| 206 |
image_alpha -= 0.1; |
| 207 |
} |
| 208 |
with (obj_battle_enemy_attack_axis_shield) |
| 209 |
{ |
| 210 |
if (image_alpha > 0) |
| 211 |
image_alpha -= 0.1; |
| 212 |
} |
| 213 |
} |