1 |
if (con == 1) |
2 |
{ |
3 |
if (obj_mainchara_ch1.x >= (x - 80) && global.interact == 0) |
4 |
{ |
5 |
global.facing = 2; |
6 |
with (obj_caterpillarchara_ch1) |
7 |
{ |
8 |
fun = 1; |
9 |
sprite_index = spr_ralseiu_ch1; |
10 |
} |
11 |
global.interact = 1; |
12 |
global.fc = 1; |
13 |
global.fe = 9; |
14 |
global.typer = 30; |
15 |
global.msg[0] = * Ugh, open up you stupid door!Wait for inputClose Message ; |
16 |
instance_create_ch1(0, 0, obj_dialoguer_ch1); |
17 |
con = 2; |
18 |
} |
19 |
} |
20 |
if (con == 2 && d_ex_ch1() == 0) |
21 |
{ |
22 |
sprite_index = spr_susied_dark_ch1; |
23 |
instance_create_ch1(x + (sprite_width / 2), y - 30, obj_excblcon_ch1); |
24 |
con = 3; |
25 |
alarm[4] = 30; |
26 |
} |
27 |
if (con == 4) |
28 |
{ |
29 |
global.fe = 0; |
30 |
global.msg[0] = * Oh, great. * It's YOU GUYS.Wait for input ; |
31 |
scr_ralface_ch1(1, 6); |
32 |
global.msg[2] = * Susie!Delay 11 * We were ever so worried about you!Wait for input ; |
33 |
global.msg[3] = \E1* ... um,Delay 11 how'd you get past those spikes before?Wait for input ; |
34 |
scr_susface_ch1(4, 1); |
35 |
global.msg[5] = * Walked through 'em.Wait for input ; |
36 |
global.msg[6] = \E0* But this door...Delay 11 * Sucks.Wait for input ; |
37 |
scr_ralface_ch1(7, 8); |
38 |
global.msg[8] = * Aww,Delay 11 don't worry,Delay 11 Susie!Wait for input ; |
39 |
global.msg[9] = \E0* It'll open after we solve the puzzle over there!Wait for input ; |
40 |
scr_susface_ch1(10, 1); |
41 |
global.msg[11] = * Nice.Delay 11 * Tell me when you finish it.Wait for input ; |
42 |
scr_ralface_ch1(12, 1); |
43 |
global.msg[13] = * Uh,Delay 11 Susie.Delay 11 * We need YOU to finish it.Wait for input ; |
44 |
global.msg[14] = \E8* Sometimes,Delay 11 proceeding will take all 3 of us.Wait for input ; |
45 |
global.msg[15] = \E1* Furthermore,Delay 11 only Kris can seal the DARK FOUNTAIN...Wait for input ; |
46 |
global.msg[16] = \E6* So if you don't accompany us,Delay 11 you won't make it home!Wait for input ; |
47 |
scr_susface_ch1(17, 0); |
48 |
global.msg[18] = ; |
49 |
global.msg[19] = * So you're saying I HAVE to stick with you guys.Wait for input ; |
50 |
scr_ralface_ch1(20, 8); |
51 |
global.msg[21] = ; |
52 |
scr_susface_ch1(22, 0); |
53 |
global.msg[23] = * ...Wait for inputClose Message ; |
54 |
con = 3.1; |
55 |
instance_create_ch1(0, 0, obj_dialoguer_ch1); |
56 |
} |
57 |
if (con == 3.1 && d_ex_ch1() == 0) |
58 |
{ |
59 |
walkcon = 1; |
60 |
vspeed = 5; |
61 |
image_speed = 0.2; |
62 |
con = 3.2; |
63 |
} |
64 |
if (con == 3.2) |
65 |
{ |
66 |
if (y >= 200) |
67 |
{ |
68 |
sprite_index = spr_susiel_dark_ch1; |
69 |
hspeed = -5; |
70 |
con = 3.3; |
71 |
vspeed = 0; |
72 |
} |
73 |
} |
74 |
if (con == 3.3) |
75 |
{ |
76 |
if (instance_exists(obj_caterpillarchara_ch1)) |
77 |
{ |
78 |
if (x <= (obj_caterpillarchara_ch1.x - 60)) |
79 |
{ |
80 |
sprite_index = spr_susier_dark_ch1; |
81 |
hspeed = 0; |
82 |
image_speed = 0; |
83 |
image_index = 0; |
84 |
global.facing = 3; |
85 |
with (obj_caterpillarchara_ch1) |
86 |
sprite_index = spr_ralseil_ch1; |
87 |
con = 3.4; |
88 |
alarm[4] = 30; |
89 |
} |
90 |
} |
91 |
} |
92 |
if (con == 4.4) |
93 |
{ |
94 |
global.fe = 0; |
95 |
global.msg[0] = * Let's just get this over with.Wait for input ; |
96 |
scr_ralface_ch1(1, 8); |
97 |
global.msg[2] = * Yahoo!Delay 11 Susie's back on the team!Delay 11 * Cue the fanfare!Wait for inputClose Message ; |
98 |
instance_create_ch1(0, 0, obj_dialoguer_ch1); |
99 |
con = 5; |
100 |
} |
101 |
if (con == 7) |
102 |
{ |
103 |
global.currentsong[1] = mus_play_ch1(global.currentsong[0]); |
104 |
global.fc = 0; |
105 |
global.typer = 51; |
106 |
global.msg[0] = * Susie joined the party! Close MessageClose Message ; |
107 |
d = instance_create_ch1(0, 0, obj_dialoguer_ch1); |
108 |
d.skippable = 0; |
109 |
con = 8; |
110 |
alarm[4] = 340; |
111 |
} |
112 |
if (con == 6) |
113 |
{ |
114 |
global.currentsong[0] = snd_init_ch1("fanfare.ogg"); |
115 |
con = 7; |
116 |
} |
117 |
if (con == 5 && d_ex_ch1() == 0) |
118 |
{ |
119 |
snd_free_all_ch1(); |
120 |
con = 6; |
121 |
} |
122 |
if (con == 9 && d_ex_ch1() == 0) |
123 |
{ |
124 |
global.typer = 30; |
125 |
global.fc = 1; |
126 |
global.fe = 8; |
127 |
global.msg[0] = * ...Wait for inputClose Message ; |
128 |
con = 10; |
129 |
instance_create_ch1(0, 0, obj_dialoguer_ch1); |
130 |
} |
131 |
if (con == 10 && d_ex_ch1() == 0) |
132 |
{ |
133 |
walkcon = 1; |
134 |
hspeed = -1; |
135 |
image_speed = 0.1; |
136 |
sprite_index = spr_susiel_dark_ch1; |
137 |
global.currentsong[1] = mus_play_ch1(global.currentsong[0]); |
138 |
snd_pitch_ch1(global.currentsong[1], 0.95); |
139 |
global.fc = 0; |
140 |
global.typer = 52; |
141 |
global.msg[0] = * Susie follows at a distance such that no one can tell she's associated! Close MessageClose Message ; |
142 |
d = instance_create_ch1(0, 0, obj_dialoguer_ch1); |
143 |
d.skippable = 0; |
144 |
con = 12; |
145 |
alarm[4] = 320; |
146 |
} |
147 |
if (walkcon == 1) |
148 |
scr_depth_ch1(); |
149 |
if (con == 13 && d_ex_ch1() == 0) |
150 |
{ |
151 |
snd_free_all_ch1(); |
152 |
scr_losechar_ch1scr_losechar_ch1function scr_losechar_ch1()
{
global.char[2] = 0;
global.char[1] = 0;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
with (obj_darkcontroller_ch1)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
} (); |
153 |
scr_getchar_ch1scr_getchar_ch1function scr_getchar_ch1(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller_ch1)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
} (3); |
154 |
scr_getchar_ch1scr_getchar_ch1function scr_getchar_ch1(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller_ch1)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
} (2); |
155 |
if (global.plot < 37) |
156 |
global.plot = 37; |
157 |
global.facing = 0; |
158 |
with (obj_caterpillarchara_ch1) |
159 |
fun = 0; |
160 |
global.interact = 0; |
161 |
con = 14; |
162 |
} |
163 |
if (rcon == 1 && obj_mainchara_ch1.x >= 80 && global.interact == 0) |
164 |
{ |
165 |
global.interact = 1; |
166 |
global.typer = 31; |
167 |
global.fc = 2; |
168 |
global.fe = 3; |
169 |
global.msg[0] = * (Oh,Delay 11 Kris! I just realized Susie missed the tutorial!)Wait for input ; |
170 |
global.msg[1] = \E8* (Next battle,Delay 11 we should show her how to ACT!)Wait for input ; |
171 |
global.msg[2] = \E0* (I think she might really enjoy that!)Wait for inputClose Message ; |
172 |
if (global.flag[205 tutorial_end] == 0) |
173 |
{ |
174 |
global.msg[0] = * (Oh,Delay 11 Kris! Susie never got a tutorial either!)Wait for input ; |
175 |
global.msg[1] = \E8* (Next battle,Delay 11 we should show her how to ACT!)Wait for input ; |
176 |
global.msg[2] = \E0* (I think she might really enjoy that!)Wait for inputClose Message ; |
177 |
} |
178 |
rcon = 2; |
179 |
instance_create_ch1(0, 0, obj_dialoguer_ch1); |
180 |
} |
181 |
if (rcon == 2 && d_ex_ch1() == 0) |
182 |
{ |
183 |
rcon = 3; |
184 |
global.interact = 0; |
185 |
if (global.plot < 39) |
186 |
global.plot = 39; |
187 |
} |