1 |
d = 0; |
2 |
housesprite = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (30, -24, spr_undynehouse_normal); |
3 |
with (housesprite) |
4 |
depth = 950000; |
5 |
door = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (130, 40, spr_undynehousemouth); |
6 |
with (door) |
7 |
depth = 900000; |
8 |
with (door) |
9 |
image_speed = 0; |
10 |
if (global.flag[389 dated_undyne] >= 2) |
11 |
{ |
12 |
with (housesprite) |
13 |
sprite_index = spr_undynehouse_fire; |
14 |
with (housesprite) |
15 |
image_speed = 0.2; |
16 |
with (door) |
17 |
visible = false; |
18 |
} |
19 |
if (global.flag[354 conversation_papyrus_calls] == 2 && global.flag[67 status_papyrus] == 0 && global.flag[88 dated_papyrus] >= 3 && global.flag[389 dated_undyne] <= 2) |
20 |
{ |
21 |
papyrus = instance_create(140, 80, obj_papyrus_room); |
22 |
with (papyrus) |
23 |
sprite_index = spr_papyrus_dt; |
24 |
} |
25 |
if (global.plot < 122) |
26 |
d = 1; |
27 |
if (global.flag[354 conversation_papyrus_calls] < 2) |
28 |
d = 1; |
29 |
if (global.flag[67 status_papyrus] == 1) |
30 |
d = 1; |
31 |
if (global.flag[88 dated_papyrus] < 4) |
32 |
d = 1; |
33 |
if (global.flag[350 status_undyne] == 1) |
34 |
d = 1; |
35 |
if (global.flag[350 status_undyne] == 2) |
36 |
d = 1; |
37 |
if (global.flag[389 dated_undyne] >= 2) |
38 |
d = 1; |
39 |
if (global.kills > 0) |
40 |
d = 1; |
41 |
if (d == 1) |
42 |
{ |
43 |
instance_destroy(); |
44 |
exit; |
45 |
} |
46 |
if (d == 0) |
47 |
{ |
48 |
global.flag[20 animation_index] = 0; |
49 |
global.currentsong = caster_load("music/undynepiano.ogg"); |
50 |
caster_loop(global.currentsong, 0.8, 0.8); |
51 |
with (obj_knock_room) |
52 |
instance_destroy(); |
53 |
} |
54 |
con = 0; |