1 | if live_call() |
2 | return global.live_result; |
3 | var box = 3154 |
4 | switch scene |
5 | { |
6 | case 0: |
7 | cutscene_wait(1) |
8 | break |
9 | case 1: |
10 | var seed = instance_create_depth(grass_spawn_x_ar[grass_current], grass_spawn_y_ar[grass_current], (obj_heart_battle_fighting_parent.depth - 3), obj_battle_enemy_attack_guardener_seed_grow) |
11 | seed.direction = grass_spawn_direction[grass_current] |
12 | grass_current += 1 |
13 | if (grass_current >= array_length(grass_spawn_x_ar)) |
14 | { |
15 | cutscene_advance(3) |
16 | return; |
17 | } |
18 | cutscene_advance() |
19 | break |
20 | case 2: |
21 | if cutscene_wait(0.25) |
22 | cutscene_advance(1) |
23 | break |
24 | case 3: |
25 | cutscene_wait(2) |
26 | break |
27 | case 4: |
28 | instance_destroy() |
29 | break |
30 | } |