|
1
|
if (con == 1)
|
|
2
|
{
|
|
3
|
if (obj_mainchara.x >= (x - 80) && global.interact == 0)
|
|
4
|
{
|
|
5
|
global.facing = 2;
|
|
6
|
with (obj_caterpillarchara)
|
|
7
|
{
|
|
8
|
fun = 1;
|
|
9
|
sprite_index = spr_ralseiu;
|
|
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(0, 0, obj_dialoguer);
|
|
17
|
con = 2;
|
|
18
|
}
|
|
19
|
}
|
|
20
|
if (con == 2 && d_ex() == 0)
|
|
21
|
{
|
|
22
|
sprite_index = spr_susied_dark;
|
|
23
|
instance_create(x + (sprite_width / 2), y - 30, obj_excblcon);
|
|
24
|
con = 3;
|
|
25
|
alarm[4] = 30; gml_Object_obj_getsusieevent_Alarm_4.gml
con += 1;
|
|
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_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (1, 6);
|
|
32
|
global.msg[2] = * Susie!Delay 11 * We were ever so worried about you!Wait for input ;
|
|
33
|
global.msg[3] = Face 1* ... um,Delay 11 how'd you get past those spikes before?Wait for input ;
|
|
34
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (4, 1);
|
|
35
|
global.msg[5] = * Walked through 'em.Wait for input ;
|
|
36
|
global.msg[6] = Face 0* But this door...Delay 11 * Sucks.Wait for input ;
|
|
37
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (7, 8);
|
|
38
|
global.msg[8] = * Aww,Delay 11 don't worry,Delay 11 Susie!Wait for input ;
|
|
39
|
global.msg[9] = Face 0* It'll open after we solve the puzzle over there!Wait for input ;
|
|
40
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (10, 1);
|
|
41
|
global.msg[11] = * Nice.Delay 11 * Tell me when you finish it.Wait for input ;
|
|
42
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (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] = Face 8* Sometimes,Delay 11 proceeding will take all 3 of us.Wait for input ;
|
|
45
|
global.msg[15] = Face 1* Furthermore,Delay 11 only Kris can seal the DARK FOUNTAIN...Wait for input ;
|
|
46
|
global.msg[16] = Face 6* So if you don't accompany us,Delay 11 you won't make it home!Wait for input ;
|
|
47
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (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_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (20, 8);
|
|
51
|
global.msg[21] = ;
|
|
52
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (22, 0);
|
|
53
|
global.msg[23] = * ...Wait for inputClose Message ;
|
|
54
|
con = 3.1;
|
|
55
|
instance_create(0, 0, obj_dialoguer);
|
|
56
|
}
|
|
57
|
if (con == 3.1 && d_ex() == 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;
|
|
69
|
hspeed = -5;
|
|
70
|
con = 3.3;
|
|
71
|
vspeed = 0;
|
|
72
|
}
|
|
73
|
}
|
|
74
|
if (con == 3.3)
|
|
75
|
{
|
|
76
|
if (instance_exists(obj_caterpillarchara))
|
|
77
|
{
|
|
78
|
if (x <= (obj_caterpillarchara.x - 60))
|
|
79
|
{
|
|
80
|
sprite_index = spr_susier_dark;
|
|
81
|
hspeed = 0;
|
|
82
|
image_speed = 0;
|
|
83
|
image_index = 0;
|
|
84
|
global.facing = 3;
|
|
85
|
with (obj_caterpillarchara)
|
|
86
|
sprite_index = spr_ralseil;
|
|
87
|
con = 3.4;
|
|
88
|
alarm[4] = 30; gml_Object_obj_getsusieevent_Alarm_4.gml
con += 1;
|
|
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_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (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(0, 0, obj_dialoguer);
|
|
99
|
con = 5;
|
|
100
|
}
|
|
101
|
if (con == 7)
|
|
102
|
{
|
|
103
|
global.currentsong[1] = mus_play(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(0, 0, obj_dialoguer);
|
|
108
|
d.skippable = 0;
|
|
109
|
con = 8;
|
|
110
|
alarm[4] = 340; gml_Object_obj_getsusieevent_Alarm_4.gml
con += 1;
|
|
111
|
}
|
|
112
|
if (con == 6)
|
|
113
|
{
|
|
114
|
global.currentsong[0] = snd_init("fanfare.ogg");
|
|
115
|
con = 7;
|
|
116
|
}
|
|
117
|
if (con == 5 && d_ex() == 0)
|
|
118
|
{
|
|
119
|
snd_free_all();
|
|
120
|
con = 6;
|
|
121
|
}
|
|
122
|
if (con == 9 && d_ex() == 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(0, 0, obj_dialoguer);
|
|
130
|
}
|
|
131
|
if (con == 10 && d_ex() == 0)
|
|
132
|
{
|
|
133
|
walkcon = 1;
|
|
134
|
hspeed = -1;
|
|
135
|
image_speed = 0.1;
|
|
136
|
sprite_index = spr_susiel_dark;
|
|
137
|
global.currentsong[1] = mus_play(global.currentsong[0]);
|
|
138
|
snd_pitch(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(0, 0, obj_dialoguer);
|
|
143
|
d.skippable = 0;
|
|
144
|
con = 12;
|
|
145
|
alarm[4] = 320; gml_Object_obj_getsusieevent_Alarm_4.gml
con += 1;
|
|
146
|
}
|
|
147
|
if (walkcon == 1)
|
|
148
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
149
|
if (con == 13 && d_ex() == 0)
|
|
150
|
{
|
|
151
|
snd_free_all();
|
|
152
|
scr_losecharscr_losechar
function scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
with (obj_darkcontroller)
{
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;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} ();
|
|
153
|
scr_getcharscr_getchar
function scr_getchar(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)
{
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_getcharscr_getchar
function scr_getchar(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)
{
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)
|
|
159
|
fun = 0;
|
|
160
|
global.interact = 0;
|
|
161
|
con = 14;
|
|
162
|
}
|
|
163
|
if (rcon == 1 && obj_mainchara.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] = Face 8* (Next battle,Delay 11 we should show her how to ACT!)Wait for input ;
|
|
171
|
global.msg[2] = Face 0* (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] = Face 8* (Next battle,Delay 11 we should show her how to ACT!)Wait for input ;
|
|
176
|
global.msg[2] = Face 0* (I think she might really enjoy that!)Wait for inputClose Message ;
|
|
177
|
}
|
|
178
|
rcon = 2;
|
|
179
|
instance_create(0, 0, obj_dialoguer);
|
|
180
|
}
|
|
181
|
if (rcon == 2 && d_ex() == 0)
|
|
182
|
{
|
|
183
|
rcon = 3;
|
|
184
|
global.interact = 0;
|
|
185
|
if (global.plot < 39)
|
|
186
|
global.plot = 39;
|
|
187
|
}
|