1 |
function scr_cutscene_battle_guardener_1scr_cutscene_battle_guardener_1function scr_cutscene_battle_guardener_1() //gml_Script_scr_cutscene_battle_guardener_1
{
switch scene
{
case 0:
if (message_current == 1)
cutscene_wait(1.5)
break
case 1:
draw_enabled = false
instance_create_depth(-100, 220, -100, obj_guardener_guy_a)
instance_create_depth((room_width + 100), 220, -100, obj_guardener_guy_b)
cutscene_advance()
break
case 2:
if (obj_guardener_guy_a.is_on_target && obj_guardener_guy_b.is_on_target)
cutscene_advance()
case 3:
cutscene_wait(1)
break
case 4:
cutscene_advance()
message_adv = true
break
case 5:
if (message_current == 11)
cutscene_wait(1)
break
case 6:
message[11] = "THEY KNOW.#I JUST SAID THAT."
message_length = string_length(message[message_current])
cutscene_advance()
break
case 7:
cutscene_wait(1)
break
case 8:
draw_enabled = false
cutscene_advance()
break
case 9:
cutscene_wait(1.5)
break
case 10:
message_adv = true
cutscene_advance()
break
case 11:
if (message_current >= 12 && characters >= message_length)
{
message_adv = true
if (message_current == 13)
cutscene_advance()
}
break
}
switch message_current
{
case 1:
case 11:
case 12:
case 13:
skippable = false
break
default:
skippable = true
break
}
} () //gml_Script_scr_cutscene_battle_guardener_1 |
2 |
{ |
3 |
switch scene |
4 |
{ |
5 |
case 0: |
6 |
if (message_current == 1) |
7 |
cutscene_wait(1.5) |
8 |
break |
9 |
case 1: |
10 |
draw_enabled = false |
11 |
instance_create_depth(-100, 220, -100, obj_guardener_guy_a) |
12 |
instance_create_depth((room_width + 100), 220, -100, obj_guardener_guy_b) |
13 |
cutscene_advance() |
14 |
break |
15 |
case 2: |
16 |
if (obj_guardener_guy_a.is_on_target && obj_guardener_guy_b.is_on_target) |
17 |
cutscene_advance() |
18 |
case 3: |
19 |
cutscene_wait(1) |
20 |
break |
21 |
case 4: |
22 |
cutscene_advance() |
23 |
message_adv = true |
24 |
break |
25 |
case 5: |
26 |
if (message_current == 11) |
27 |
cutscene_wait(1) |
28 |
break |
29 |
case 6: |
30 |
message[11] = "THEY KNOW.#I JUST SAID THAT." |
31 |
message_length = string_length(message[message_current]) |
32 |
cutscene_advance() |
33 |
break |
34 |
case 7: |
35 |
cutscene_wait(1) |
36 |
break |
37 |
case 8: |
38 |
draw_enabled = false |
39 |
cutscene_advance() |
40 |
break |
41 |
case 9: |
42 |
cutscene_wait(1.5) |
43 |
break |
44 |
case 10: |
45 |
message_adv = true |
46 |
cutscene_advance() |
47 |
break |
48 |
case 11: |
49 |
if (message_current >= 12 && characters >= message_length) |
50 |
{ |
51 |
message_adv = true |
52 |
if (message_current == 13) |
53 |
cutscene_advance() |
54 |
} |
55 |
break |
56 |
} |
57 |
|
58 |
switch message_current |
59 |
{ |
60 |
case 1: |
61 |
case 11: |
62 |
case 12: |
63 |
case 13: |
64 |
skippable = false |
65 |
break |
66 |
default: |
67 |
skippable = true |
68 |
break |
69 |
} |
70 |
|
71 |
} |