1 |
if (con == 1) |
2 |
{ |
3 |
con = 1; |
4 |
global.interact = 1; |
5 |
global.facing = 0; |
6 |
sneo = 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;
} (288, -170, spr_spamton_defeat_vines); |
7 |
with (sneo) |
8 |
scr_depth(); |
9 |
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;
} (); |
10 |
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;
}
}
}
} (); |
11 |
c_sel(kr); |
12 |
c_setxy(304, 221); |
13 |
c_facing("u"); |
14 |
c_sel(ra); |
15 |
c_setxy(215, 310); |
16 |
c_facing("u"); |
17 |
c_sel(su); |
18 |
c_setxy(374, 303); |
19 |
c_facing("u"); |
20 |
} |
21 |
if (con == 1) |
22 |
{ |
23 |
con = 49; |
24 |
alarm[0] = 30; |
25 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (whiteall, "image_alpha", 1, 0, 30); |
26 |
c_wait(30); |
27 |
c_speaker("spamton"); |
28 |
c_msgsetloc(0, * It seems after all I couldn't be anything more than a simple puppet.Wait for input"* It seems after all I couldn't be anything more than a simple puppet./", "obj_ch2_sceneex2a_slash_Step_0_gml_48_0" ); |
29 |
c_msgnextloc(* But you three...Delay 11 You're strong.Wait for input"* But you three..^1. You're strong./", "obj_ch2_sceneex2a_slash_Step_0_gml_49_0" ); |
30 |
c_msgnextloc(* With a power like that...Wait for input"* With a power like that.../", "obj_ch2_sceneex2a_slash_Step_0_gml_52_0" ); |
31 |
c_msgnextloc(* Maybe you three can break your own strings.Wait for input"* Maybe you three can break your own strings./", "obj_ch2_sceneex2a_slash_Step_0_gml_53_0" ); |
32 |
c_msgnextloc(* Let me become your strength.Wait for inputClose Message"* Let me become your strength./%", "obj_ch2_sceneex2a_slash_Step_0_gml_54_0" ); |
33 |
c_talk_wait(); |
34 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sneo, "image_alpha", 1, 0, 60); |
35 |
c_wait(30); |
36 |
c_var_instance(sparkle, "x", 315); |
37 |
c_var_instance(sparkle, "y", 150); |
38 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "image_alpha", 0, 1, 30); |
39 |
c_wait(30); |
40 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "x", 315, 315, 45); |
41 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "y", 150, 260, 45); |
42 |
c_wait(45); |
43 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "image_alpha", 1, 0, 15); |
44 |
c_wait(45); |
45 |
if (scr_keyitemcheckscr_keyitemcheckfunction scr_keyitemcheck(arg0)
{
haveit = 0;
itemcount = 0;
for (i = 0; i < 12; i += 1)
{
if (global.keyitem[i] == arg0)
haveit = 1;
if (global.keyitem[i] == arg0)
itemcount += 1;
}
return haveit;
} (13) == 0) |
46 |
scr_keyitemgetscr_keyitemgetfunction scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (13); |
47 |
c_soundplay(snd_item); |
48 |
c_speaker("no_name"); |
49 |
c_msgsetloc(0, * (You got ShadowCrystal.)Wait for inputClose Message"* (You got ShadowCrystal.)/%", "obj_ch2_sceneex2a_slash_Step_0_gml_95_0" ); |
50 |
c_talk_wait(); |
51 |
c_wait(5); |
52 |
noroom = 0; |
53 |
if (global.flag[571 encount_spamton_neo] == 1) |
54 |
{ |
55 |
scr_weapongetscr_weapongetfunction scr_weaponget(arg0)
{
noroom = 0;
var legacy = 0;
var __i = 0;
if (legacy == 0)
{
var __itemcount = 0;
__weapon[0] = arg0;
for (__i = 0; __i < 48; __i++)
{
if (global.weapon[__i] != 0)
{
__weapon[__itemcount + 1] = global.weapon[__i];
__itemcount++;
}
}
if (__itemcount >= 48)
{
noroom = 1;
}
else
{
for (__i = 0; __i < 48; __i++)
{
if (__i <= __itemcount)
global.weapon[__i] = __weapon[__i];
else
global.weapon[__i] = 0;
}
}
}
else if (legacy)
{
loop = 1;
global.weapon[48] = 999;
while (loop == 1)
{
if (global.weapon[__i] == 0)
{
global.weapon[__i] = arg0;
break;
}
if (__i == 48)
{
noroom = 1;
break;
}
__i += 1;
}
}
script_execute(scr_weaponinfo_all);
} (21); |
56 |
if (noroom == 1) |
57 |
global.flag[468 spamton_no_room] = 1; |
58 |
c_soundplay(snd_item); |
59 |
c_speaker("no_name"); |
60 |
c_msgsetloc(0, * (You got PuppetScarf.)Wait for inputClose Message"* (You got PuppetScarf.)/%", "obj_ch2_sceneex2a_slash_Step_0_gml_88_0" ); |
61 |
c_talk_wait(); |
62 |
} |
63 |
else |
64 |
{ |
65 |
global.flag[454 got_dealmaker] = 1; |
66 |
scr_armorgetscr_armorgetfunction scr_armorget(arg0)
{
noroom = 0;
var legacy = 0;
var __i = 0;
if (legacy == 0)
{
var __itemcount = 0;
__armor[0] = arg0;
for (__i = 0; __i < 48; __i++)
{
if (global.armor[__i] != 0)
{
__armor[__itemcount + 1] = global.armor[__i];
__itemcount++;
}
}
if (__itemcount >= 48)
{
noroom = 1;
}
else
{
for (__i = 0; __i < 48; __i++)
{
if (__i <= __itemcount)
global.armor[__i] = __armor[__i];
else
global.armor[__i] = 0;
}
}
}
else if (legacy)
{
loop = 1;
global.armor[48] = 999;
while (loop == 1)
{
if (global.armor[__i] == 0)
{
global.armor[__i] = arg0;
break;
}
if (__i == 48)
{
noroom = 1;
break;
}
__i += 1;
}
}
script_execute(scr_armorinfo_all);
} (21); |
67 |
if (noroom == 1) |
68 |
global.flag[468 spamton_no_room] = 1; |
69 |
c_soundplay(snd_item); |
70 |
c_speaker("no_name"); |
71 |
c_msgsetloc(0, * (You got Dealmaker.)Wait for inputClose Message"* (You got Dealmaker.)/%", "obj_ch2_sceneex2a_slash_Step_0_gml_82_0" ); |
72 |
c_talk_wait(); |
73 |
} |
74 |
if (noroom == 1) |
75 |
{ |
76 |
c_wait(30); |
77 |
c_speaker("no one"); |
78 |
c_msgsetloc(0, * (... but your inventory was full.)Wait for inputClose Message"* (... but your inventory was full.)/%", "obj_ch2_sceneex2a_slash_Step_0_gml_122_0" ); |
79 |
c_talk_wait(); |
80 |
c_mus("free_all"); |
81 |
c_soundplay(snd_power); |
82 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "image_alpha", 0, 1, 5); |
83 |
c_wait(30); |
84 |
c_speaker("spamton"); |
85 |
c_msgsetloc(0, * ... Kris...?Delay 11 * Kris!?Delay 11 * KRIS!?!?!?Wait for input"* ... Kris...^1?&* Kris!^1?&* KRIS!?!?!?/", "obj_ch2_sceneex2a_slash_Step_0_gml_129_0" ); |
86 |
c_msgnextloc(* YOU FILLED YOUR [Inventorium] WITH [Half-Pr1ce Sallamy] JUST TO KEEP ME OUT!?Wait for input"* YOU FILLED YOUR [Inventorium] WITH [Half-Pr1ce Sallamy] JUST TO KEEP ME OUT!?/", "obj_ch2_sceneex2a_slash_Step_0_gml_130_0" ); |
87 |
c_msgnextloc(* WHAT!Delay 22 * THE!Delay 22 * [FDelay 44ifty Percent Off]!?Wait for input"* WHAT^2!&* THE^2!&* [^4Fifty Percent Off]!?/", "obj_ch2_sceneex2a_slash_Step_0_gml_131_0" ); |
88 |
c_msgnextloc(* YOU CAN CARRY LIKE 48 ITEMS!!!Wait for input"* YOU CAN CARRY LIKE 48 ITEMS!!!/", "obj_ch2_sceneex2a_slash_Step_0_gml_132_0" ); |
89 |
c_msgnextloc(* [Why] DID YOU DO THIS!?Delay 11 * WHY!?Delay 11 [Y]!?Delay 11 [Yellow]!?Delay 11 [Gamma]!?Wait for input"* [Why] DID YOU DO THIS!^1?&* WHY!^1? [Y]!^1? [Yellow]!^1? [Gamma]!?/", "obj_ch2_sceneex2a_slash_Step_0_gml_133_0" ); |
90 |
c_msgnextloc(* NOT [Cool] KRIS!Delay 11 * I'LL BE IN MY [Trailer]!Wait for inputClose Message"* NOT [Cool] KRIS^1!&* I'LL BE IN MY [Trailer]!/%", "obj_ch2_sceneex2a_slash_Step_0_gml_134_0" ); |
91 |
c_talk_wait(); |
92 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (sparkle, "x", 315, 700, 150); |
93 |
c_soundplay(snd_slidewhistle); |
94 |
c_wait(90); |
95 |
} |
96 |
c_mus2("volume", 0, 30); |
97 |
c_wait(30); |
98 |
} |
99 |
if (con == 50 && !d_ex()) |
100 |
{ |
101 |
con = 60; |
102 |
c_actortokris(); |
103 |
c_actortocaterpillar(); |
104 |
c_terminatekillactors(); |
105 |
} |
106 |
if (con == 60 && !i_ex(obj_cutscene_master)) |
107 |
{ |
108 |
con = -1; |
109 |
global.interact = 0; |
110 |
global.facing = 0; |
111 |
global.flag[309 spamton_plot] = 9; |
112 |
snd_free_all(); |
113 |
scr_tempsave(); |
114 |
} |