1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
cutscene_sfx_play(snd_ceroba_boom, 1) |
5 |
scr_screenshake_battlescr_screenshake_battlefunction scr_screenshake_battle() //gml_Script_scr_screenshake_battle
{
instance_destroy(obj_screenshake_battle)
var screenshake = instance_create(0, 0, obj_screenshake_battle)
battle_screenshake_duration = argument[0]
battle_screenshake_intensity = argument[1]
battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration
} (10, 1) |
6 |
break |
7 |
case 1: |
8 |
cutscene_wait(0.5) |
9 |
break |
10 |
case 2: |
11 |
obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight = true |
12 |
scene++ |
13 |
break |
14 |
case 3: |
15 |
if (obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight == false) |
16 |
cutscene_advance() |
17 |
break |
18 |
case 4: |
19 |
scr_text_battlescr_text_battlefunction scr_text_battle() //gml_Script_scr_text_battle
{
if (!instance_exists(obj_dialogue_battle))
msg = instance_create(x, y, obj_dialogue_battle)
} () |
20 |
with (msg) |
21 |
{ |
22 |
sndfnt = 108 |
23 |
message[0] = "* Clover! I'm almost through!" |
24 |
message[1] = "* Whatever you're doing, it# seems to be working!" |
25 |
message[2] = "* Keep at it until he's out of# juice!" |
26 |
} |
27 |
if (!global.dialogue_open) |
28 |
cutscene_advance() |
29 |
break |
30 |
case 5: |
31 |
cutscene_wait(1) |
32 |
break |
33 |
case 6: |
34 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2) |
35 |
with (instance_create(0, 0, obj_quote_battle_axis_pacifist_cutscenes)) |
36 |
{ |
37 |
message[0] = "UM.#I CAN HEAR YOU." |
38 |
message[1] = "YOU TWO THINK#YOU ARE SOOO#SMART." |
39 |
message[2] = "HA, I DO NOT#RUN ON \"juice.\"" |
40 |
message[3] = "IN FACT, I DO#NOT RUN AT ALL. " |
41 |
message[4] = "I ROLL." |
42 |
message[5] = "OBVIOUSLY." |
43 |
message_end = 5 |
44 |
} |
45 |
cutscene_advance() |
46 |
break |
47 |
case 7: |
48 |
if (!instance_exists(obj_quote_battle_axis_pacifist_cutscenes)) |
49 |
{ |
50 |
with (obj_heart_battle_fighting_parent) |
51 |
moveable = false |
52 |
cutscene_advance() |
53 |
} |
54 |
break |
55 |
case 8: |
56 |
scr_text_battlescr_text_battlefunction scr_text_battle() //gml_Script_scr_text_battle
{
if (!instance_exists(obj_dialogue_battle))
msg = instance_create(x, y, obj_dialogue_battle)
} () |
57 |
with (msg) |
58 |
{ |
59 |
sndfnt = 108 |
60 |
message[0] = "* ..." |
61 |
} |
62 |
if (!global.dialogue_open) |
63 |
cutscene_advance() |
64 |
break |
65 |
case 9: |
66 |
with (obj_dialogue_box_battle_transformation_any) |
67 |
event_user(0) |
68 |
instance_destroy() |
69 |
break |
70 |
} |