1 |
myinteract = 0; |
2 |
image_speed = 0; |
3 |
setdepth = 1; |
4 |
read = 0; |
5 |
if (global.darkzone == 1) |
6 |
{ |
7 |
image_xscale = 2; |
8 |
image_yscale = 2; |
9 |
} |
10 |
if (room == room_cc_prison_cells_ch1) |
11 |
{ |
12 |
sprite_index = spr_ironshackle_ch1; |
13 |
image_index = 0; |
14 |
if (global.flag[105 got_iron_shackle] == 1) |
15 |
image_index = 1; |
16 |
} |
17 |
if (room == room_cc_prison2_ch1) |
18 |
{ |
19 |
sprite_index = spr_npc_originalstarwalker_ch1; |
20 |
if (global.flag[254 starwalker] == 0) |
21 |
instance_destroy(); |
22 |
} |
23 |
if (room == room_cc_throneroom_ch1) |
24 |
{ |
25 |
if (x >= 220 && x <= 400) |
26 |
sprite_index = spr_darkthrone_ch1; |
27 |
else |
28 |
sprite_index = spr_darkmoney_ch1; |
29 |
} |
30 |
if (room == room_flowershop_2f_ch1) |
31 |
{ |
32 |
sprite_index = spr_flowercontainer_ch1; |
33 |
num = 0; |
34 |
colortxt = ; |
35 |
if (x > 170) |
36 |
{ |
37 |
num = 1; |
38 |
colortxt = ; |
39 |
if (y > 110) |
40 |
{ |
41 |
num = 5; |
42 |
colortxt = ; |
43 |
} |
44 |
if (y > 130) |
45 |
{ |
46 |
num = 6; |
47 |
colortxt = ; |
48 |
} |
49 |
} |
50 |
if (x < 140) |
51 |
{ |
52 |
num = 2; |
53 |
colortxt = ; |
54 |
if (y > 110) |
55 |
{ |
56 |
num = 3; |
57 |
colortxt = ; |
58 |
} |
59 |
if (y > 130) |
60 |
{ |
61 |
num = 4; |
62 |
colortxt = ; |
63 |
} |
64 |
} |
65 |
image_index = num; |
66 |
} |
67 |
if (room == room_town_north_ch1) |
68 |
{ |
69 |
sprite_index = spr_npc_asgoretruck_ch1; |
70 |
setdepth = 0; |
71 |
depth = 700000; |
72 |
} |
73 |
if (room == room_beach_ch1) |
74 |
sprite_index = spr_npc_beachtable_ch1; |
75 |
if (room == room_town_krisyard_ch1) |
76 |
sprite_index = spr_torcar_u_ch1; |
77 |
if (setdepth == 1) |
78 |
scr_depth_ch1(); |