1 |
choicetimer = 0; |
2 |
flush = 0; |
3 |
con = 0; |
4 |
if (room == room_town_mid) |
5 |
{ |
6 |
if (global.flag[271 talk_pizzapants] == 0) |
7 |
{ |
8 |
bnpc = instance_create(x, y, obj_npc_room_animated); |
9 |
bnpc.sprite_index = spr_npc_icemascot1; |
10 |
} |
11 |
else |
12 |
{ |
13 |
bnpc = instance_create(x + 7, y + 4, obj_npc_room); |
14 |
bnpc.sprite_index = spr_npc_burgerpants; |
15 |
} |
16 |
} |
17 |
if (room == room_town_south) |
18 |
{ |
19 |
policewindow = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (292, 57, spr_policewindow); |
20 |
with (policewindow) |
21 |
depth = 940000; |
22 |
} |
23 |
if (room == room_graveyard) |
24 |
{ |
25 |
overlay = instance_create(0, 0, obj_backgrounder_sprite); |
26 |
with (obj_mainchara) |
27 |
bg = 1; |
28 |
with (overlay) |
29 |
{ |
30 |
image_alpha = 0.4; |
31 |
ss = 0.1; |
32 |
sprite_index = spr_graveyard_overlay; |
33 |
depth = 1000; |
34 |
} |
35 |
} |