1 |
if live_call() |
2 |
return global.live_result; |
3 |
switch scene |
4 |
{ |
5 |
case 0: |
6 |
if (obj_battle_flowey_body_1.image_alpha > 0) |
7 |
obj_battle_flowey_body_1.image_alpha -= 0.2 |
8 |
if (alpha_base < 1) |
9 |
alpha_base += 0.2 |
10 |
else |
11 |
scene++ |
12 |
break |
13 |
case 1: |
14 |
cutscene_wait(0.5) |
15 |
break |
16 |
case 2: |
17 |
if (!alarm[1]) |
18 |
alarm[1] = 1alarm[1]if live_call()
return global.live_result; |
19 |
if (hand_alpha < 1) |
20 |
hand_alpha += 0.2 |
21 |
else |
22 |
scene++ |
23 |
break |
24 |
case 3: |
25 |
pick_index += 0.5 |
26 |
left_index = pick_index |
27 |
if (face_index < 9) |
28 |
face_index += 0.5 |
29 |
if (pick_index >= 12) |
30 |
{ |
31 |
var spawner = instance_create_depth(x, y, depth, obj_petal_pull_pollen_spawner) |
32 |
spawner.spawn_x = x - 33 |
33 |
spawner.spawn_y = y - 28 |
34 |
spawner.spawn_direction = 180 |
35 |
scene++ |
36 |
} |
37 |
break |
38 |
case 4: |
39 |
cutscene_wait(0.5) |
40 |
break |
41 |
case 5: |
42 |
hand_alpha -= 0.2 |
43 |
left_alpha = hand_alpha |
44 |
if (face_index < 14) |
45 |
face_index += 0.5 |
46 |
if (hand_alpha <= 0 && face_index >= 14) |
47 |
scene++ |
48 |
break |
49 |
case 6: |
50 |
cutscene_wait(0.5) |
51 |
break |
52 |
case 7: |
53 |
pick_index = 15 |
54 |
if (hand_alpha < 1) |
55 |
hand_alpha += 0.2 |
56 |
else |
57 |
scene++ |
58 |
break |
59 |
case 8: |
60 |
if (face_index < 22) |
61 |
face_index += 0.5 |
62 |
else |
63 |
face_index = 22 |
64 |
if (pick_index >= 26) |
65 |
{ |
66 |
spawner = instance_create_depth(x, y, depth, obj_petal_pull_pollen_spawner) |
67 |
spawner.spawn_x = x + 28 |
68 |
spawner.spawn_y = y - 28 |
69 |
spawner.spawn_direction = 0 |
70 |
spawner.side = -1 |
71 |
scene++ |
72 |
pick_index = 26 |
73 |
} |
74 |
else |
75 |
pick_index += 0.5 |
76 |
right_index = clamp((pick_index - 12), 0, 12) |
77 |
break |
78 |
case 9: |
79 |
cutscene_wait(0.5) |
80 |
break |
81 |
case 10: |
82 |
hand_alpha -= 0.2 |
83 |
right_alpha = hand_alpha |
84 |
if (hand_alpha <= 0 && face_index >= 14) |
85 |
scene++ |
86 |
break |
87 |
case 11: |
88 |
cutscene_wait(2) |
89 |
break |
90 |
case 12: |
91 |
if (obj_battle_flowey_body_1.image_alpha < 1) |
92 |
obj_battle_flowey_body_1.image_alpha += 0.2 |
93 |
else |
94 |
instance_destroy() |
95 |
break |
96 |
} |
97 |
|
98 |
if (face_index >= 20) |
99 |
{ |
100 |
if (shake_intensity < max_shake) |
101 |
shake_intensity += 0.05 |
102 |
} |