1 |
choicetimer = 0; |
2 |
flush = 0; |
3 |
con = 0; |
4 |
if (room == room_town_mid_ch1) |
5 |
{ |
6 |
if (global.flag[271 talk_pizzapants] == 0) |
7 |
{ |
8 |
bnpc = instance_create_ch1(x, y, obj_npc_room_animated_ch1); |
9 |
bnpc.sprite_index = spr_npc_icemascot1_ch1; |
10 |
} |
11 |
else |
12 |
{ |
13 |
bnpc = instance_create_ch1(x + 7, y + 4, obj_npc_room_ch1); |
14 |
bnpc.sprite_index = spr_npc_burgerpants_ch1; |
15 |
} |
16 |
} |
17 |
if (room == room_town_south_ch1) |
18 |
{ |
19 |
policewindow = scr_marker_ch1scr_marker_ch1function scr_marker_ch1(arg0, arg1, arg2)
{
thismarker = instance_create_ch1(arg0, arg1, obj_marker_ch1);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (292, 57, spr_policewindow_ch1); |
20 |
with (policewindow) |
21 |
depth = 940000; |
22 |
} |
23 |
if (room == room_graveyard_ch1) |
24 |
{ |
25 |
overlay = instance_create_ch1(0, 0, obj_backgrounder_sprite_ch1); |
26 |
with (obj_mainchara_ch1) |
27 |
bg = 1; |
28 |
with (overlay) |
29 |
{ |
30 |
image_alpha = 0.4; |
31 |
ss = 0.1; |
32 |
sprite_index = spr_graveyard_overlay_ch1; |
33 |
depth = 1000; |
34 |
} |
35 |
} |