1 |
if (myinteract == 3) |
2 |
{ |
3 |
if (global.flag[20 manual_face_sprite] == 0) |
4 |
{ |
5 |
sprite_index = spr_npc_puzzlepiece; |
6 |
image_speed = 0.2; |
7 |
} |
8 |
if (global.flag[20 manual_face_sprite] == 1) |
9 |
{ |
10 |
sprite_index = spr_npc_puzzlepiece_shock1; |
11 |
image_speed = 0.25; |
12 |
} |
13 |
if (global.flag[20 manual_face_sprite] == 2) |
14 |
{ |
15 |
sprite_index = spr_npc_puzzlepiece_shock2; |
16 |
image_speed = 0.334; |
17 |
} |
18 |
} |
19 |
if (con == 5 && !d_ex()) |
20 |
{ |
21 |
with (pwall) |
22 |
instance_destroy(); |
23 |
hspeed = -8; |
24 |
con = 6; |
25 |
alarm[4] = 30; |
26 |
} |
27 |
if (con == 7) |
28 |
{ |
29 |
global.facing = 0; |
30 |
global.interact = 0; |
31 |
con = 8; |
32 |
global.flag[215 talked_joe] = 1; |
33 |
instance_destroy(); |
34 |
} |
35 |
if (myinteract == 3 && con == 0) |
36 |
{ |
37 |
if (i_ex(mydialoguer) == false) |
38 |
{ |
39 |
global.interact = 0; |
40 |
myinteract = 0; |
41 |
with (obj_mainchara) |
42 |
onebuffer = 5; |
43 |
} |
44 |
} |
45 |
if (lecturecon == 0) |
46 |
{ |
47 |
if (instance_exists(obj_mainchara)) |
48 |
{ |
49 |
if (obj_mainchara.y <= 270 && global.interact == 0) |
50 |
{ |
51 |
global.interact = 1; |
52 |
lecturecon = 1; |
53 |
global.fc = 2; |
54 |
global.fe = 1; |
55 |
global.typer = 31; |
56 |
global.msg[0] = stringsetloc(* Um,Delay 11 Susie,Delay 11 I suppose you missed what I said earlier...Wait for input"* Um^1, Susie^1, I suppose you missed what I said earlier.../", "obj_npc_puzzlemaster1_slash_Step_0_gml_60_0" ); |
57 |
global.msg[1] = stringsetloc(Face 0* As heroes,Delay 11 we have the power to make a peaceful future.Wait for input"\\E0* As heroes^1, we have the power to make a peaceful future./", "obj_npc_puzzlemaster1_slash_Step_0_gml_61_0" ); |
58 |
global.msg[2] = stringsetloc(Face 8* So,Delay 11 from now on,Delay 11 let's try to avoid FIGHTing,Delay 11 OK?Wait for input"\\E8* So^1, from now on^1, let's try to avoid FIGHTing^1, OK?/", "obj_npc_puzzlemaster1_slash_Step_0_gml_62_0" ); |
59 |
scr_susfacescr_susfacefunction scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (3, 0); |
60 |
global.msg[4] = stringsetloc(* ...Wait for input"* .../", "obj_npc_puzzlemaster1_slash_Step_0_gml_64_0" ); |
61 |
scr_ralfacescr_ralfacefunction scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (5, 6); |
62 |
global.msg[6] = stringsetloc(* Umm,Delay 11 what if you just took it easy on them...?Wait for input"* Umm^1, what if you just took it easy on them...?/", "obj_npc_puzzlemaster1_slash_Step_0_gml_66_0" ); |
63 |
global.msg[7] = stringsetloc(Face 1* If you weaken an enemy,Delay 11 I can use my PACIFY spell.Wait for input"\\E1* If you weaken an enemy^1, I can use my PACIFY spell./", "obj_npc_puzzlemaster1_slash_Step_0_gml_67_0" ); |
64 |
global.msg[8] = stringsetloc(Face 8* Which,Delay 11 can put exhausted people to sleep!Wait for input"\\E8* Which^1, can put exhausted people to sleep!/", "obj_npc_puzzlemaster1_slash_Step_0_gml_68_0" ); |
65 |
scr_susfacescr_susfacefunction scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (9, 2); |
66 |
global.msg[10] = stringsetloc(* Yawn...Delay 11 yeah,Delay 11 you talking is already doing that.Wait for input"* Yawn..^1. yeah^1, you talking is already doing that./", "obj_npc_puzzlemaster1_slash_Step_0_gml_70_0" ); |
67 |
scr_ralfacescr_ralfacefunction scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (11, 8); |
68 |
global.msg[12] = stringsetloc(* Well,Delay 11 um,Delay 11 just think about it!Wait for input"* Well^1, um^1, just think about it!/", "obj_npc_puzzlemaster1_slash_Step_0_gml_72_0" ); |
69 |
global.msg[13] = stringsetloc(Face 1* (We might have to WARN enemies about her,Delay 11 Kris...)Wait for inputClose Message"\\E1* (We might have to WARN enemies about her^1, Kris...)/%", "obj_npc_puzzlemaster1_slash_Step_0_gml_73_0" ); |
70 |
d_make(); |
71 |
} |
72 |
} |
73 |
} |
74 |
if (lecturecon == 1) |
75 |
{ |
76 |
if (!d_ex()) |
77 |
{ |
78 |
lecturecon = 10; |
79 |
global.interact = 0; |
80 |
if (global.plot < 42) |
81 |
global.plot = 42; |
82 |
} |
83 |
} |