1 |
dsprite = spr_papyrus_d; |
2 |
usprite = spr_papyrus_u; |
3 |
lsprite = spr_papyrus_l; |
4 |
rsprite = spr_papyrus_r; |
5 |
dtsprite = spr_papyrus_dt; |
6 |
utsprite = spr_papyrus_ut; |
7 |
ltsprite = spr_papyrus_lt; |
8 |
rtsprite = spr_papyrus_rt; |
9 |
myinteract = 0; |
10 |
facing = 0; |
11 |
direction = 270; |
12 |
talkedto = 0; |
13 |
image_speed = 0; |
14 |
fun = 0; |
15 |
dir = 0; |
16 |
rid = 0; |
17 |
if (global.flag[67 status_papyrus] == 1) |
18 |
{ |
19 |
instance_destroy(); |
20 |
exit; |
21 |
} |
22 |
if (room == room_tundra_town) |
23 |
{ |
24 |
dir = 1; |
25 |
if (global.flag[88 dated_papyrus] >= 4 && global.plot <= 105) |
26 |
{ |
27 |
instance_destroy(); |
28 |
exit; |
29 |
} |
30 |
if (global.flag[354 conversation_papyrus_calls] == 2 && global.flag[389 dated_undyne] == 0) |
31 |
{ |
32 |
instance_destroy(); |
33 |
exit; |
34 |
} |
35 |
if (global.flag[7 true_pacifist] == 1) |
36 |
{ |
37 |
instance_destroy(); |
38 |
exit; |
39 |
} |
40 |
if (global.flag[389 dated_undyne] >= 3) |
41 |
instance_create(x - 34, y - 14, obj_undyne_friendc); |
42 |
} |
43 |
if (room == room_water_undyneyard) |
44 |
{ |
45 |
d = 0; |
46 |
if (global.flag[354 conversation_papyrus_calls] < 2) |
47 |
d = 1; |
48 |
if (global.flag[88 dated_papyrus] < 4) |
49 |
d = 1; |
50 |
if (global.flag[389 dated_undyne] > 0) |
51 |
d = 1; |
52 |
if (d == 1) |
53 |
{ |
54 |
instance_destroy(); |
55 |
exit; |
56 |
} |
57 |
} |