1 |
function scr_cutscene_battle_guardener_2scr_cutscene_battle_guardener_2function scr_cutscene_battle_guardener_2() //gml_Script_scr_cutscene_battle_guardener_2
{
script_execute(gml_Script_scr_controls_text)
switch scene
{
case 0:
if (message_current == 4)
cutscene_wait(2)
break
case 1:
draw_enabled = false
cutscene_wait(1)
break
case 2:
cutscene_advance()
message_adv = true
break
case 3:
if (message_current == 6)
{
if (characters >= message_length && key_select_pressed)
{
draw_enabled = false
cutscene_advance()
}
}
break
case 4:
obj_guardener_guy_a.active = false
obj_guardener_guy_b.active = false
if (obj_guardener_guy_a.is_on_target && obj_guardener_guy_b.is_on_target)
cutscene_advance()
break
case 5:
cutscene_wait(0.5)
break
case 6:
with (obj_dialogue_box_battle_transformation_any)
event_user(0)
with (obj_quote_bubble_battle)
instance_destroy()
instance_destroy(obj_quote_battle_guardener_attack_end)
break
}
switch message_current
{
case 4:
case 6:
skippable = false
break
default:
skippable = true
break
}
} () //gml_Script_scr_cutscene_battle_guardener_2 |
2 |
{ |
3 |
script_execute(gml_Script_scr_controls_text) |
4 |
switch scene |
5 |
{ |
6 |
case 0: |
7 |
if (message_current == 4) |
8 |
cutscene_wait(2) |
9 |
break |
10 |
case 1: |
11 |
draw_enabled = false |
12 |
cutscene_wait(1) |
13 |
break |
14 |
case 2: |
15 |
cutscene_advance() |
16 |
message_adv = true |
17 |
break |
18 |
case 3: |
19 |
if (message_current == 6) |
20 |
{ |
21 |
if (characters >= message_length && key_select_pressed) |
22 |
{ |
23 |
draw_enabled = false |
24 |
cutscene_advance() |
25 |
} |
26 |
} |
27 |
break |
28 |
case 4: |
29 |
obj_guardener_guy_a.active = false |
30 |
obj_guardener_guy_b.active = false |
31 |
if (obj_guardener_guy_a.is_on_target && obj_guardener_guy_b.is_on_target) |
32 |
cutscene_advance() |
33 |
break |
34 |
case 5: |
35 |
cutscene_wait(0.5) |
36 |
break |
37 |
case 6: |
38 |
with (obj_dialogue_box_battle_transformation_any) |
39 |
event_user(0) |
40 |
with (obj_quote_bubble_battle) |
41 |
instance_destroy() |
42 |
instance_destroy(obj_quote_battle_guardener_attack_end) |
43 |
break |
44 |
} |
45 |
|
46 |
switch message_current |
47 |
{ |
48 |
case 4: |
49 |
case 6: |
50 |
skippable = false |
51 |
break |
52 |
default: |
53 |
skippable = true |
54 |
break |
55 |
} |
56 |
|
57 |
} |