1 |
if (con == 1 && obj_mainchara.x >= 540) |
2 |
{ |
3 |
con = 99; |
4 |
global.interact = 1; |
5 |
} |
6 |
if (con == 99 && obj_mainchara.x >= 540) |
7 |
{ |
8 |
global.interact = 1; |
9 |
global.facing = 2; |
10 |
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;
} (); |
11 |
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;
}
}
}
} (); |
12 |
kr_actor.sprite_index = spr_krisr_dark; |
13 |
su_actor.sprite_index = spr_susie_walk_right_dw; |
14 |
no = actor_count + 1; |
15 |
no_actor = instance_create(950, 208, 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);
}
} (no, no_actor, "noelle"); |
17 |
no_actor.sprite_index = spr_noelle_kneel; |
18 |
no_actor.specialsprite[5] = spr_noelle_kneel_shocked; |
19 |
no_actor.specialsprite[6] = spr_noelle_shocked_dw; |
20 |
qu = actor_count + 2; |
21 |
qu_actor = instance_create(725, 273, obj_actor_queenchair); |
22 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (qu, qu_actor, "queen"); |
23 |
qu_actor.visible = 0; |
24 |
qu_actor.shadow = 0; |
25 |
qu_actor.auto_depth = 0; |
26 |
qu_actor.depth = 1000300; |
27 |
with (qu_actor) |
28 |
fakeshadow.visible = 0; |
29 |
qu_flame = actor_count + 8; |
30 |
qu_flame_actor = 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;
} (qu_actor.x, cameray() + view_hport[0] + 200, spr_queen_chair_flame); |
31 |
qu_flame_actor.visible = 0; |
32 |
qu_flame_actor.auto_depth = 0; |
33 |
qu_flame_actor.depth = qu_actor.depth + 100; |
34 |
ca = actor_count + 3; |
35 |
ca_actor = instance_create(camerax() + 900, no_actor.y - 46, obj_ch2_capsule); |
36 |
ca_actor.visible = 0; |
37 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (ca, ca_actor, "capsule"); |
38 |
npc1 = actor_count + 4; |
39 |
npc1_actor = 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;
} (npc1_o.x, npc1_o.y, spr_plugboy_cower); |
40 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (npc1, npc1_actor, "npc1"); |
41 |
with (npc1_actor) |
42 |
scr_depth(); |
43 |
npc2 = actor_count + 5; |
44 |
npc2_actor = 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;
} (npc2_o.x, npc2_o.y, spr_plugboy_cower); |
45 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (npc2, npc2_actor, "npc2"); |
46 |
with (npc2_actor) |
47 |
scr_depth(); |
48 |
wire1 = actor_count + 6; |
49 |
wire1_actor = 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;
} (npc2_o.x, npc1_o.y - 400, spr_plugboy_plug); |
50 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (wire1, wire1_actor, "wire1"); |
51 |
wire2 = actor_count + 7; |
52 |
wire2_actor = 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;
} (npc2_o.x, npc2_o.y - 400, spr_plugboy_plug); |
53 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (wire2, wire2_actor, "wire1"); |
54 |
scr_actor_setup_nofacingscr_actor_setup_nofacingfunction scr_actor_setup_nofacing(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
_actorinstance.name = _actorname;
} (qu_flame, qu_flame_actor, "qu_flame"); |
55 |
with (obj_npc_room) |
56 |
instance_destroy(); |
57 |
c_mus2("volume", 0, 30); |
58 |
c_speaker("noelle"); |
59 |
c_fefc(0, 0); |
60 |
c_msgsetloc(0, * Somebody help me...Wait for inputClose Message"* Somebody help me.../%", "obj_ch2_scene9_slash_Step_0_gml_74_0" ); |
61 |
c_talk_wait(); |
62 |
c_pannable(1); |
63 |
c_panc_panfunction c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (470, 0, 40); |
64 |
c_sel(qu_flame); |
65 |
c_setxy(qu_actor.x, qu_actor.y - 80); |
66 |
c_imagespeed(0.25); |
67 |
c_stickto(qu_actor, 100); |
68 |
c_sel(kr); |
69 |
c_delayfacing(21, "r"); |
70 |
c_walkdirect(600, 200, 20); |
71 |
c_sel(su); |
72 |
c_facing("susieunhappy"); |
73 |
c_delayfacing(21, "r"); |
74 |
c_walkdirect(540, 223, 20); |
75 |
c_wait(50); |
76 |
c_msgsetloc(0, * Somebody, please...Wait for inputClose Message"* Somebody, please.../%", "obj_ch2_scene9_slash_Step_0_gml_93_0" ); |
77 |
c_talk_wait(); |
78 |
c_sel(no); |
79 |
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);
} ("!", 20); |
80 |
c_specialsprite(5); |
81 |
c_imagespeed(0); |
82 |
c_imageindex(0); |
83 |
c_autowalk(0); |
84 |
c_wait(20); |
85 |
c_mus("free_all"); |
86 |
c_speaker("noelle"); |
87 |
c_msgsetloc(0, Face E* Susie!?Wait for inputClose Message"\\EE* Susie!?/%", "obj_ch2_scene9_slash_Step_0_gml_104_0" ); |
88 |
c_talk_wait(); |
89 |
c_imageindex(1); |
90 |
c_msgsetloc(0, Face 3* Cool that you're here, just...Wait for inputClose Message"\\E3* Cool that you're here, just.../%", "obj_ch2_scene9_slash_Step_0_gml_107_0" ); |
91 |
c_talk_wait(); |
92 |
c_imageindex(0); |
93 |
c_msgsetloc(0, Face B* Wait, get out of here before it's too late!Wait for inputClose Message"\\EB* Wait, get out of here before it's too late!/%", "obj_ch2_scene9_slash_Step_0_gml_110_0" ); |
94 |
c_talk_wait(); |
95 |
c_sel(ca); |
96 |
c_visible(1); |
97 |
c_sel(su); |
98 |
c_delaywalkdirect(80, 814, 179, 20); |
99 |
c_sel(kr); |
100 |
c_delaywalkdirect(80, 707, 194, 20); |
101 |
c_waitcustom(); |
102 |
c_speaker("susie"); |
103 |
c_msgside("bottom"); |
104 |
c_msgsetloc(0, Face Z* NOELLE!Wait for inputClose Message"\\EZ* NOELLE!/%", "obj_ch2_scene9_slash_Step_0_gml_120_0" ); |
105 |
c_talk_wait(); |
106 |
c_wait(21); |
107 |
c_mus2("initloop", "queen_intro.ogg", 0); |
108 |
c_sel(su); |
109 |
c_facing("u"); |
110 |
c_sel(kr); |
111 |
c_facing("u"); |
112 |
c_sel(qu); |
113 |
c_autowalk(0); |
114 |
c_sprite(spr_queen_chair_ohoho_1); |
115 |
c_imagespeed(0.1); |
116 |
c_visible(1); |
117 |
c_sel(qu_flame); |
118 |
c_visible(1); |
119 |
c_sel(qu); |
120 |
c_walkdirect_wait(qu_actor.x, 90, 180); |
121 |
c_autodepth(1); |
122 |
c_wait(52); |
123 |
c_mus("free"); |
124 |
c_wait(10); |
125 |
c_wait(2); |
126 |
c_sprite(spr_queen_chair_swish_wine); |
127 |
c_imagespeed(0.1); |
128 |
c_mus2("initloop", "queen.ogg", 0); |
129 |
c_msgside("bottom"); |
130 |
c_speaker("queen"); |
131 |
c_msgsetloc(0, Face 0* Hell Of A Study SessionWait for input"\\E0* Hell Of A Study Session/", "obj_ch2_scene9_slash_Step_0_gml_151_0" ); |
132 |
c_facenext("susie", 17); |
133 |
c_msgnextloc(Face H* Who the hell are you!?Wait for input"\\EH* Who the hell are you!?/", "obj_ch2_scene9_slash_Step_0_gml_153_0" ); |
134 |
c_facenext("queen", 0); |
135 |
c_msgnextloc(Face 2* I Am Known As Serial Number Q5U4EX7YY2E9NWait for input"\\E2* I Am Known As Serial Number Q5U4EX7YY2E9N/", "obj_ch2_scene9_slash_Step_0_gml_155_0" ); |
136 |
c_msgnextloc(Face 0* But You Foolish Children May Call MeWait for inputClose Message"\\E0* But You Foolish Children May Call Me/%", "obj_ch2_scene9_slash_Step_0_gml_156_0" ); |
137 |
c_talk_wait(); |
138 |
c_sel(qu); |
139 |
c_sprite(spr_queen_chair_drink_wine); |
140 |
c_imageindex(0); |
141 |
c_imagespeed(0.05); |
142 |
c_wait(50); |
143 |
c_imagespeed(0); |
144 |
c_wait(15); |
145 |
c_sprite(spr_queen_chair_pose); |
146 |
c_imagespeed(0.1); |
147 |
c_var_instance(id, "screenmax", 2); |
148 |
c_speaker("queen"); |
149 |
c_msgsetloc(0, Face 1* "Queen"Wait for inputClose Message"\\E1* \"Queen\"/%", "obj_ch2_scene9_slash_Step_0_gml_172_0" ); |
150 |
c_talk_wait(); |
151 |
c_sprite(spr_queen_chair_swish_wine); |
152 |
c_speaker("susie"); |
153 |
c_sel(su); |
154 |
c_autowalk(0); |
155 |
c_sprite(spr_cutscene_09_susie_point); |
156 |
c_imagespeed(0); |
157 |
c_msgsetloc(0, Face 2* Heh,Delay 11 like we're gonna call YOU "Queen,Delay 11"Wait for inputClose Message"\\E2* Heh^1, like we're gonna call YOU \"Queen^1,\"/%", "obj_ch2_scene9_slash_Step_0_gml_181_0" ); |
158 |
c_talk_wait(); |
159 |
c_sprite(spr_cutscene_09_susie_point2); |
160 |
c_msgsetloc(0, Face K* "Q5U....3...7..." uh,Delay 11Wait for inputClose Message"\\EK* \"Q5U....3...7...\" uh^1,/%", "obj_ch2_scene9_slash_Step_0_gml_184_0" ); |
161 |
c_talk_wait(); |
162 |
c_sel(qu); |
163 |
c_sprite(spr_queen_chair_pose); |
164 |
c_var_instance(id, "screenmax", 4); |
165 |
c_wait(30); |
166 |
c_speaker("queen"); |
167 |
c_msgsetloc(0, Face 0* "Queen"Wait for inputClose Message"\\E0* \"Queen\"/%", "obj_ch2_scene9_slash_Step_0_gml_192_0" ); |
168 |
c_sprite(spr_queen_chair_swish_wine); |
169 |
c_talk_wait(); |
170 |
c_sel(su); |
171 |
c_sprite(spr_cutscene_09_susie_point); |
172 |
c_shakeobj(); |
173 |
c_speaker("susie"); |
174 |
c_msgsetloc(0, Face 5* Well LOOK,Delay 11 "Queen." We're not "children!"Wait for inputClose Message"\\E5* Well LOOK^1, \"Queen.\" We're not \"children!\"/%", "obj_ch2_scene9_slash_Step_0_gml_200_0" ); |
175 |
c_talk_wait(); |
176 |
c_var_instance(id, "screencon", 1); |
177 |
c_wait(1); |
178 |
c_var_instance(id, "screenmax", 7); |
179 |
c_wait(5); |
180 |
c_speaker("queen"); |
181 |
scr_smallfacescr_smallfacefunction scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
{
if (arg4 == "top")
... (0, "queen", 1, "mid", "bottom", stringsetloc(And Adults Are Even Bigger Children"And Adults Are Even Bigger Children", "obj_ch2_scene9_slash_Step_0_gml_208_0" )); |
182 |
c_msgsetloc(0, Face 1* Teens Are Merely Big Children Mini text 0 Wait for inputClose Message"\\E1* Teens Are Merely Big Children \\f0 /%", "obj_ch2_scene9_slash_Step_0_gml_209_0" ); |
183 |
c_talk_wait(); |
184 |
c_speaker("susie"); |
185 |
c_sprite(spr_cutscene_09_susie_point2); |
186 |
c_msgsetloc(0, Face K* ...Delay 11 doesn't that make you a child too then?Wait for inputClose Message"\\EK* ..^1. doesn't that make you a child too then?/%", "obj_ch2_scene9_slash_Step_0_gml_213_0" ); |
187 |
c_talk_wait(); |
188 |
c_var_instance(id, "screenmax", 10); |
189 |
c_wait(2); |
190 |
c_sprite(spr_cutscene_09_susie_point); |
191 |
c_speaker("queen"); |
192 |
c_msgsetloc(0, Face Q* No I Am: A Computer (Smart)Wait for inputClose Message"\\EQ* No I Am: A Computer (Smart)/%", "obj_ch2_scene9_slash_Step_0_gml_220_0" ); |
193 |
c_talk_wait(); |
194 |
c_sprite(spr_cutscene_09_susie_point2); |
195 |
c_speaker("susie"); |
196 |
c_msgsetloc(0, Face 6* ...Delay 11 computer?Wait for inputClose Message"\\E6* ..^1. computer?/%", "obj_ch2_scene9_slash_Step_0_gml_225_0" ); |
197 |
c_talk_wait(); |
198 |
c_var_instance(id, "screencon", 1); |
199 |
c_speaker("queen"); |
200 |
c_sel(qu); |
201 |
c_walkdirect(qu_actor.x, -180, 15); |
202 |
c_msgsetloc(0, Face D* Well Thank You For The Stimuli But I Must Leave Now (Goodbye)Wait for inputClose Message"\\ED* Well Thank You For The Stimuli But I Must Leave Now (Goodbye)/%", "obj_ch2_scene9_slash_Step_0_gml_233_0" ); |
203 |
c_talk(); |
204 |
c_wait(15); |
205 |
c_waittalk(); |
206 |
c_sel(su); |
207 |
c_sprite(spr_cutscene_09_susie_point); |
208 |
c_walk("u", 6, 4); |
209 |
c_speaker("susie"); |
210 |
c_msgsetloc(0, Face 5* Wait!Delay 11 WAIT!!Delay 11 Why'd you capture Noelle!?Wait for inputClose Message"\\E5* Wait^1! WAIT!^1! Why'd you capture Noelle!?/%", "obj_ch2_scene9_slash_Step_0_gml_243_0" ); |
211 |
c_talk_wait(); |
212 |
c_delaywalk(20, "d", 3, 8); |
213 |
c_sel(qu); |
214 |
c_walkdirect_wait(qu_actor.x, 90, 30); |
215 |
c_speaker("queen"); |
216 |
c_msgsetloc(0, Face O* I Would Have Captured You Too But I Ran Out Of CagesWait for inputClose Message"\\EO* I Would Have Captured You Too But I Ran Out Of Cages/%", "obj_ch2_scene9_slash_Step_0_gml_252_0" ); |
217 |
c_talk_wait(); |
218 |
c_sel(su); |
219 |
c_sprite(spr_cutscene_09_susie_exasperated); |
220 |
c_shakeobj(); |
221 |
c_speaker("susie"); |
222 |
c_msgsetloc(0, Face H* Why the CAPTURING!?Wait for inputClose Message"\\EH* Why the CAPTURING!?/%", "obj_ch2_scene9_slash_Step_0_gml_258_0" ); |
223 |
c_talk_wait(); |
224 |
c_var_instance(id, "screenmax", 11); |
225 |
c_facing("u"); |
226 |
c_sel(qu); |
227 |
c_speaker("queen"); |
228 |
c_msgsetloc(0, Face 0* So That She May Become My Willing PeonWait for inputClose Message"\\E0* So That She May Become My Willing Peon/%", "obj_ch2_scene9_slash_Step_0_gml_264_0" ); |
229 |
c_talk_wait(); |
230 |
c_sprite(spr_queen_chair_pose); |
231 |
c_msgsetloc(0, Face 6* In My Quest For World DominationWait for inputClose Message"\\E6* In My Quest For World Domination/%", "obj_ch2_scene9_slash_Step_0_gml_267_0" ); |
232 |
c_var_instance(id, "screenmax", 16); |
233 |
c_talk_wait(); |
234 |
c_sprite(spr_queen_chair_swish_wine); |
235 |
c_msgsetloc(0, Face 9* Also Maybe I Will Make Her Face Into A Robot One?Wait for inputClose Message"\\E9* Also Maybe I Will Make Her Face Into A Robot One?/%", "obj_ch2_scene9_slash_Step_0_gml_271_0" ); |
236 |
c_var_instance(id, "screenmax", 18); |
237 |
c_talk_wait(); |
238 |
c_sel(su); |
239 |
c_shakeobj(); |
240 |
c_sprite(spr_cutscene_09_susie_shock); |
241 |
c_speaker("susie"); |
242 |
c_msgsetloc(0, Face 5* What!? Why!?Wait for inputClose Message"\\E5* What!? Why!?/%", "obj_ch2_scene9_slash_Step_0_gml_278_0" ); |
243 |
c_talk_wait(); |
244 |
c_sel(qu); |
245 |
c_sprite(spr_queen_chair_ohoho_1); |
246 |
c_imagespeed(0.1); |
247 |
c_speaker("queen"); |
248 |
c_msgsetloc(0, Face Q* Seems CoolWait for input"\\EQ* Seems Cool/", "obj_ch2_scene9_slash_Step_0_gml_285_0" ); |
249 |
c_facenext("susie", 4); |
250 |
c_msgnextloc(Face 4* Well,Delay 11 FORGET it,Delay 11 dude.Wait for inputClose Message"\\E4* Well^1, FORGET it^1, dude./%", "obj_ch2_scene9_slash_Step_0_gml_287_0" ); |
251 |
c_talk_wait(); |
252 |
c_sel(su); |
253 |
c_sprite(spr_cutscene_09_susie_point); |
254 |
c_shakeobj(); |
255 |
c_sel(qu); |
256 |
c_sprite(spr_queen_chair_swish_wine); |
257 |
c_imagespeed(0.1); |
258 |
c_speaker("susie"); |
259 |
c_msgsetloc(0, Face 4* Nobody's turning anyone's face into a robot!Wait for input"\\E4* Nobody's turning anyone's face into a robot!/", "obj_ch2_scene9_slash_Step_0_gml_297_0" ); |
260 |
c_facenext("queen", 14); |
261 |
c_msgnextloc(Face E* Could That Be A Statement Of Animous DissensionWait for input"\\EE* Could That Be A Statement Of Animous Dissension/", "obj_ch2_scene9_slash_Step_0_gml_299_0" ); |
262 |
c_facenext("susie", 6); |
263 |
c_msgnextloc(Face 6* Huh?Wait for input"\\E6* Huh?/", "obj_ch2_scene9_slash_Step_0_gml_301_0" ); |
264 |
c_facenext("queen", 1); |
265 |
c_msgnextloc(Face 1* You Wanna Fight,Delay 11 LoserWait for inputClose Message"\\E1* You Wanna Fight^1, Loser/%", "obj_ch2_scene9_slash_Step_0_gml_303_0" ); |
266 |
c_talk_wait(); |
267 |
c_sel(su); |
268 |
c_sprite(spr_susieb_attack); |
269 |
c_imagespeed(0.25); |
270 |
c_var_instance(id, "susieattackcon", 1); |
271 |
c_speaker("susie"); |
272 |
c_msgsetloc(0, Face H* YES!!!Delay 11 YES ALREADY,Delay 11 YES!!!Wait for inputClose Message"\\EH* YES!!^1! YES ALREADY^1, YES!!!/%", "obj_ch2_scene9_slash_Step_0_gml_310_0" ); |
273 |
c_talk_wait(); |
274 |
c_imagespeed(0); |
275 |
c_imageindex(3); |
276 |
c_sel(qu); |
277 |
c_var_instance(id, "screencon", 1); |
278 |
c_speaker("queen"); |
279 |
c_msgsetloc(0, Face 1* Oh Then ByeWait for inputClose Message"\\E1* Oh Then Bye/%", "obj_ch2_scene9_slash_Step_0_gml_318_0" ); |
280 |
c_walkdirect(qu_actor.x + 400, 90, 40); |
281 |
c_sel(kr); |
282 |
c_facing("r"); |
283 |
c_talk_wait(); |
284 |
c_sel(su); |
285 |
c_imagespeed(1); |
286 |
c_speaker("susie"); |
287 |
c_msgsetloc(0, Face 5* WAIT!Delay 11 A GODDAMN!Delay 11 SECOND!!Wait for input"\\E5* WAIT^1! A GODDAMN^1! SECOND!!/", "obj_ch2_scene9_slash_Step_0_gml_327_0" ); |
288 |
c_facenext("queen", 0); |
289 |
c_msgnextloc(* I Have No Time For Such Frivolities (And Would Kick Your Ass)Wait for input"* I Have No Time For Such Frivolities (And Would Kick Your Ass)/", "obj_ch2_scene9_slash_Step_0_gml_329_0" ); |
290 |
c_msgnextloc(Face 1* But Perhaps Someone Else Could Entertain YouWait for inputClose Message"\\E1* But Perhaps Someone Else Could Entertain You/%", "obj_ch2_scene9_slash_Step_0_gml_330_0" ); |
291 |
c_talk_wait(); |
292 |
c_var_instance(id, "susieattackcon", 0); |
293 |
c_sel(su); |
294 |
c_facing("r"); |
295 |
c_imageindex(0); |
296 |
c_imagespeed(0); |
297 |
c_sel(npc1); |
298 |
c_setxy(npc2_actor.x, npc1_actor.y); |
299 |
c_sel(npc2); |
300 |
c_setxy(npc2_actor.x + 50, npc2_actor.y); |
301 |
c_pan_wait(280, 0, 20); |
302 |
c_mus2("volume", 0, 60); |
303 |
c_sel(su); |
304 |
c_facing("l"); |
305 |
c_sel(kr); |
306 |
c_facing("l"); |
307 |
c_var_instance(id, "wirecon", 1); |
308 |
c_sel(su); |
309 |
c_sprite(spr_susie_shock); |
310 |
c_wait(60); |
311 |
c_panc_panfunction c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (620, 0, 30); |
312 |
c_wait(5); |
313 |
c_var_instance(id, "funcon", 1); |
314 |
c_wait(5); |
315 |
c_sel(kr); |
316 |
c_facing("r"); |
317 |
c_autofacing(0); |
318 |
c_sel(su); |
319 |
c_facing("r"); |
320 |
c_autofacing(0); |
321 |
xx = 620; |
322 |
yy = 0; |
323 |
c_sel(npc1); |
324 |
c_setxy((xx + 480) - 200, -320); |
325 |
c_walkdirect((xx + 480) - 200, 120, 30); |
326 |
c_sel(npc2); |
327 |
c_setxy(xx + 440, -210); |
328 |
c_walkdirect(xx + 440, 170, 30); |
329 |
c_sel(wire1); |
330 |
c_setxy((xx + 480 + 2) - 200, -320); |
331 |
c_walkdirect((xx + 480) - 200, 124, 30); |
332 |
c_sel(wire2); |
333 |
c_setxy(xx + 440 + 2, -210); |
334 |
c_walkdirect(xx + 440, 174, 30); |
335 |
c_wait(10); |
336 |
c_sel(npc1); |
337 |
c_animate(18, 23, 0.5); |
338 |
c_sel(npc2); |
339 |
c_animate(18, 23, 0.5); |
340 |
c_wait(60); |
341 |
c_speaker("queen"); |
342 |
c_msgsetloc(0, * Enjoy: Your AssimilationWait for inputClose Message"* Enjoy: Your Assimilation/%", "obj_ch2_scene9_slash_Step_0_gml_415_0" ); |
343 |
c_mus("free"); |
344 |
c_talk_wait(); |
345 |
c_actortokris(); |
346 |
c_actortocaterpillar(); |
347 |
con = 2; |
348 |
} |
349 |
if (screencon == 1) |
350 |
{ |
351 |
with (obj_queenscreen) |
352 |
dismiss = 1; |
353 |
screencon = 2; |
354 |
} |
355 |
if (susieattackcon == 1) |
356 |
{ |
357 |
if (su_actor.image_index == 1) |
358 |
snd_play(snd_laz_c); |
359 |
} |
360 |
if (customcon == 1 && con == 2) |
361 |
{ |
362 |
ca_actor.depth = 5000; |
363 |
ca_actor.hspeed = -8; |
364 |
if (ca_actor.x <= (no_actor.x - 12)) |
365 |
{ |
366 |
ca_actor.x = no_actor.x - 16; |
367 |
with (ca_actor) |
368 |
{ |
369 |
hspeed = 0; |
370 |
con = 1; |
371 |
} |
372 |
customtimer = 0; |
373 |
customcon = 2; |
374 |
} |
375 |
} |
376 |
if (customcon == 2 && con == 2) |
377 |
{ |
378 |
customtimer++; |
379 |
if (customtimer == 14) |
380 |
{ |
381 |
with (su_actor) |
382 |
sprite_index = spr_susie_shock_r; |
383 |
with (no_actor) |
384 |
sprite_index = spr_noelle_shocked_dw; |
385 |
} |
386 |
if (customtimer == 49) |
387 |
{ |
388 |
snd_play(snd_spearappear); |
389 |
with (ca_actor) |
390 |
gravity = -1; |
391 |
with (no_actor) |
392 |
gravity = -1; |
393 |
c_waitcustom_end(); |
394 |
customcon = 3; |
395 |
} |
396 |
} |
397 |
if (funcon == 1) |
398 |
{ |
399 |
global.encounterno = 53; |
400 |
scr_encountersetupscr_encountersetupfunction scr_encountersetup(arg0)
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
for (i = 0; i < 3; i += 1)
{
global.heromakex[i] = xx + 80;
global.heromakey[i] = yy + 50 + (80 * i);
global.monsterinstancetype[i] = obj_baseenemy;
global.monstertype[i] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[i] = xx + 500 + (20 * i);
global.monstermakey[i] = yy + 40 + (90 * i);
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0)
global.heromakey[0] = yy + 140;
if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0)
{
global.heromakey[0] = yy + 100;
global.heromakey[1] = yy + 180;
}
global.battlemsg[0] = stringsetloc( * It is known."* It is known.", "scr_encountersetup_slash_scr_encountersetup_gml_34_0" );
switch (arg0)
{
case 0:
break;
case 1:
global.monsterinstancetype[0] = obj_baseenemy;
global.monstertype[0] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_baseenemy;
global.monstertype[1] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Test enemies showed up."* Test enemies showed up.", "scr_encountersetup_slash_scr_encountersetup_gml_60_0" );
break;
case 2:
global.monsterinstancetype[0] = obj_lancerboss;
global.monstertype[0] = 2 Lancer;
global.monstermakex[0] = xx + 540;
global.monstermakey[0] = yy + 200;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 3:
global.monsterinstancetype[0] = obj_dummyenemy;
global.monstertype[0] = 3 Dummy;
global.monstermakex[0] = xx + 500;
global.monstermakey[0] = yy + 160;
if (instance_exists(obj_npc_room))
{
global.monstermakex[0] = obj_npc_room.xstart;
global.monstermakey[0] = obj_npc_room.ystart;
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 4:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 140;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn drew near!"* Rudinn drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_98_0" );
if ( global.flag[500 times_rudinn_fought] >= 1)
global.battlemsg[0] = stringsetloc( * A different Rudinn from last time drew near!"* A different Rudinn from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_99_0" );
if ( global.flag[500 times_rudinn_fought] == 2)
global.battlemsg[0] = stringsetloc( * Assumedly another different Rudinn appeared!"* Assumedly another different Rudinn appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_100_0" );
break;
case 5:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_diamondenemy;
global.monstertype[1] = 5 Rudinn;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * A necklace of Rudinns blocks your path."* A necklace of Rudinns blocks your path.", "scr_encountersetup_slash_scr_encountersetup_gml_116_0" );
break;
case 6:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_heartenemy;
global.monstertype[1] = 6 Hathy;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn and Hathy blocked the way!"* Rudinn and Hathy blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_132_0" );
break;
case 7:
global.monsterinstancetype[0] = obj_smallcheckers_enemy;
global.monstertype[0] = 9 C.Round;
global.monstermakex[0] = xx + 440;
... (global.encounterno); |
401 |
funcon = 2; |
402 |
} |
403 |
if (wirecon == 1) |
404 |
{ |
405 |
with (obj_marker) |
406 |
{ |
407 |
if (sprite_index == spr_plugboy_cower) |
408 |
sprite_index = spr_plugboy_shock; |
409 |
if (sprite_index == spr_plugboy_plug) |
410 |
sprite_index = spr_werewire_plug_vertical; |
411 |
image_index = 1; |
412 |
} |
413 |
wire1_actor.x = npc1_actor.x + 20; |
414 |
wire1_actor.y = npc1_actor.y - 300; |
415 |
wire2_actor.x = npc2_actor.x + 20; |
416 |
wire2_actor.y = npc2_actor.y - 300; |
417 |
with (wire1_actor) |
418 |
{ |
419 |
gravity = 1; |
420 |
depth = -400; |
421 |
} |
422 |
with (wire2_actor) |
423 |
{ |
424 |
gravity = 1; |
425 |
depth = -400; |
426 |
} |
427 |
wirecon = 2; |
428 |
} |
429 |
if (wirecon == 2) |
430 |
{ |
431 |
if (wire1_actor.y >= (npc1_actor.y + 10)) |
432 |
{ |
433 |
wire1_actor.gravity = 0; |
434 |
wire1_actor.vspeed = 0; |
435 |
wire2_actor.gravity = 0; |
436 |
wire2_actor.vspeed = 0; |
437 |
wire1_actor.y = npc1_actor.y + 20; |
438 |
wire2_actor.y = npc2_actor.y + 20; |
439 |
snd_play(snd_grab); |
440 |
with (npc1_actor) |
441 |
scr_shakeobjscr_shakeobjfunction scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} (); |
442 |
with (npc2_actor) |
443 |
scr_shakeobjscr_shakeobjfunction scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} (); |
444 |
wirecon = 3; |
445 |
wiretimer = 0; |
446 |
} |
447 |
} |
448 |
if (wirecon == 3) |
449 |
{ |
450 |
wiretimer++; |
451 |
if (wiretimer >= 8) |
452 |
{ |
453 |
with (obj_marker) |
454 |
gravity = -2; |
455 |
wirecon = 4; |
456 |
wiretimer = 0; |
457 |
} |
458 |
} |
459 |
if (wirecon == 4) |
460 |
{ |
461 |
if (wire1_actor.y <= -140) |
462 |
{ |
463 |
with (obj_marker) |
464 |
{ |
465 |
vspeed = 0; |
466 |
gravity = 0; |
467 |
if (sprite_index == spr_werewire_plug_vertical) |
468 |
sprite_index = spr_plugboy_plug; |
469 |
if (sprite_index == spr_plugboy_shock) |
470 |
sprite_index = spr_plugboy_transform; |
471 |
} |
472 |
wirecon = 5; |
473 |
wiretimer = 0; |
474 |
} |
475 |
} |
476 |
if (wirecon == 5) |
477 |
{ |
478 |
wiretimer++; |
479 |
if (wiretimer == 70) |
480 |
{ |
481 |
snd_play(snd_electric_talk); |
482 |
wiretimer = 0; |
483 |
wirecon++; |
484 |
} |
485 |
} |
486 |
if (con == 2 && !instance_exists(obj_cutscene_master)) |
487 |
{ |
488 |
global.specialbattle = 3; |
489 |
global.flag[9 battle_music] = 1; |
490 |
global.batmusic[0] = snd_init("battle.ogg"); |
491 |
instance_create(0, 0, obj_battleback); |
492 |
instance_create(0, 0, obj_encounterbasic); |
493 |
encounterflag = 552; |
494 |
global.flag[54 encounter_pointer] = encounterflag; |
495 |
global.encounterno = 53; |
496 |
scr_encountersetupscr_encountersetupfunction scr_encountersetup(arg0)
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
for (i = 0; i < 3; i += 1)
{
global.heromakex[i] = xx + 80;
global.heromakey[i] = yy + 50 + (80 * i);
global.monsterinstancetype[i] = obj_baseenemy;
global.monstertype[i] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[i] = xx + 500 + (20 * i);
global.monstermakey[i] = yy + 40 + (90 * i);
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0)
global.heromakey[0] = yy + 140;
if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0)
{
global.heromakey[0] = yy + 100;
global.heromakey[1] = yy + 180;
}
global.battlemsg[0] = stringsetloc( * It is known."* It is known.", "scr_encountersetup_slash_scr_encountersetup_gml_34_0" );
switch (arg0)
{
case 0:
break;
case 1:
global.monsterinstancetype[0] = obj_baseenemy;
global.monstertype[0] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_baseenemy;
global.monstertype[1] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Test enemies showed up."* Test enemies showed up.", "scr_encountersetup_slash_scr_encountersetup_gml_60_0" );
break;
case 2:
global.monsterinstancetype[0] = obj_lancerboss;
global.monstertype[0] = 2 Lancer;
global.monstermakex[0] = xx + 540;
global.monstermakey[0] = yy + 200;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 3:
global.monsterinstancetype[0] = obj_dummyenemy;
global.monstertype[0] = 3 Dummy;
global.monstermakex[0] = xx + 500;
global.monstermakey[0] = yy + 160;
if (instance_exists(obj_npc_room))
{
global.monstermakex[0] = obj_npc_room.xstart;
global.monstermakey[0] = obj_npc_room.ystart;
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 4:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 140;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn drew near!"* Rudinn drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_98_0" );
if ( global.flag[500 times_rudinn_fought] >= 1)
global.battlemsg[0] = stringsetloc( * A different Rudinn from last time drew near!"* A different Rudinn from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_99_0" );
if ( global.flag[500 times_rudinn_fought] == 2)
global.battlemsg[0] = stringsetloc( * Assumedly another different Rudinn appeared!"* Assumedly another different Rudinn appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_100_0" );
break;
case 5:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_diamondenemy;
global.monstertype[1] = 5 Rudinn;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * A necklace of Rudinns blocks your path."* A necklace of Rudinns blocks your path.", "scr_encountersetup_slash_scr_encountersetup_gml_116_0" );
break;
case 6:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_heartenemy;
global.monstertype[1] = 6 Hathy;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn and Hathy blocked the way!"* Rudinn and Hathy blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_132_0" );
break;
case 7:
global.monsterinstancetype[0] = obj_smallcheckers_enemy;
global.monstertype[0] = 9 C.Round;
global.monstermakex[0] = xx + 440;
... (global.encounterno); |
497 |
with (obj_actor) |
498 |
{ |
499 |
if (name == "queen") |
500 |
{ |
501 |
sprite_index = spr_queen_chair_ohoho_1; |
502 |
hspeed = 6; |
503 |
} |
504 |
} |
505 |
with (npc1_actor) |
506 |
{ |
507 |
depth = -100; |
508 |
scr_move_to_point_over_time(global.monstermakex[0] - 2, global.monstermakey[0] - 34, 15); |
509 |
depth += 20; |
510 |
} |
511 |
with (wire1_actor) |
512 |
{ |
513 |
depth = -200; |
514 |
scr_move_to_point_over_time(global.monstermakex[0] - 2, global.monstermakey[0] - 34, 15); |
515 |
depth += 20; |
516 |
} |
517 |
with (npc2_actor) |
518 |
{ |
519 |
depth = -100; |
520 |
scr_move_to_point_over_time(global.monstermakex[1] - 2, global.monstermakey[1] - 34, 15); |
521 |
} |
522 |
with (wire2_actor) |
523 |
{ |
524 |
depth = -200; |
525 |
scr_move_to_point_over_time(global.monstermakex[1] - 2, global.monstermakey[1] - 34, 15); |
526 |
} |
527 |
con = 3; |
528 |
alarm[4] = 25; |
529 |
} |
530 |
if (con == 4) |
531 |
{ |
532 |
with (obj_actor) |
533 |
instance_destroy(); |
534 |
with (obj_marker) |
535 |
instance_destroy(); |
536 |
con = 5; |
537 |
alarm[4] = 30; |
538 |
} |
539 |
if (con == 6 && !instance_exists(obj_battlecontroller)) |
540 |
{ |
541 |
global.interact = 1; |
542 |
con = 8.5; |
543 |
alarm[4] = 30; |
544 |
obj_mainchara.cutscene = 1; |
545 |
obj_mainchara.x = 707; |
546 |
obj_mainchara.y = 194; |
547 |
obj_caterpillarchara.x = 814; |
548 |
obj_caterpillarchara.y = 176; |
549 |
camerax_set(620); |
550 |
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;
}
}
}
} (); |
551 |
scr_getcharscr_getcharfunction 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;
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;
}
}
}
} (2); |
552 |
scr_getcharscr_getcharfunction 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;
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;
}
}
}
} (3); |
553 |
global.cinstance[1] = scr_makecaterpillarscr_makecaterpillarfunction scr_makecaterpillar(arg0, arg1, arg2, arg3)
{
global.cinstance[arg3] = instance_create(arg0, arg1, obj_caterpillarchara);
global.cinstance[arg3].target = 12 + (arg3 * 12);
if (arg2 == 3)
{
with (global.cinstance[arg3])
{
usprite = spr_ralseiu;
dsprite = spr_ralseid;
rsprite = spr_ralseir;
lsprite = spr_ralseil;
if (global.chapter >= 2)
{
name = "ralsei";
usprite = spr_ralsei_walk_up;
dsprite = spr_ralsei_walk_down;
rsprite = spr_ralsei_walk_right;
lsprite = spr_ralsei_walk_left;
}
}
}
if (arg2 == 4)
{
with (global.cinstance[arg3])
{
name = "noelle";
usprite = spr_noelle_walk_up_dw;
dsprite = spr_noelle_walk_down_dw;
rsprite = spr_noelle_walk_right_dw;
lsprite = spr_noelle_walk_left_dw;
if (global.chapter == 2 && global.plot == 95)
{
dsprite = spr_noelle_walk_down_blush_dw;
rsprite = spr_noelle_walk_right_blush_dw;
lsprite = spr_noelle_walk_left_blush_dw;
}
}
}
if (arg2 == 5)
{
with (global.cinstance[arg3])
{
name = "berdly";
usprite = spr_berdly_walk_up_dw;
dsprite = spr_berdly_walk_down_dw;
rsprite = spr_berdly_walk_right_dw;
lsprite = spr_berdly_walk_left_dw;
}
}
if (arg2 == 6)
{
with (global.cinstance[arg3])
{
name = "starwalker";
usprite = spr_npc_originalstarwalker;
dsprite = spr_npc_originalstarwalker;
rsprite = spr_npc_originalstarwalker;
lsprite = spr_npc_originalstarwalker;
}
}
return global.cinstance[arg3];
} (540, 180, 3, 1); |
554 |
} |
555 |
if (con == 9.5) |
556 |
{ |
557 |
con = 9.6; |
558 |
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;
} (); |
559 |
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;
}
}
}
} (); |
560 |
kr_actor.sprite_index = spr_krisr_dark; |
561 |
su_actor.sprite_index = spr_susie_walk_left_dw; |
562 |
ra_actor.sprite_index = spr_ralsei_walk_right; |
563 |
} |
564 |
if (con == 9.6 || scr_cutscene_loadedscr_cutscene_loadedfunction scr_cutscene_loaded()
{
var __loadedState = 0;
if (instance_exists(obj_cutscene_master))
{
if (obj_cutscene_master.loadedState == 1)
__loadedState = 1;
}
return __loadedState;
} ()) |
565 |
{ |
566 |
con = 10; |
567 |
c_speaker("susie"); |
568 |
c_msgsetloc(0, Face 9* Phew,Delay 11 nice fighting again after so long!Wait for inputClose Message"\\E9* Phew^1, nice fighting again after so long!/%", "obj_ch2_scene9_slash_Step_0_gml_639_0" ); |
569 |
c_talk_wait(); |
570 |
c_sel(su); |
571 |
c_facing("r"); |
572 |
c_speaker("susie"); |
573 |
c_msgsetloc(0, Face 2* Now let's go catch up to Queen!Wait for inputClose Message"\\E2* Now let's go catch up to Queen!/%", "obj_ch2_scene9_slash_Step_0_gml_645_0" ); |
574 |
c_talk_wait(); |
575 |
c_var_instance(id, "wirecon", 10); |
576 |
c_wait(30); |
577 |
c_sprite(spr_susie_shock_r); |
578 |
c_shakeobj(); |
579 |
c_wait(30); |
580 |
c_speaker("susie"); |
581 |
c_msgsetloc(0, Face Z* ...Delay 11 or not!Wait for inputClose Message"\\EZ* ..^1. or not!/%", "obj_ch2_scene9_slash_Step_0_gml_657_0" ); |
582 |
c_talk_wait(); |
583 |
c_var_instance(id, "wirecon", 15); |
584 |
c_wait(30); |
585 |
c_speaker("susie"); |
586 |
c_msgsetloc(0, Face 6* Huh? They calmed down...?Wait for inputClose Message"\\E6* Huh? They calmed down...?/%", "obj_ch2_scene9_slash_Step_0_gml_663_0" ); |
587 |
c_facing("r"); |
588 |
c_talk_wait(); |
589 |
c_facing("l"); |
590 |
c_sel(kr); |
591 |
c_facing("l"); |
592 |
c_sel(ra); |
593 |
c_panspeed(-8, 0, 25); |
594 |
c_walk_wait("r", 3, 20); |
595 |
c_wait(10); |
596 |
c_speaker("ralsei"); |
597 |
c_msgsetloc(0, Face H* I just used my PACIFY spell to put them into "Sleep Mode"!Wait for input"\\EH* I just used my PACIFY spell to put them into \"Sleep Mode\"!/", "obj_ch2_scene9_slash_Step_0_gml_675_0" ); |
598 |
c_facenext("susie", 7); |
599 |
c_msgnextloc(Face 7* Ralsei! You're here!Wait for inputClose Message"\\E7* Ralsei! You're here!/%", "obj_ch2_scene9_slash_Step_0_gml_677_0" ); |
600 |
c_talk_wait(); |
601 |
c_sel(0); |
602 |
c_specialsprite(0); |
603 |
c_autofacing(0); |
604 |
c_sel(kr); |
605 |
c_walk("u", 4, 10); |
606 |
c_sel(ra); |
607 |
c_walk("r", 4, 15); |
608 |
c_sel(1); |
609 |
c_walk_wait("l", 8, 9); |
610 |
c_wait(15); |
611 |
c_sel(ra); |
612 |
c_speaker("ralsei"); |
613 |
c_msgsetloc(0, Face 0* I felt a dark presence and hurried over!Wait for inputClose Message"\\E0* I felt a dark presence and hurried over!/%", "obj_ch2_scene9_slash_Step_0_gml_692_0" ); |
614 |
c_talk_wait(); |
615 |
c_facing("u"); |
616 |
c_msgsetloc(0, Face 9* It seems that a new Dark Fountain has appeared...Wait for inputClose Message"\\E9* It seems that a new Dark Fountain has appeared.../%", "obj_ch2_scene9_slash_Step_0_gml_695_0" ); |
617 |
c_talk_wait(); |
618 |
c_sel(ra); |
619 |
c_facing("r"); |
620 |
c_sel(su); |
621 |
c_facing("susieunhappy"); |
622 |
c_facing("r"); |
623 |
c_speaker("susie"); |
624 |
c_msgsetloc(0, Face R* Ralsei...Delay 11 they got Noelle!Wait for inputClose Message"\\ER* Ralsei..^1. they got Noelle!/%", "obj_ch2_scene9_slash_Step_0_gml_704_0" ); |
625 |
c_talk_wait(); |
626 |
c_sprite(spr_cutscene_09_susie_exasperated); |
627 |
c_shakeobj(); |
628 |
c_speaker("susie"); |
629 |
c_msgsetloc(0, Face N* Damn,Delay 11 what was she THINKING messing in our Dark World!?Wait for inputClose Message"\\EN* Damn^1, what was she THINKING messing in our Dark World!?/%", "obj_ch2_scene9_slash_Step_0_gml_710_0" ); |
630 |
c_talk_wait(); |
631 |
c_facing("u"); |
632 |
c_wait(5); |
633 |
c_msgsetloc(0, Face O* If we don't do something,Delay 11 she might be...Wait for inputClose Message"\\EO* If we don't do something^1, she might be.../%", "obj_ch2_scene9_slash_Step_0_gml_714_0" ); |
634 |
c_talk_wait(); |
635 |
c_facing("l"); |
636 |
c_speaker("ralsei"); |
637 |
c_msgsetloc(0, Face 0* Worry not,Delay 11 Susie!Delay 11 All we have to do is seal the Fountain!Wait for input"\\E0* Worry not^1, Susie^1! All we have to do is seal the Fountain!/", "obj_ch2_scene9_slash_Step_0_gml_719_0" ); |
638 |
c_facenext("susie", 26); |
639 |
c_msgnextloc(Face Q* ...Delay 11 yeah. Yeah!Wait for inputClose Message"\\EQ* ..^1. yeah. Yeah!/%", "obj_ch2_scene9_slash_Step_0_gml_721_0" ); |
640 |
c_talk_wait(); |
641 |
c_facing("susiehappy"); |
642 |
c_speaker("susie"); |
643 |
c_msgsetloc(0, Face A* Can't be mad about another adventure,Delay 11 right!?Wait for inputClose Message"\\EA* Can't be mad about another adventure^1, right!?/%", "obj_ch2_scene9_slash_Step_0_gml_726_0" ); |
644 |
c_talk_wait(); |
645 |
c_sel(su); |
646 |
c_facing("u"); |
647 |
c_sel(ra); |
648 |
c_facing("u"); |
649 |
c_speaker("susie"); |
650 |
c_msgsetloc(0, Face 9* C'mon,Delay 11 Kris!Wait for inputClose Message"\\E9* C'mon^1, Kris!/%", "obj_ch2_scene9_slash_Step_0_gml_735_0" ); |
651 |
c_talk_wait(); |
652 |
c_soundplay(snd_jump); |
653 |
c_sel(kr); |
654 |
c_jump_spritec_jump_spritefunction c_jump_sprite(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("jumpsprite", arg0, arg1, arg2, arg3, arg4, arg5);
} (720, 193, 12, 17, spr_kris_fall_d_dw, spr_kris_dw_landed); |
655 |
c_delayfacing(16, "r"); |
656 |
c_sel(su); |
657 |
c_delayfacing(16, "r"); |
658 |
c_jump_spritec_jump_spritefunction c_jump_sprite(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("jumpsprite", arg0, arg1, arg2, arg3, arg4, arg5);
} (635, 178, 12, 17, spr_susie_dw_fall_d, spr_susie_dw_landed); |
659 |
c_sel(ra); |
660 |
c_delayfacing(16, "r"); |
661 |
c_jump_spritec_jump_spritefunction c_jump_sprite(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("jumpsprite", arg0, arg1, arg2, arg3, arg4, arg5);
} (564, 184, 12, 17, spr_ralsei_jump, spr_teacup_ralsei_land); |
662 |
c_wait(20); |
663 |
c_soundplay(snd_impact); |
664 |
c_wait(16); |
665 |
c_soundplay(snd_swing); |
666 |
c_sel(kr); |
667 |
c_spin(2); |
668 |
c_sel(su); |
669 |
c_spin(2); |
670 |
c_sel(ra); |
671 |
c_spin(2); |
672 |
c_wait(16); |
673 |
c_soundplay(snd_bell); |
674 |
c_sel(kr); |
675 |
c_sprite(spr_kris_pose); |
676 |
c_addxy(-2, -2); |
677 |
c_spin(0); |
678 |
c_sel(su); |
679 |
c_sprite(spr_susie_pose); |
680 |
c_addxy(2, 2); |
681 |
c_spin(0); |
682 |
c_sel(ra); |
683 |
c_sprite(spr_ralsei_pose); |
684 |
c_addxy(-10, 0); |
685 |
c_spin(0); |
686 |
c_wait(15); |
687 |
c_speaker("susie"); |
688 |
c_msgsetloc(0, Face 2* Let's go!Wait for inputClose Message"\\E2* Let's go!/%", "obj_ch2_scene9_slash_Step_0_gml_778_0" ); |
689 |
c_talk_wait(); |
690 |
c_sel(ra); |
691 |
c_addxy(10, 0); |
692 |
c_sel(kr); |
693 |
c_addxy(2, 2); |
694 |
c_sel(su); |
695 |
c_addxy(-2, -2); |
696 |
c_pannable(0); |
697 |
c_actortokris(); |
698 |
c_actortocaterpillar(); |
699 |
} |
700 |
if (wirecon == 10) |
701 |
{ |
702 |
xx = camerax(); |
703 |
global.encounterno = 53; |
704 |
scr_encountersetupscr_encountersetupfunction scr_encountersetup(arg0)
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
for (i = 0; i < 3; i += 1)
{
global.heromakex[i] = xx + 80;
global.heromakey[i] = yy + 50 + (80 * i);
global.monsterinstancetype[i] = obj_baseenemy;
global.monstertype[i] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[i] = xx + 500 + (20 * i);
global.monstermakey[i] = yy + 40 + (90 * i);
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0)
global.heromakey[0] = yy + 140;
if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0)
{
global.heromakey[0] = yy + 100;
global.heromakey[1] = yy + 180;
}
global.battlemsg[0] = stringsetloc( * It is known."* It is known.", "scr_encountersetup_slash_scr_encountersetup_gml_34_0" );
switch (arg0)
{
case 0:
break;
case 1:
global.monsterinstancetype[0] = obj_baseenemy;
global.monstertype[0] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_baseenemy;
global.monstertype[1] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Test enemies showed up."* Test enemies showed up.", "scr_encountersetup_slash_scr_encountersetup_gml_60_0" );
break;
case 2:
global.monsterinstancetype[0] = obj_lancerboss;
global.monstertype[0] = 2 Lancer;
global.monstermakex[0] = xx + 540;
global.monstermakey[0] = yy + 200;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 3:
global.monsterinstancetype[0] = obj_dummyenemy;
global.monstertype[0] = 3 Dummy;
global.monstermakex[0] = xx + 500;
global.monstermakey[0] = yy + 160;
if (instance_exists(obj_npc_room))
{
global.monstermakex[0] = obj_npc_room.xstart;
global.monstermakey[0] = obj_npc_room.ystart;
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 4:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 140;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn drew near!"* Rudinn drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_98_0" );
if ( global.flag[500 times_rudinn_fought] >= 1)
global.battlemsg[0] = stringsetloc( * A different Rudinn from last time drew near!"* A different Rudinn from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_99_0" );
if ( global.flag[500 times_rudinn_fought] == 2)
global.battlemsg[0] = stringsetloc( * Assumedly another different Rudinn appeared!"* Assumedly another different Rudinn appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_100_0" );
break;
case 5:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_diamondenemy;
global.monstertype[1] = 5 Rudinn;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * A necklace of Rudinns blocks your path."* A necklace of Rudinns blocks your path.", "scr_encountersetup_slash_scr_encountersetup_gml_116_0" );
break;
case 6:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_heartenemy;
global.monstertype[1] = 6 Hathy;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = stringsetloc( * Rudinn and Hathy blocked the way!"* Rudinn and Hathy blocked the way!", "scr_encountersetup_slash_scr_encountersetup_gml_132_0" );
break;
case 7:
global.monsterinstancetype[0] = obj_smallcheckers_enemy;
global.monstertype[0] = 9 C.Round;
global.monstermakex[0] = xx + 440;
... (global.encounterno); |
705 |
global.monsterstatus[0] = 0; |
706 |
global.monsterstatus[1] = 0; |
707 |
monster1 = instance_create(global.monstermakex[0], global.monstermakey[0], obj_werewire_enemy); |
708 |
monster1.x = (xx + 480) - 200; |
709 |
monster1.y = -280; |
710 |
monster1.myself = 0; |
711 |
with (monster1) |
712 |
event_user(12); |
713 |
monster2 = instance_create(global.monstermakex[0], global.monstermakey[0], obj_werewire_enemy); |
714 |
monster2.x = (xx + 640) - 200; |
715 |
monster2.y = -160; |
716 |
monster2.myself = 1; |
717 |
with (monster2) |
718 |
event_user(12); |
719 |
with (obj_monsterparent) |
720 |
{ |
721 |
myself = 0; |
722 |
gravity = 2; |
723 |
} |
724 |
wirecon = 11; |
725 |
landeda = 0; |
726 |
landedb = 0; |
727 |
} |
728 |
if (wirecon == 11) |
729 |
{ |
730 |
if (monster1.y >= 120 && landeda == 0) |
731 |
{ |
732 |
landeda = 1; |
733 |
instance_create(0, 0, obj_shake); |
734 |
snd_play(snd_impact); |
735 |
monster1.gravity = 0; |
736 |
monster1.speed = 0; |
737 |
} |
738 |
if (monster2.y >= 170 && landedb == 0) |
739 |
{ |
740 |
landedb = 1; |
741 |
snd_play(snd_impact); |
742 |
monster2.speed = 0; |
743 |
monster2.gravity = 0; |
744 |
} |
745 |
} |
746 |
if (wirecon == 15) |
747 |
{ |
748 |
snd_play(snd_pacify); |
749 |
with (obj_monsterparent) |
750 |
{ |
751 |
instance_create(x + 36, (y - 42) + 46, obj_visualEffect_pacify); |
752 |
instance_create(x, y - 42, obj_werewire_spare); |
753 |
instance_destroy(); |
754 |
} |
755 |
wirecon = 16; |
756 |
} |
757 |
if (con == 10 && !instance_exists(obj_cutscene_master)) |
758 |
{ |
759 |
global.interact = 0; |
760 |
con = 11; |
761 |
global.plot = 51; |
762 |
scr_tempsavescr_tempsavefunction scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
var is_valid = scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
if (!is_valid)
{
var error_message = instance_create(0, 0, obj_savedata_error);
error_message.error_type = "temp_save_failed";
if (room != PLACE_MENU)
error_message.type = "auto";
}
return is_valid;
} (); |
763 |
} |