1 |
scene = 0 |
2 |
timer = 0 |
3 |
cutscene_timer = 0 |
4 |
if (global.sworks_flag[10] > 0) |
5 |
{ |
6 |
instance_destroy(obj_dunes_08b_mo) |
7 |
instance_destroy(obj_dunes_08b_dispenser) |
8 |
instance_destroy(obj_dunes_08b_stand) |
9 |
instance_destroy() |
10 |
return; |
11 |
} |
12 |
if (global.route == 3) |
13 |
instance_destroy(obj_dunes_08b_dispenser) |
14 |
if (global.dunes_flag[3] == 1) |
15 |
{ |
16 |
var mo = instance_create(205, 230, obj_dunes_08b_mo) |
17 |
instance_create(200, 240, obj_dunes_08b_stand) |
18 |
instance_destroy(obj_dunes_08b_dispenser) |
19 |
with (mo) |
20 |
{ |
21 |
can_walk = false |
22 |
npc_direction = "down" |
23 |
up_sprite = 958 |
24 |
right_sprite = 960 |
25 |
down_sprite = 962 |
26 |
left_sprite = 961 |
27 |
up_sprite_idle = 964 |
28 |
right_sprite_idle = 960 |
29 |
down_sprite_idle = 963 |
30 |
left_sprite_idle = 961 |
31 |
} |
32 |
} |
33 |
if (global.dunes_flag[3] == 2) |
34 |
{ |
35 |
instance_destroy(obj_dunes_08b_mo) |
36 |
instance_destroy(obj_dunes_08b_dispenser) |
37 |
instance_destroy(obj_dunes_08b_stand) |
38 |
instance_destroy() |
39 |
} |