1 |
myinteract = 0; |
2 |
mychip = instance_create(x + sprite_width, y, obj_npc_marker); |
3 |
mychip.image_index = 0; |
4 |
mychip.depth = depth + 1; |
5 |
mychip.sprite_index = spr_chipdoor_chippart; |
6 |
mychip.image_speed = 0; |
7 |
mychip.visible = true; |
8 |
image_speed = 0.2; |
9 |
if (global.flag[374 completed_shoot_puzzle1] == 1 && room == room_fire7) |
10 |
sprite_index = spr_chipdoor_green; |
11 |
if (global.flag[399 completed_shoot_puzzle3] == 1 && room == room_fire_walkandbranch2) |
12 |
sprite_index = spr_chipdoor_green; |
13 |
did = 0; |
14 |
if (global.plot > 132 && room == room_fire7) |
15 |
did = 1; |
16 |
if (global.plot > 163 && room == room_fire_walkandbranch2) |
17 |
did = 1; |
18 |
if (did == 1) |
19 |
{ |
20 |
event_user(1); |
21 |
x -= 20; |
22 |
} |