1 | if live_call() |
2 | return global.live_result; |
3 | if (ds_map_find_value(event_data, "event_type") == "sprite event") |
4 | { |
5 | switch ds_map_find_value(event_data, "message") |
6 | { |
7 | case "eye_shoot": |
8 | if (oscillator == 0) |
9 | { |
10 | instance_create_depth(x, y, (depth + 1), obj_flowey_battle_phase_2_clay_cone) |
11 | obj_flowey_battle_phase_2_clay_cone.mode = irandom_range(0, 1) |
12 | oscillator = 1 |
13 | } |
14 | else |
15 | oscillator = 0 |
16 | break |
17 | } |
18 | |
19 | } |