1 |
if (con == 0.5) |
2 |
con = 0.7; |
3 |
if (obj_mainchara.x >= 310 && con == -1) |
4 |
{ |
5 |
global.interact = 1; |
6 |
global.facing = 1; |
7 |
con = 0.5; |
8 |
} |
9 |
if (con == 0.7) |
10 |
{ |
11 |
con = (scr_sideb_get_phasescr_sideb_get_phasefunction scr_sideb_get_phase()
{
var phase = 0;
if ( global.flag[916 snowgrave_fail] == 0)
{
if ( global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if ( global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if ( global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if ( global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () == 0) ? 1 : 10; |
12 |
cutscene_master = scr_cutscene_makescr_cutscene_makefunction scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} (); |
13 |
scr_maincharacters_actorsscr_maincharacters_actorsfunction scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} (); |
14 |
be = actor_count + 1; |
15 |
be_actor = instance_create(660, 145, obj_actor); |
16 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (be, be_actor, "berdly"); |
17 |
be_actor.sprite_index = spr_berdly_walk_right_dw; |
18 |
if (con == 10) |
19 |
no_actor.sprite_index = spr_noelle_walk_right_dw; |
20 |
} |
21 |
if (con == 1) |
22 |
{ |
23 |
con = 2; |
24 |
alarm[0] = 30; |
25 |
if (!shortened) |
26 |
{ |
27 |
c_speaker("noelle"); |
28 |
c_msgsetloc(0, Face B* Uh-uh oh--Wait for inputClose Message"\\EB* Uh-uh oh--/%", "obj_ch2_city_berdly_slash_Step_0_gml_28_0" ); |
29 |
c_talk_wait(); |
30 |
} |
31 |
c_mus2("volume", 0, 30); |
32 |
c_pannable(1); |
33 |
c_panspeed_wait(6, 0, 25); |
34 |
c_sel(be); |
35 |
c_facing("l"); |
36 |
c_wait(15); |
37 |
c_emotec_emotefunction c_emote()
{
if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
} ("!", 30, 30); |
38 |
c_sprite(spr_berdly_shocked_left); |
39 |
c_sel(no); |
40 |
c_sprite(spr_noelle_shocked_dw); |
41 |
if (shortened) |
42 |
{ |
43 |
c_wait(30); |
44 |
c_waitcustom(); |
45 |
} |
46 |
else |
47 |
{ |
48 |
c_mus2("initloop", "berdly_theme.ogg", 0); |
49 |
c_speaker("berdly"); |
50 |
c_msgsetloc(0, Face N* Noelle!? What are you doing with Kris!?Wait for input"\\EN* Noelle!? What are you doing with Kris!?/", "obj_ch2_city_berdly_slash_Step_0_gml_49_0" ); |
51 |
c_facenext("noelle", "2"); |
52 |
c_msgnextloc(Face 2* Um,Delay 11 I...Delay 11 um...Delay 11 I...Delay 11 I...Wait for inputClose Message"\\E2* Um^1, I..^1. um..^1. I..^1. I.../%", "obj_ch2_city_berdly_slash_Step_0_gml_51_0" ); |
53 |
c_talk_wait(); |
54 |
c_sel(no); |
55 |
c_facing("r"); |
56 |
c_sel(be); |
57 |
c_facing("l"); |
58 |
c_speaker("noelle"); |
59 |
c_msgsetloc(0, Face R* We...Delay 11 have a truce...?Wait for inputClose Message"\\ER* We..^1. have a truce...?/%", "obj_ch2_city_berdly_slash_Step_0_gml_63_0" ); |
60 |
c_talk_wait(); |
61 |
c_sel(be); |
62 |
c_sprite(spr_berdly_shocked_left); |
63 |
c_speaker("berdly"); |
64 |
c_msgsetloc(0, Face 3* A...Delay 11 truce!? With...Delay 11 Kris?Wait for inputClose Message"\\E3* A..^1. truce!? With..^1. Kris?/%", "obj_ch2_city_berdly_slash_Step_0_gml_71_0" ); |
65 |
c_talk_wait(); |
66 |
c_sel(be); |
67 |
c_autowalk(0); |
68 |
c_sprite(spr_berdly_laugh_dw); |
69 |
c_imagespeed(0.1); |
70 |
c_speaker("berdly"); |
71 |
c_msgsetloc(0, Face 2* Hahaha!!Delay 11 That's impossible!Wait for inputClose Message"\\E2* Hahaha!^1! That's impossible!/%", "obj_ch2_city_berdly_slash_Step_0_gml_81_0" ); |
72 |
c_talk_wait(); |
73 |
c_sprite(spr_berdly_smug_point_animated); |
74 |
c_arg_objectxy(be_actor, -4, 2); |
75 |
c_setxy(x, y); |
76 |
c_speaker("berdly"); |
77 |
c_msgsetloc(0, Face 5* That would be double trucies.Wait for inputClose Message"\\E5* That would be double trucies./%", "obj_ch2_city_berdly_slash_Step_0_gml_90_0" ); |
78 |
c_talk_wait(); |
79 |
c_sel(no); |
80 |
c_sprite(spr_noelle_shocked_dw); |
81 |
c_speaker("noelle"); |
82 |
c_msgsetloc(0, Face 2* Huh?Wait for inputClose Message"\\E2* Huh?/%", "obj_ch2_city_berdly_slash_Step_0_gml_98_0" ); |
83 |
c_talk_wait(); |
84 |
c_sel(be); |
85 |
c_autowalk(1); |
86 |
c_arg_objectxy(be_actor, 4, -2); |
87 |
c_setxy(x, y); |
88 |
c_walk("l", 4, 20); |
89 |
c_panspeed_wait(-4, 0, 6); |
90 |
c_wait(10); |
91 |
c_speaker("berdly"); |
92 |
c_msgsetloc(0, Face F* Worry not,Delay 11 my dearest Noelle.Wait for input"\\EF* Worry not^1, my dearest Noelle./", "obj_ch2_city_berdly_slash_Step_0_gml_113_0" ); |
93 |
c_msgnextloc(Face 5* I know what you really want to say.Wait for inputClose Message"\\E5* I know what you really want to say./%", "obj_ch2_city_berdly_slash_Step_0_gml_114_0" ); |
94 |
c_talk_wait(); |
95 |
c_sel(no); |
96 |
c_facing("r"); |
97 |
c_speaker("noelle"); |
98 |
c_msgsetloc(0, Face 2* You....Delay 11 you do?Wait for inputClose Message"\\E2* You...^1. you do?/%", "obj_ch2_city_berdly_slash_Step_0_gml_122_0" ); |
99 |
c_talk_wait(); |
100 |
c_sel(be); |
101 |
c_facing("u"); |
102 |
c_speaker("berdly"); |
103 |
c_msgsetloc(0, Face 0* Going along with all this...Wait for input"\\E0* Going along with all this.../", "obj_ch2_city_berdly_slash_Step_0_gml_130_0" ); |
104 |
c_msgnextloc(Face 8* You feel...Delay 11 forced,Delay 11 don't you?Wait for input"\\E8* You feel..^1. forced^1, don't you?/", "obj_ch2_city_berdly_slash_Step_0_gml_131_0" ); |
105 |
c_msgnextloc(Face G* It's why you're not with Queen right now.Wait for inputClose Message"\\EG* It's why you're not with Queen right now./%", "obj_ch2_city_berdly_slash_Step_0_gml_132_0" ); |
106 |
c_talk_wait(); |
107 |
c_sel(no); |
108 |
c_sprite(spr_noelle_hand_mouth_dw); |
109 |
c_halt(); |
110 |
c_speaker("noelle"); |
111 |
c_msgsetloc(0, Face 2* Berdly...Delay 11 you get it?Wait for inputClose Message"\\E2* Berdly..^1. you get it?/%", "obj_ch2_city_berdly_slash_Step_0_gml_141_0" ); |
112 |
c_talk_wait(); |
113 |
c_sel(be); |
114 |
c_walk_wait("l", 4, 10); |
115 |
c_speaker("berdly"); |
116 |
c_msgsetloc(0, Face 5* Yes!!Delay 11 I do!!Wait for inputClose Message"\\E5* Yes!^1! I do!!/%", "obj_ch2_city_berdly_slash_Step_0_gml_149_0" ); |
117 |
c_talk_wait(); |
118 |
c_sel(no); |
119 |
c_sprite(spr_noelle_shocked_dw); |
120 |
c_sel(be); |
121 |
c_autowalk(0); |
122 |
c_sprite(spr_berdly_smug_point_animated); |
123 |
c_imagespeed(0.1); |
124 |
c_speaker("berdly"); |
125 |
c_msgsetloc(0, Face 6* Kris is FORCING you to be on THEIR side!!Wait for input"\\E6* Kris is FORCING you to be on THEIR side!!/", "obj_ch2_city_berdly_slash_Step_0_gml_163_0" ); |
126 |
c_msgnextloc(Face 2* Kidnapper!!Delay 11 Kris,Delay 11 our truce...Delay 11 is OVER!!!Wait for inputClose Message"\\E2* Kidnapper!^1! Kris^1, our truce..^1. is OVER!!!/%", "obj_ch2_city_berdly_slash_Step_0_gml_164_0" ); |
127 |
c_talk_wait(); |
128 |
c_sprite(spr_berdly_haliberd); |
129 |
c_arg_objectxy(be_actor, -64, -24); |
130 |
c_setxy(x, y); |
131 |
c_imagespeed(0.25); |
132 |
c_wait(5); |
133 |
c_soundplay(snd_weaponpull); |
134 |
c_wait(30); |
135 |
c_sprite(spr_berdlyb_idle); |
136 |
c_arg_objectxy(be_actor, 15, 24); |
137 |
c_setxy(x, y); |
138 |
c_wait(5); |
139 |
c_speaker("berdly"); |
140 |
c_msgsetloc(0, Face 6* Noelle!!Delay 11 This may hurt,Delay 11 but it's to help you!!Wait for input"\\E6* Noelle!^1! This may hurt^1, but it's to help you!!/", "obj_ch2_city_berdly_slash_Step_0_gml_179_0" ); |
141 |
c_facenext("noelle", "E"); |
142 |
c_msgnextloc(Face E* W-wait,Delay 11 just listen to me---!!!Wait for inputClose Message"\\EE* W-wait^1, just listen to me---!!!/%", "obj_ch2_city_berdly_slash_Step_0_gml_181_0" ); |
143 |
c_talk_wait(); |
144 |
c_waitcustom(); |
145 |
} |
146 |
} |
147 |
if (con == 10) |
148 |
{ |
149 |
scr_spellgetscr_spellgetfunction scr_spellget(arg0, arg1)
{
var __spellj = 0;
var __openslot = -1;
var __haveit = 0;
for (__spellj = 0; __spellj < 12; __spellj++)
{
if (global.spell[arg0][__spellj] == arg1)
__haveit = 1;
if (__openslot == -1)
{
if (global.spell[arg0][__spellj] == 0)
__openslot = __spellj;
}
}
if (__openslot >= 0 && __haveit == 0)
global.spell[arg0][__openslot] = arg1;
} (4, 10); |
150 |
global.flag[923 forgot_ring] = 1; |
151 |
if (global.charweapon[4] == 13) |
152 |
global.flag[923 forgot_ring] = 0; |
153 |
con = 99; |
154 |
c_pannable(1); |
155 |
c_panspeed_wait(6, 0, 25); |
156 |
c_sel(no); |
157 |
c_sel(be); |
158 |
c_facing("l"); |
159 |
c_wait(15); |
160 |
c_emotec_emotefunction c_emote()
{
if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
} ("!", 30); |
161 |
c_sprite(spr_berdly_walk_left_dw); |
162 |
c_speaker("berdly"); |
163 |
c_msgsetloc(0, Face 5* Noelle!Delay 11 There you are!Wait for input"\\E5* Noelle^1! There you are!/", "obj_ch2_city_berdly_slash_Step_0_gml_234_0" ); |
164 |
c_msgnextloc(Face 4* Just in time!Delay 11 We can both go back to Queen and--Wait for inputClose Message"\\E4* Just in time^1! We can both go back to Queen and--/%", "obj_ch2_city_berdly_slash_Step_0_gml_235_0" ); |
165 |
c_talk_wait(); |
166 |
c_sel(be); |
167 |
c_autowalk(1); |
168 |
c_walk_wait("l", 4, 12); |
169 |
c_wait(30); |
170 |
c_speaker("berdly"); |
171 |
c_msgsetloc(0, Face 5* ...Wait for input"\\E5* .../", "obj_ch2_city_berdly_slash_Step_0_gml_221_0" ); |
172 |
c_msgnextloc(Face 3* Noelle?Wait for input"\\E3* Noelle?/", "obj_ch2_city_berdly_slash_Step_0_gml_222_0" ); |
173 |
c_facenext("noelle", "e"); |
174 |
c_msgnextloc(Face e* Kris,Delay 11 it looks like another enemy.Wait for input"\\Ee* Kris^1, it looks like another enemy./", "obj_ch2_city_berdly_slash_Step_0_gml_251_0" ); |
175 |
c_msgnextloc(Face d* Should I freeze them?Wait for input"\\Ed* Should I freeze them?/", "obj_ch2_city_berdly_slash_Step_0_gml_252_0" ); |
176 |
c_facenext("berdly", 23); |
177 |
c_msgnextloc(Face N* N...Delay 11 Noelle?Wait for input"\\EN* N..^1. Noelle?/", "obj_ch2_city_berdly_slash_Step_0_gml_254_0" ); |
178 |
c_msgnextloc(Face N* Noelle,Delay 11 it's me,Delay 11 don't you recognize me!?Wait for inputClose Message"\\EN* Noelle^1, it's me^1, don't you recognize me!?/%", "obj_ch2_city_berdly_slash_Step_0_gml_255_0_b" ); |
179 |
c_talk(); |
180 |
c_wait_box(2); |
181 |
c_sprite(spr_berdly_walk_left_dw_shocked); |
182 |
c_wait_talk(); |
183 |
c_sel(no); |
184 |
c_sprite(spr_noelle_walk_right_sad_shocked_dw); |
185 |
c_emotec_emotefunction c_emote()
{
if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
} ("!", 30); |
186 |
c_wait(60); |
187 |
c_mus("free"); |
188 |
c_wait(1); |
189 |
c_mus2("initloop", "d.ogg", 0); |
190 |
c_speaker("noelle"); |
191 |
c_msgsetloc(0, Face B* ...!?!?Wait for input"\\EB* ...!?!?/", "obj_ch2_city_berdly_slash_Step_0_gml_268_0" ); |
192 |
c_msgnextloc(Face B* B...Delay 11 Berdly!?Wait for input"\\EB* B..^1. Berdly!?/", "obj_ch2_city_berdly_slash_Step_0_gml_269_0" ); |
193 |
c_facenext("berdly", 23); |
194 |
c_msgnextloc(Face N* Noelle,Delay 11 are you okay...?Wait for input"\\EN* Noelle^1, are you okay...?/", "obj_ch2_city_berdly_slash_Step_0_gml_271_0" ); |
195 |
c_msgnextloc(Face N* What...Delay 11 what are you doing with Kris?Wait for inputClose Message"\\EN* What..^1. what are you doing with Kris?/%", "obj_ch2_city_berdly_slash_Step_0_gml_272_0" ); |
196 |
c_talk_wait(); |
197 |
c_facing("u"); |
198 |
c_wait(60); |
199 |
c_speaker("noelle"); |
200 |
c_msgsetloc(0, Face D* I'm just, we're just...Wait for input"\\ED* I'm just, we're just.../", "obj_ch2_city_berdly_slash_Step_0_gml_283_0" ); |
201 |
c_msgnextloc(Face e* ...Wait for input"\\Ee* .../", "obj_ch2_city_berdly_slash_Step_0_gml_279_0" ); |
202 |
c_msgnextloc(Face Z* Getting...Delay 11 stronger.Wait for inputClose Message"\\EZ* Getting..^1. stronger./%", "obj_ch2_city_berdly_slash_Step_0_gml_280_0" ); |
203 |
c_talk_wait(); |
204 |
c_msc(1175); |
205 |
c_talk_wait(); |
206 |
} |
207 |
if (con == 12 && !d_ex()) |
208 |
{ |
209 |
con = 2; |
210 |
alarm[0] = 30; |
211 |
c_sel(be); |
212 |
c_speaker("berdly"); |
213 |
c_msgsetloc(0, Face N* Wh...Delay 11 what? Proceed...Delay 11 where?Wait for input"\\EN* Wh..^1. what? Proceed..^1. where?/", "obj_ch2_city_berdly_slash_Step_0_gml_285_0" ); |
214 |
c_msgnextloc(Face N* Noelle,Delay 11 what are they talking about!?Wait for input"\\EN* Noelle^1, what are they talking about!?/", "obj_ch2_city_berdly_slash_Step_0_gml_286_0" ); |
215 |
c_facenext("noelle", "Z"); |
216 |
c_msgnextloc(Face Z* ...Wait for input"\\EZ* .../", "obj_ch2_city_berdly_slash_Step_0_gml_302_0" ); |
217 |
c_facenext("berdly", "9"); |
218 |
c_msgnextloc(Face 9* Th-that's it,Delay 11 Kris!Delay 11 I don't know what you're doing...Wait for input"\\E9* Th-that's it^1, Kris^1! I don't know what you're doing.../", "obj_ch2_city_berdly_slash_Step_0_gml_304_0" ); |
219 |
c_msgnextloc(Face A* But if you're hurting my friend Noelle...Wait for inputClose Message"\\EA* But if you're hurting my friend Noelle.../%", "obj_ch2_city_berdly_slash_Step_0_gml_305_0" ); |
220 |
c_talk_wait(); |
221 |
c_autowalk(0); |
222 |
c_sprite(spr_berdly_haliberd); |
223 |
c_arg_objectxy(be_actor, -64, -24); |
224 |
c_setxy(x, y); |
225 |
c_imagespeed(0.25); |
226 |
c_wait(5); |
227 |
c_soundplay(snd_weaponpull); |
228 |
c_wait(30); |
229 |
c_imagespeed(0); |
230 |
c_speaker("berdly"); |
231 |
c_msgsetloc(0, Face B* Then I have no choice but to stop you by force!Wait for inputClose Message"\\EB* Then I have no choice but to stop you by force!/%", "obj_ch2_city_berdly_slash_Step_0_gml_318_0" ); |
232 |
c_talk_wait(); |
233 |
c_imagespeed(0.25); |
234 |
c_wait(5); |
235 |
c_sprite(spr_berdlyb_idle); |
236 |
c_arg_objectxy(be_actor, 15, 24); |
237 |
c_setxy(x, y); |
238 |
c_wait(5); |
239 |
c_speaker("berdly"); |
240 |
c_msgsetloc(0, Face A* Kris,Delay 11 ready yourself!!Wait for inputClose Message"\\EA* Kris^1, ready yourself!!/%", "obj_ch2_city_berdly_slash_Step_0_gml_315_0" ); |
241 |
c_talk_wait(); |
242 |
c_sel(no); |
243 |
c_sprite(spr_noelle_walk_right_sad_shocked_dw); |
244 |
c_speaker("noelle"); |
245 |
c_msgsetloc(0, Face X* W-wait,Delay 11 Berdly,Delay 11 stop!Wait for input"\\EX* W-wait^1, Berdly^1, stop!/", "obj_ch2_city_berdly_slash_Step_0_gml_338_0" ); |
246 |
c_msgnextloc(Face Y* Run away!Wait for inputClose Message"\\EY* Run away!/%", "obj_ch2_city_berdly_slash_Step_0_gml_339_0" ); |
247 |
c_talk_wait(); |
248 |
c_pannable(1); |
249 |
c_mus("free"); |
250 |
c_wait(1); |
251 |
c_waitcustom(); |
252 |
} |
253 |
if (con == 14 && !d_ex()) |
254 |
{ |
255 |
con = 2; |
256 |
alarm[0] = 30; |
257 |
global.spell[4][3] = 0; |
258 |
if (global.flag[915 snowgrave_plot] > 0) |
259 |
scr_sideb_failscr_sideb_failfunction scr_sideb_fail()
{
if ( global.flag[916 snowgrave_fail] == 0)
{
global.flag[916 snowgrave_fail] = 1;
if (argument_count > 0 && argument[0] == 1)
{
if ( global.flag[915 snowgrave_plot] > 0)
{
}
}
}
} (); |
260 |
c_mus("free"); |
261 |
c_sel(be); |
262 |
c_sprite(spr_berdly_shocked_left); |
263 |
c_speaker("berdly"); |
264 |
c_msgsetloc(0, Face 3* From...Delay 11 me!?Wait for inputClose Message"\\E3* From..^1. me!?/%", "obj_ch2_city_berdly_slash_Step_0_gml_345_0" ); |
265 |
c_talk_wait(); |
266 |
c_sel(no); |
267 |
c_facing("d"); |
268 |
c_speaker("noelle"); |
269 |
c_msgsetloc(0, Face 2* (Th...Delay 11 that's right,Delay 11 what was I thinking just now?)Wait for input"\\E2* (Th..^1. that's right^1, what was I thinking just now?)/", "obj_ch2_city_berdly_slash_Step_0_gml_353_0" ); |
270 |
c_msgnextloc(Face 6* (That's right...Delay 11 Kris is my friend,Delay 11 right?)Wait for inputClose Message"\\E6* (That's right..^1. Kris is my friend^1, right?)/%", "obj_ch2_city_berdly_slash_Step_0_gml_354_0" ); |
271 |
c_talk_wait(); |
272 |
c_sel(be); |
273 |
c_sprite(spr_berdly_mad_dw); |
274 |
c_speaker("berdly"); |
275 |
c_msgsetloc(0, Face 5* What absurdity!!!Delay 11 Kris!!Wait for input"\\E5* What absurdity!!^1! Kris!!/", "obj_ch2_city_berdly_slash_Step_0_gml_362_0" ); |
276 |
c_msgnextloc(Face 7* Did you leave your IQ points at home!?Wait for input"\\E7* Did you leave your IQ points at home!?/", "obj_ch2_city_berdly_slash_Step_0_gml_363_0" ); |
277 |
c_msgnextloc(Face 6* Noelle is only going to be protected BY ME!Wait for inputClose Message"\\E6* Noelle is only going to be protected BY ME!/%", "obj_ch2_city_berdly_slash_Step_0_gml_364_0" ); |
278 |
c_talk_wait(); |
279 |
c_autowalk(0); |
280 |
c_sprite(spr_berdly_haliberd); |
281 |
c_arg_objectxy(be_actor, -64, -24); |
282 |
c_setxy(x, y); |
283 |
c_imagespeed(0.25); |
284 |
c_wait(5); |
285 |
c_soundplay(snd_weaponpull); |
286 |
c_wait(30); |
287 |
c_sprite(spr_berdlyb_idle); |
288 |
c_arg_objectxy(be_actor, 15, 24); |
289 |
c_setxy(x, y); |
290 |
c_wait(5); |
291 |
c_speaker("berdly"); |
292 |
c_msgsetloc(0, Face 7* And I'll FIGHT HER to PROVE IT!Wait for inputClose Message"\\E7* And I'll FIGHT HER to PROVE IT!/%", "obj_ch2_city_berdly_slash_Step_0_gml_380_0" ); |
293 |
c_talk_wait(); |
294 |
c_sel(no); |
295 |
c_sprite(spr_noelle_shocked_dw); |
296 |
c_speaker("noelle"); |
297 |
c_msgsetloc(0, Face E* W-wait,Delay 11 just listen to me---!!!Wait for inputClose Message"\\EE* W-wait^1, just listen to me---!!!/%", "obj_ch2_city_berdly_slash_Step_0_gml_388_0" ); |
298 |
c_talk_wait(); |
299 |
c_waitcustom(); |
300 |
} |
301 |
if (con == 3 && !d_ex() && customcon == 1) |
302 |
{ |
303 |
con = 4; |
304 |
alarm[0] = 30; |
305 |
if (global.tempflag[30] == 0) |
306 |
global.tempflag[30] = 1; |
307 |
var berdly_marker = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (be_actor.x, be_actor.y, be_actor.sprite_index); |
308 |
berdly_marker.image_index = be_actor.image_index; |
309 |
berdly_marker.image_speed = be_actor.image_speed; |
310 |
global.flag[9 battle_music] = 2; |
311 |
if (scr_sideb_get_phasescr_sideb_get_phasefunction scr_sideb_get_phase()
{
var phase = 0;
if ( global.flag[916 snowgrave_fail] == 0)
{
if ( global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if ( global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if ( global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if ( global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () == 2) |
312 |
global.batmusic[0] = snd_init("berdly_battle_heartbeat_true.ogg"); |
313 |
else |
314 |
global.batmusic[0] = snd_init("berdly_chase.ogg"); |
315 |
encounterflag = 550; |
316 |
global.flag[54 encounter_pointer] = encounterflag; |
317 |
scr_battlescr_battlefunction scr_battle(arg0, arg1, arg2, arg3, arg4)
{
global.specialbattle = arg1;
global.encounterno = arg0;
if ( global.flag[9 battle_music] != 2)
{
global.flag[9 battle_music] = 1;
global.batmusic[0] = snd_init("battle.ogg");
}
instance_create(0, 0, obj_battleback);
instance_create(0, 0, obj_encounterbasic);
__enemymarker[0] = arg2;
__enemymarker[1] = arg3;
__enemymarker[2] = arg4;
for (__ien = 0; __ien < 3; __ien++)
{
if (global.monstertype[__ien] != 0 (None))
{
if (!i_ex(__enemymarker[__ien]))
{
__enemymarker[__ien] = scr_dark_marker(global.monstermakex[__ien] + 300, global.monstermakey[__ien], object_get_sprite(global.monsterinstancetype[__ien]));
__enemymarker[__ien].depth = -__ien;
}
__enemymarker[__ien].__ien = __ien;
with (__enemymarker[__ien])
{
scr_move_to_point_over_time(global.monstermakex[__ien], global.monstermakey[__ien], 20);
__doom = instance_create(x, y, obj_doom);
__doom.target = id;
__doom.alarm[0] = 25;
}
}
}
} (82, 1, berdly_marker, 0, 0); |
318 |
global.flag[9 battle_music] = 1; |
319 |
with (obj_actor) |
320 |
visible = 0; |
321 |
} |
322 |
if (con == 5 && i_ex(obj_battlecontroller)) |
323 |
{ |
324 |
var battle_end = false; |
325 |
with (obj_battlecontroller) |
326 |
{ |
327 |
if (intro == 2) |
328 |
battle_end = true; |
329 |
} |
330 |
if (battle_end) |
331 |
{ |
332 |
con = 6; |
333 |
alarm[0] = 30; |
334 |
snd_volume(global.batmusic[1], 0, 25); |
335 |
} |
336 |
} |
337 |
if (con == 7) |
338 |
{ |
339 |
con = 8; |
340 |
alarm[0] = 30; |
341 |
if (i_ex(obj_battleback)) |
342 |
{ |
343 |
with (obj_battleback) |
344 |
destroy = 1; |
345 |
} |
346 |
var used_snowgrave = i_ex(obj_npc_sign); |
347 |
if (!used_snowgrave) |
348 |
{ |
349 |
obj_mainchara.x = obj_herokris.x; |
350 |
obj_mainchara.y = obj_herokris.y; |
351 |
kr_actor.x = obj_herokris.x; |
352 |
kr_actor.y = obj_herokris.y; |
353 |
kr_actor.sprite_index = obj_herokris.sprite_index; |
354 |
no_actor.x = obj_heronoelle.x; |
355 |
no_actor.y = obj_heronoelle.y; |
356 |
no_actor.sprite_index = obj_heronoelle.sprite_index; |
357 |
be_actor.x = obj_berdlyb2_enemy.x + obj_berdlyb2_enemy.shakex; |
358 |
be_actor.y = obj_berdlyb2_enemy.y; |
359 |
be_actor.sprite_index = spr_berdly_hurt_kneel_battle; |
360 |
snd_free(global.batmusic[0]); |
361 |
snd_volume(global.currentsong[1], 0, 0); |
362 |
snd_resume(global.currentsong[1]); |
363 |
snd_volume(global.currentsong[1], 1, 20); |
364 |
} |
365 |
else |
366 |
{ |
367 |
scr_losecharscr_losecharfunction scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 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;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} (); |
368 |
if (i_ex(north_collider)) |
369 |
{ |
370 |
with (north_collider) |
371 |
instance_destroy(); |
372 |
} |
373 |
dogcone2.x -= 30; |
374 |
dogcone2.y += 35; |
375 |
dogcone1.x += 67; |
376 |
dogcone1.y += 47; |
377 |
dogcone1.image_angle -= 90; |
378 |
global.flag[349 frozen_chicken] = 1; |
379 |
global.flag[38 no_battle_end_msg] = 0; |
380 |
obj_mainchara.x = 310; |
381 |
obj_mainchara.y = 140; |
382 |
instance_create(86, 80, obj_cone); |
383 |
instance_create(126, 80, obj_cone); |
384 |
instance_create(880, 104, obj_cone); |
385 |
instance_create(880, 136, obj_cone); |
386 |
instance_create(880, 168, obj_cone); |
387 |
instance_create(880, 200, obj_cone); |
388 |
kr_actor.x = obj_mainchara.x; |
389 |
kr_actor.y = obj_mainchara.y; |
390 |
with (obj_actor) |
391 |
{ |
392 |
if (name != "kris") |
393 |
instance_destroy(); |
394 |
} |
395 |
draw_set_alpha(1); |
396 |
} |
397 |
with (obj_actor) |
398 |
visible = 1; |
399 |
if (i_ex(obj_monsterparent)) |
400 |
{ |
401 |
with (obj_monsterparent) |
402 |
instance_destroy(); |
403 |
} |
404 |
if (i_ex(obj_bulletparent)) |
405 |
{ |
406 |
with (obj_bulletparent) |
407 |
instance_destroy(); |
408 |
} |
409 |
if (i_ex(obj_heroparent)) |
410 |
{ |
411 |
with (obj_heroparent) |
412 |
instance_destroy(); |
413 |
} |
414 |
if (i_ex(obj_battlecontroller)) |
415 |
instance_destroy(obj_battlecontroller); |
416 |
} |
417 |
if (con == 9 && !i_ex(obj_battlecontroller)) |
418 |
{ |
419 |
if (global.flag[349 frozen_chicken] == 1) |
420 |
{ |
421 |
con = 30; |
422 |
} |
423 |
else |
424 |
{ |
425 |
con = (scr_sideb_get_phasescr_sideb_get_phasefunction scr_sideb_get_phase()
{
var phase = 0;
if ( global.flag[916 snowgrave_fail] == 0)
{
if ( global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if ( global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if ( global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if ( global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () == 0 || global.flag[916 snowgrave_fail] == 1) ? 49 : 19; |
426 |
alarm[0] = 30; |
427 |
c_waitcustom_end(); |
428 |
c_speaker("berdly"); |
429 |
c_msgsetloc(0, Face C* D-damn it!Wait for inputClose Message"\\EC* D-damn it!/%", "obj_ch2_city_berdly_slash_Step_0_gml_527_0" ); |
430 |
c_talk_wait(); |
431 |
c_sel(no); |
432 |
c_sprite(spr_noelle_hand_mouth_dw); |
433 |
c_halt(); |
434 |
c_speaker("noelle"); |
435 |
c_msgsetloc(0, Face 2* Berdly,Delay 11 are you okay...?Wait for input"\\E2* Berdly^1, are you okay...?/", "obj_ch2_city_berdly_slash_Step_0_gml_536_0" ); |
436 |
c_msgnextloc(Face 3* Kris,Delay 11 maybe we should have gone easier on him...Wait for inputClose Message"\\E3* Kris^1, maybe we should have gone easier on him.../%", "obj_ch2_city_berdly_slash_Step_0_gml_537_0" ); |
437 |
c_talk_wait(); |
438 |
c_sel(no); |
439 |
c_facing("r"); |
440 |
c_sel(be); |
441 |
c_autowalk(0); |
442 |
c_sprite(spr_berdly_laugh_dw); |
443 |
c_arg_objectxy(be_actor, 50, 0); |
444 |
c_setxy(x, y); |
445 |
c_imagespeed(0.15); |
446 |
c_speaker("berdly"); |
447 |
c_msgsetloc(0, Face 6* Go easier!? Ha!Delay 11 Haha!Delay 11 Hahaha!Wait for input"\\E6* Go easier!? Ha^1! Haha^1! Hahaha!/", "obj_ch2_city_berdly_slash_Step_0_gml_550_0" ); |
448 |
c_msgnextloc(Face D* The only one going easy mode,Delay 11 was me!Wait for inputClose Message"\\ED* The only one going easy mode^1, was me!/%", "obj_ch2_city_berdly_slash_Step_0_gml_551_0" ); |
449 |
c_talk_wait(); |
450 |
c_sel(no); |
451 |
c_sprite(spr_noelle_hand_mouth_dw); |
452 |
c_halt(); |
453 |
c_sel(be); |
454 |
c_halt(); |
455 |
c_speaker("noelle"); |
456 |
c_msgsetloc(0, Face 2* You look...Delay 11 Exhausted.Wait for inputClose Message"\\E2* You look..^1. Exhausted./%", "obj_ch2_city_berdly_slash_Step_0_gml_563_0" ); |
457 |
c_talk_wait(); |
458 |
c_sprite(spr_berdly_smug_point_animated); |
459 |
c_arg_objectxy(be_actor, -4, 2); |
460 |
c_setxy(x, y); |
461 |
c_imagespeed(0.1); |
462 |
c_speaker("berdly"); |
463 |
c_msgsetloc(0, Face D* I'm only tired of HOLDING BACK MY TRUE POWER!Wait for inputClose Message"\\ED* I'm only tired of HOLDING BACK MY TRUE POWER!/%", "obj_ch2_city_berdly_slash_Step_0_gml_573_0" ); |
464 |
c_talk_wait(); |
465 |
c_autowalk(1); |
466 |
c_arg_objectxy(be_actor, 4, 2); |
467 |
c_setxy(x, y); |
468 |
c_walk_wait("r", 6, 6); |
469 |
c_speaker("berdly"); |
470 |
c_msgsetloc(0, Face E* Ah,Delay 11 Noelle. It'd be too simple to save you now.Wait for input"\\EE* Ah^1, Noelle. It'd be too simple to save you now./", "obj_ch2_city_berdly_slash_Step_0_gml_583_0" ); |
471 |
c_msgnextloc(Face 7* Kris!Delay 11 Go ahead and train your strength values.Wait for input"\\E7* Kris^1! Go ahead and train your strength values./", "obj_ch2_city_berdly_slash_Step_0_gml_584_0" ); |
472 |
c_msgnextloc(Face 1* Try hard,Delay 11 and maybe someday you'll be a worthy rival.Wait for inputClose Message"\\E1* Try hard^1, and maybe someday you'll be a worthy rival./%", "obj_ch2_city_berdly_slash_Step_0_gml_585_0" ); |
473 |
c_talk_wait(); |
474 |
c_facing("u"); |
475 |
c_speaker("berdly"); |
476 |
c_msgsetloc(0, Face E* Heh!Delay 11 Sometimes I can't believe how cool I am...Wait for inputClose Message"\\EE* Heh^1! Sometimes I can't believe how cool I am.../%", "obj_ch2_city_berdly_slash_Step_0_gml_592_0" ); |
477 |
c_talk_wait(); |
478 |
c_walk_wait("r", 12, 40); |
479 |
c_mus2("volume", 0, 30); |
480 |
c_panobj(kr_actor, 30); |
481 |
c_wait(31); |
482 |
c_pannable(0); |
483 |
if (scr_sideb_get_phasescr_sideb_get_phasefunction scr_sideb_get_phase()
{
var phase = 0;
if ( global.flag[916 snowgrave_fail] == 0)
{
if ( global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if ( global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if ( global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if ( global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () == 0 || global.flag[916 snowgrave_fail] == 1) |
484 |
{ |
485 |
if (global.hp[4] < global.maxhp[4]) |
486 |
{ |
487 |
c_speaker("noelle"); |
488 |
c_msgsetloc(0, Face H* (He hit me in the face with a tornado...)Wait for inputClose Message"\\EH* (He hit me in the face with a tornado...)/%", "obj_ch2_city_berdly_slash_Step_0_gml_612_0" ); |
489 |
c_talk_wait(); |
490 |
} |
491 |
else |
492 |
{ |
493 |
c_speaker("noelle"); |
494 |
c_msgsetloc(0, Face 4* (If he would just listen to me...)Wait for inputClose Message"\\E4* (If he would just listen to me...)/%", "obj_ch2_city_berdly_slash_Step_0_gml_619_0" ); |
495 |
c_talk_wait(); |
496 |
} |
497 |
} |
498 |
} |
499 |
} |
500 |
if (con == 20) |
501 |
{ |
502 |
global.spell[4][3] = 0; |
503 |
con = 49; |
504 |
alarm[0] = 30; |
505 |
c_sel(no); |
506 |
c_facing("u"); |
507 |
c_speaker("noelle"); |
508 |
c_msgsetloc(0, Face 3* ...Wait for input"\\E3* .../", "obj_ch2_city_berdly_slash_Step_0_gml_636_0" ); |
509 |
c_msgnextloc(Face 2* Kris...?Wait for input"\\E2* Kris...?/", "obj_ch2_city_berdly_slash_Step_0_gml_637_0" ); |
510 |
c_msgnextloc(Face 3* ...Wait for input"\\E3* .../", "obj_ch2_city_berdly_slash_Step_0_gml_638_0" ); |
511 |
c_msgnextloc(Face 2* Umm,Delay 11 about just now...Wait for input"\\E2* Umm^1, about just now.../", "obj_ch2_city_berdly_slash_Step_0_gml_639_0" ); |
512 |
c_msgnextloc(Face 3* ...Wait for input"\\E3* .../", "obj_ch2_city_berdly_slash_Step_0_gml_640_0" ); |
513 |
c_msgnextloc(Face 5* (Seems like whatever was happening.)Wait for input"\\E5* (Seems like whatever was happening.)/", "obj_ch2_city_berdly_slash_Step_0_gml_641_0" ); |
514 |
c_msgnextloc(Face 8* (They snapped themselves out of it...)Wait for input"\\E8* (They snapped themselves out of it...)/", "obj_ch2_city_berdly_slash_Step_0_gml_642_0" ); |
515 |
c_msgnextloc(Face e* (Proceed...)Wait for input"\\Ee* (Proceed...)/", "obj_ch2_city_berdly_slash_Step_0_gml_643_0" ); |
516 |
c_msgnextloc(Face c* (Why...Delay 11 did they keep saying that...?)Wait for input"\\Ec* (Why..^1. did they keep saying that...?)/", "obj_ch2_city_berdly_slash_Step_0_gml_644_0" ); |
517 |
c_msgnextloc(Face 4* ...Delay 11 w-wait,Delay 11 I get it!Wait for input"\\E4* ..^1. w-wait^1, I get it!/", "obj_ch2_city_berdly_slash_Step_0_gml_645_0" ); |
518 |
c_msgnextloc(Face S* You were just trying to make Berdly mad,Delay 11 weren't you!?Wait for input"\\ES* You were just trying to make Berdly mad^1, weren't you!?/", "obj_ch2_city_berdly_slash_Step_0_gml_646_0" ); |
519 |
c_msgnextloc(Face Q* Come on,Delay 11 that's not nice,Delay 11 Kris.Wait for input"\\EQ* Come on^1, that's not nice^1, Kris./", "obj_ch2_city_berdly_slash_Step_0_gml_647_0" ); |
520 |
c_msgnextloc(Face R* ...Delay 11 Though,Delay 11 it's not like I don't understand the feeling.Wait for input"\\ER* ..^1. Though^1, it's not like I don't understand the feeling./", "obj_ch2_city_berdly_slash_Step_0_gml_648_0" ); |
521 |
c_msgnextloc(Face S* Fahahaha.Wait for input"\\ES* Fahahaha./", "obj_ch2_city_berdly_slash_Step_0_gml_649_0" ); |
522 |
c_msgnextloc(Face 8* I guess we both kind of got carried away...!Wait for input"\\E8* I guess we both kind of got carried away...!/", "obj_ch2_city_berdly_slash_Step_0_gml_650_0" ); |
523 |
c_msgnextloc(Face 8* ...Wait for input"\\E8* .../", "obj_ch2_city_berdly_slash_Step_0_gml_651_0" ); |
524 |
c_msgnextloc(Face d* (Really though,Delay 11 what...Delay 11 was I thinking?)Wait for inputClose Message"\\Ed* (Really though^1, what..^1. was I thinking?)/%", "obj_ch2_city_berdly_slash_Step_0_gml_652_0" ); |
525 |
c_talk_wait(); |
526 |
} |
527 |
if (con == 30) |
528 |
{ |
529 |
con = 49; |
530 |
alarm[0] = 30; |
531 |
c_waitcustom_end(); |
532 |
c_pannable(1); |
533 |
c_panobj(kr_actor, 20); |
534 |
c_wait(30); |
535 |
c_pannable(0); |
536 |
} |
537 |
if (con == 50 && !d_ex()) |
538 |
{ |
539 |
con = 60; |
540 |
c_actortokris(); |
541 |
if (scr_havecharscr_havecharfunction scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4)) |
542 |
c_actortocaterpillar(); |
543 |
c_terminatekillactors(); |
544 |
} |
545 |
if (con == 60 && !i_ex(obj_cutscene_master)) |
546 |
{ |
547 |
con = 99; |
548 |
global.plot = 79; |
549 |
global.interact = 0; |
550 |
global.facing = 0; |
551 |
if (!i_ex(obj_npc_sign)) |
552 |
{ |
553 |
if (global.flag[915 snowgrave_plot] > 0) |
554 |
scr_sideb_failscr_sideb_failfunction scr_sideb_fail()
{
if ( global.flag[916 snowgrave_fail] == 0)
{
global.flag[916 snowgrave_fail] = 1;
if (argument_count > 0 && argument[0] == 1)
{
if ( global.flag[915 snowgrave_plot] > 0)
{
}
}
}
} (); |
555 |
savepoint = instance_create(460, 100, obj_savepoint); |
556 |
} |
557 |
else |
558 |
{ |
559 |
savepoint = instance_create(386, 97, obj_savepoint); |
560 |
} |
561 |
with (savepoint) |
562 |
scr_depth(); |
563 |
snd_free_all(); |
564 |
scr_tempsave(); |
565 |
instance_destroy(); |
566 |
} |