|
1
|
if (con == 0 && global.plot == 7)
|
|
2
|
{
|
|
3
|
with (obj_caterpillarchara)
|
|
4
|
instance_destroy();
|
|
5
|
scr_losecharscr_losechar
function 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;
} ();
|
|
6
|
con = 1;
|
|
7
|
global.interact = 1;
|
|
8
|
}
|
|
9
|
if (con == 1)
|
|
10
|
{
|
|
11
|
con = 2;
|
|
12
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
13
|
with (obj_mainchara)
|
|
14
|
visible = 0;
|
|
15
|
with (obj_mainchara)
|
|
16
|
y = 780;
|
|
17
|
kr = 0;
|
|
18
|
kr_actor = instance_create(281, 1203, obj_actor);
|
|
19
|
scr_actor_setupscr_actor_setup
function 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);
}
} (kr, kr_actor, "kris");
|
|
20
|
kr_actor.sprite_index = spr_krisu_dark;
|
|
21
|
su = 1;
|
|
22
|
su_actor = instance_create(kr_actor.x + 40, kr_actor.y - 10, obj_actor);
|
|
23
|
scr_actor_setupscr_actor_setup
function 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);
}
} (su, su_actor, "susie");
|
|
24
|
su_actor.sprite_index = spr_susieu_dark;
|
|
25
|
with (su_actor)
|
|
26
|
specialsprite[0] = spr_susiel_wall_eyes;
|
|
27
|
ra = 2;
|
|
28
|
ra_actor = instance_create(kr_actor.x + 20, 330, obj_actor);
|
|
29
|
scr_actor_setupscr_actor_setup
function 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);
}
} (ra, ra_actor, "ralseinohat");
|
|
30
|
ra_actor.sprite_index = spr_ralsei_walk_down;
|
|
31
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("bottom");
|
|
32
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
33
|
c_panspeedc_panspeed
function c_panspeed(arg0, arg1, arg2)
{
c_cmd("panspeed", arg0, arg1, arg2, 0);
} (0, -2, 50);
|
|
34
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (40);
|
|
35
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
36
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (281, 1080);
|
|
37
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("u", 5, 75);
|
|
38
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
39
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
40
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (321, 1064);
|
|
41
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("u", 5, 75);
|
|
42
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (80);
|
|
43
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
44
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, * Here we are...Wait for inputClose Message"* Here we are.../%", "obj_ch2_scene4_slash_Step_0_gml_58_0" );
|
|
45
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
46
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
47
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
} ("d", 7.5, 35);
|
|
48
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
49
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* Kris!Delay 11!! Susie!!!Wait for input"\\E2* Kris^1!!! Susie!!!/", "obj_ch2_scene4_slash_Step_0_gml_64_0" );
|
|
50
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face H* It's been ever-so-long...!Wait for input"\\EH* It's been ever-so-long...!/", "obj_ch2_scene4_slash_Step_0_gml_65_0" );
|
|
51
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", 2);
|
|
52
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* Yeah, yeah.Delay 11.. It's been what,Delay 11 a day?Wait for input"\\E2* Yeah, yeah^1... It's been what^1, a day?/", "obj_ch2_scene4_slash_Step_0_gml_67_0" );
|
|
53
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "H");
|
|
54
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face H* Oh! That is.Delay 11.. short,Delay 11 isn't it...?Wait for input"\\EH* Oh! That is^1... short^1, isn't it...?/", "obj_ch2_scene4_slash_Step_0_gml_69_0" );
|
|
55
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 1* It's just that,Delay 11 I've never had friends before...Wait for input"\\E1* It's just that^1, I've never had friends before.../", "obj_ch2_scene4_slash_Step_0_gml_70_0" );
|
|
56
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* So I've never waited so long to see them again, either!Wait for input"\\E2* So I've never waited so long to see them again, either!/", "obj_ch2_scene4_slash_Step_0_gml_71_0" );
|
|
57
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "A");
|
|
58
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face A* Fine,Delay 11 guess we'll TRY not to let you die of loneliness.Wait for input"\\EA* Fine^1, guess we'll TRY not to let you die of loneliness./", "obj_ch2_scene4_slash_Step_0_gml_73_0" );
|
|
59
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* I bet Lancer wants to see us too,Delay 11 right?Wait for inputClose Message"\\E2* I bet Lancer wants to see us too^1, right?/%", "obj_ch2_scene4_slash_Step_0_gml_74_0" );
|
|
60
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
61
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
62
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
63
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
64
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
65
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
66
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
67
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
68
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
69
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
70
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
71
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
72
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 0* Hey.Delay 11.. wait a sec.Wait for input"\\E0* Hey^1... wait a sec./", "obj_ch2_scene4_slash_Step_0_gml_90_0" );
|
|
73
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face Z* Where IS Lancer?Wait for inputClose Message"\\EZ* Where IS Lancer?/%", "obj_ch2_scene4_slash_Step_0_gml_91_0" );
|
|
74
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
75
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("u", 14, 12);
|
|
76
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
77
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
78
|
c_arg_objectxyc_arg_objectxy
function c_arg_objectxy(arg0, arg1, arg2)
{
c_cmd("arg_objectxy", arg0, arg1, arg2, 0);
} (ra_actor, -22, 0);
|
|
79
|
c_jumpc_jump
function c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} (x, y, 10, 5);
|
|
80
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
81
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (6);
|
|
82
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
83
|
c_arg_objectxyc_arg_objectxy
function c_arg_objectxy(arg0, arg1, arg2)
{
c_cmd("arg_objectxy", arg0, arg1, arg2, 0);
} (su_actor, 0, 1);
|
|
84
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (x, y);
|
|
85
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
86
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
87
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
88
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
89
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
90
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
91
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
92
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
93
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
94
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
95
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
96
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
97
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face Z* Where's.Delay 11.. EVERYBODY?Wait for inputClose Message"\\EZ* Where's^1... EVERYBODY?/%", "obj_ch2_scene4_slash_Step_0_gml_119_0" );
|
|
98
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
99
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
100
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (279, 546, 10);
|
|
101
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
102
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
103
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
104
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
105
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
106
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
107
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* Worry not,Delay 11 Susie.Delay 11 You'll see them in a moment.Wait for input"\\E2* Worry not^1, Susie^1. You'll see them in a moment./", "obj_ch2_scene4_slash_Step_0_gml_134_0" );
|
|
108
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Just wait here,Delay 11 alright?Wait for input"\\E3* Just wait here^1, alright?/", "obj_ch2_scene4_slash_Step_0_gml_135_0" );
|
|
109
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", 1);
|
|
110
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 1* ... OK.Wait for input"\\E1* ... OK./", "obj_ch2_scene4_slash_Step_0_gml_137_0" );
|
|
111
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face K* (Hey,Delay 11 this better not be some kind of prank or something!)Wait for inputClose Message"\\EK* (Hey^1, this better not be some kind of prank or something!)/%", "obj_ch2_scene4_slash_Step_0_gml_138_0" );
|
|
112
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
113
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
114
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("r", 4, 15);
|
|
115
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
116
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("d", 4, 30);
|
|
117
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
118
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
119
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
120
|
c_specialspritec_specialsprite
function c_specialsprite(arg0)
{
c_cmd("specialsprite", arg0, 0, 0, 0);
} (0);
|
|
121
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
122
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
123
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face A* (Kris,Delay 11 I have something to ask you.)Wait for input"\\EA* (Kris^1, I have something to ask you.)/", "obj_ch2_scene4_slash_Step_0_gml_153_0" );
|
|
124
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* (I need you to return to the Light World...)Wait for input"\\E3* (I need you to return to the Light World...)/", "obj_ch2_scene4_slash_Step_0_gml_154_0" );
|
|
125
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face I* (And go to the old classroom,Delay 11 to the EAST of the closet doors.)Wait for input"\\EI* (And go to the old classroom^1, to the EAST of the closet doors.)/", "obj_ch2_scene4_slash_Step_0_gml_155_0" );
|
|
126
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* (Inside,Delay 11 gather everything on the ground...)Wait for input"\\E3* (Inside^1, gather everything on the ground...)/", "obj_ch2_scene4_slash_Step_0_gml_156_0" );
|
|
127
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* (And bring it back here.Delay 11 Could you?)Wait for inputClose Message"\\E2* (And bring it back here^1. Could you?)/%", "obj_ch2_scene4_slash_Step_0_gml_157_0" );
|
|
128
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
129
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
130
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("u", 8, 10);
|
|
131
|
c_panobjc_panobj
function c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
} (kr_actor, 15);
|
|
132
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
133
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
134
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
135
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
136
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
137
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
138
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
139
|
}
|
|
140
|
if (customcon == 1 && con < 50)
|
|
141
|
{
|
|
142
|
su_npc = instance_create(su_actor.x, su_actor.y, obj_npc_room);
|
|
143
|
su_npc.sprite_index = spr_susiel_wall_eyes;
|
|
144
|
with (su_npc)
|
|
145
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
146
|
with (su_actor)
|
|
147
|
instance_destroy();
|
|
148
|
ra_npc = instance_create(ra_actor.x, ra_actor.y, obj_npc_facing);
|
|
149
|
ra_npc.sprite_index = spr_ralsei_walk_down;
|
|
150
|
ra_npc.y += ra_npc.sprite_height;
|
|
151
|
with (ra_npc)
|
|
152
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
153
|
with (ra_actor)
|
|
154
|
instance_destroy();
|
|
155
|
scr_losecharscr_losechar
function 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;
} ();
|
|
156
|
customcon = 0;
|
|
157
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
158
|
}
|
|
159
|
if (con == 2)
|
|
160
|
{
|
|
161
|
if (!instance_exists(obj_cutscene_master))
|
|
162
|
{
|
|
163
|
mus_initloop("castletown_empty.ogg");
|
|
164
|
global.interact = 0;
|
|
165
|
global.plot = 8;
|
|
166
|
con = 10;
|
|
167
|
}
|
|
168
|
}
|
|
169
|
if (con == 10)
|
|
170
|
{
|
|
171
|
if (obj_mainchara.y <= 200 && global.interact == 0)
|
|
172
|
{
|
|
173
|
obj_mainchara.y = 204;
|
|
174
|
global.facing = 0;
|
|
175
|
global.interact = 1;
|
|
176
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("susie");
|
|
177
|
global.fe = 0;
|
|
178
|
msgsetloc(0, Face P* Hell are you going?Delay 11 Trying to have cake without me?Wait for inputClose Message"\\EP* Hell are you going^1? Trying to have cake without me?/%", "obj_ch2_scene4_slash_Step_0_gml_216_0" );
|
|
179
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", 2);
|
|
180
|
msgnextloc(* (Kris!Delay 11 I'll show you my castle later,Delay 11 ok?)Wait for inputClose Message"* (Kris^1! I'll show you my castle later^1, ok?)/%", "obj_ch2_scene4_slash_Step_0_gml_218_0" );
|
|
181
|
d_make();
|
|
182
|
talked++;
|
|
183
|
con = 11;
|
|
184
|
}
|
|
185
|
}
|
|
186
|
if (con == 11)
|
|
187
|
{
|
|
188
|
if (!d_ex())
|
|
189
|
{
|
|
190
|
global.interact = 0;
|
|
191
|
con = 10;
|
|
192
|
}
|
|
193
|
}
|
|
194
|
if (con >= 50)
|
|
195
|
global.interact = 1;
|
|
196
|
if (con == 50)
|
|
197
|
{
|
|
198
|
con = 51;
|
|
199
|
alarm[4] = 10; gml_Object_obj_ch2_scene4_Alarm_4.gml
con += 1;
|
|
200
|
}
|
|
201
|
if (con == 52)
|
|
202
|
{
|
|
203
|
global.facing = 2;
|
|
204
|
with (susie)
|
|
205
|
visible = 0;
|
|
206
|
with (ralsei)
|
|
207
|
visible = 0;
|
|
208
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
209
|
su = 0;
|
|
210
|
su_actor = instance_create(susie.x, susie.y, obj_actor);
|
|
211
|
scr_actor_setupscr_actor_setup
function 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);
}
} (su, su_actor, "susie");
|
|
212
|
su_actor.sprite_index = spr_susie_left_dw;
|
|
213
|
ra = 1;
|
|
214
|
ra_actor = instance_create(ralsei.x, ralsei.y, obj_actor);
|
|
215
|
with (ra_actor)
|
|
216
|
scr_set_facing_spritesscr_set_facing_sprites
function scr_set_facing_sprites(arg0)
{
_actorname = arg0;
name = arg0;
if (is_string(_actorname))
{
if (_actorname == "kris")
{
name = "kris";
if (global.darkzone == 0)
_actorname = "krislight";
if (global.darkzone == 1)
_actorname = "krisdark";
}
if (_actorname == "susie")
{
name = "susie";
if (global.darkzone == 0)
{
_actorname = "susielight";
if (global.chapter >= 2)
_actorname = "susielighteyes";
}
if (global.darkzone == 1)
{
if (global.chapter == 1)
_actorname = "susiedark";
if (global.chapter >= 2)
_actorname = "susiedarkeyes";
}
}
if (_actorname == "ralsei")
{
name = "ralsei";
if (global.chapter <= 1)
_actorname = "ralseihat";
if (global.chapter > 1)
_actorname = "ralseinohat";
}
if (_actorname == "noelle")
{
name = "noelle";
if (global.darkzone == 0)
_actorname = "noellelight";
if (global.darkzone == 1)
_actorname = "noelledark";
}
if (_actorname == "berdly")
{
name = "berdly";
if (global.darkzone == 0)
_actorname = "berdlylight";
if (global.darkzone == 1)
_actorname = "berdlydark";
}
if (_actorname == "krislight")
{
usprite = spr_krisu;
rsprite = spr_krisr;
dsprite = spr_krisd;
lsprite = spr_krisl;
}
if (_actorname == "krisdark")
{
usprite = spr_krisu_dark;
rsprite = spr_krisr_dark;
dsprite = spr_krisd_dark;
lsprite = spr_krisl_dark;
}
if (_actorname == "susielight")
{
usprite = spr_susieu;
rsprite = spr_susier;
dsprite = spr_susied;
lsprite = spr_susiel;
}
if (_actorname == "susielighteyes")
{
usprite = spr_susie_walk_up_lw;
rsprite = spr_susie_walk_right_lw;
dsprite = spr_susie_walk_down_lw;
lsprite = spr_susie_walk_left_lw;
}
if (_actorname == "susiedark")
{
usprite = spr_susieu_dark;
rsprite = spr_susier_dark;
dsprite = spr_susied_dark;
lsprite = spr_susiel_dark;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
if (_actorname == "susiedarkeyes")
{
usprite = spr_susie_walk_up_dw;
rsprite = spr_susie_walk_right_dw;
dsprite = spr_susie_walk_down_dw;
lsprite = spr_susie_walk_left_dw;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
... ("ralsei");
|
|
217
|
scr_actor_setupscr_actor_setup
function 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);
}
} (ra, ra_actor, "ralsei");
|
|
218
|
ra_actor.sprite_index = spr_ralsei_down;
|
|
219
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (1);
|
|
220
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("d", 4, 24);
|
|
221
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (0);
|
|
222
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
} ("l", 6, 10);
|
|
223
|
c_walkc_walk
function c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
} ("d", 6, 10);
|
|
224
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
225
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
226
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 1* Hey,Delay 11 Kris,Delay 11 so where is every...Wait for inputClose Message"\\E1* Hey^1, Kris^1, so where is every.../%", "obj_ch2_scene4_slash_Step_0_gml_272_0" );
|
|
227
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
228
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
229
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
230
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
231
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
232
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
233
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("bottom");
|
|
234
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 6* ... one...?Wait for inputClose Message"\\E6* ... one...?/%", "obj_ch2_scene4_slash_Step_0_gml_280_0" );
|
|
235
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
236
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
237
|
c_fadeout_colorc_fadeout_color
function c_fadeout_color(arg0, arg1)
{
c_cmd("fadeout", arg0, arg1, 0, 0);
} (30, 16777215);
|
|
238
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
239
|
c_waittalkc_waittalk
function c_waittalk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
240
|
con = 55;
|
|
241
|
}
|
|
242
|
if (customcon == 1 && con >= 50)
|
|
243
|
{
|
|
244
|
global.facing = 2;
|
|
245
|
snd_play(snd_sparkle_glock);
|
|
246
|
image_alpha = 0;
|
|
247
|
breakcon = 3;
|
|
248
|
for (i = 0; i < 60; i++)
|
|
249
|
{
|
|
250
|
sparkle[i] = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} ((room_width / 4) + random(room_width / 2), (cameray() - random(400)) + 15, spr_sparestar_anim);
|
|
251
|
sparkle[i].image_speed = 0.5;
|
|
252
|
sparkle[i].hspeed = random_range(-4, 4);
|
|
253
|
sparkle[i].friction = 0.05;
|
|
254
|
sparkle[i].gravity = 0.1 + random(0.03);
|
|
255
|
sparkle[i].image_xscale = 2;
|
|
256
|
sparkle[i].image_yscale = 2;
|
|
257
|
}
|
|
258
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
259
|
customcon = 2;
|
|
260
|
}
|
|
261
|
if (con == 55 && !instance_exists(obj_cutscene_master))
|
|
262
|
{
|
|
263
|
global.entrance = 24;
|
|
264
|
global.interact = 3;
|
|
265
|
global.plot = 10;
|
|
266
|
wh = instance_create(0, 0, obj_persistentfadein);
|
|
267
|
wh.image_blend = c_white;
|
|
268
|
room_goto(room_dw_castle_area_2_transformed );
|
|
269
|
}
|