|
1
|
visible = true;
|
|
2
|
if (con >= 99)
|
|
3
|
{
|
|
4
|
if (lcon == 0)
|
|
5
|
{
|
|
6
|
var leftbit = 24;
|
|
7
|
var rightbit = 592;
|
|
8
|
if (obj_mainchara.x < leftbit || obj_mainchara.x > rightbit)
|
|
9
|
{
|
|
10
|
obj_mainchara.x = clamp(obj_mainchara.x, leftbit, rightbit);
|
|
11
|
global.interact = 1;
|
|
12
|
lcon = 1;
|
|
13
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
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;
... ("no_name");
|
|
14
|
msgsetloc(0, * (There is a distinct lack of steppable objects in that direction.)Wait for inputClose Message"* (There is a distinct lack of steppable objects in that direction.)/%", "obj_ch4_DCA05_slash_Step_0_gml_18_0" );
|
|
15
|
d_make(undefined, undefined, undefined, 1);
|
|
16
|
}
|
|
17
|
}
|
|
18
|
if (lcon == 1 && !d_ex())
|
|
19
|
{
|
|
20
|
lcon = 0;
|
|
21
|
global.interact = 0;
|
|
22
|
}
|
|
23
|
}
|
|
24
|
if (con < 0)
|
|
25
|
exit;
|
|
26
|
if (con == 0 && global.interact == 0 && !d_ex() && obj_mainchara.x < 210)
|
|
27
|
{
|
|
28
|
con = 1;
|
|
29
|
global.interact = 1;
|
|
30
|
}
|
|
31
|
if (con == 1)
|
|
32
|
{
|
|
33
|
con = 2;
|
|
34
|
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;
} ();
|
|
35
|
scr_maincharacters_actorsscr_maincharacters_actors
function 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;
}
}
}
} ();
|
|
36
|
global.facing = 0;
|
|
37
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("gerson");
|
|
38
|
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, * Hmm...Delay 11 I've a mighty hankerin' to read a book. But I just can't reach...Wait for input"* Hmm..^1. I've a mighty hankerin' to read a \\cGbook\\cW. But I just can't reach.../", "obj_ch4_DCA05_slash_Step_0_gml_49_0" );
|
|
39
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", 20);
|
|
40
|
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* Can it,Delay 11 old man. What's this look like,Delay 11 a library?Wait for inputClose Message"\\EK* Can it^1, old man. What's this look like^1, a library?/%", "obj_ch4_DCA05_slash_Step_0_gml_51_0" );
|
|
41
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
42
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
43
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (170, su_actor.y, 6);
|
|
44
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (170, 122, 6);
|
|
45
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
46
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
47
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
48
|
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 B* Now,Delay 11 the hell do we get this open?Wait for inputClose Message"\\EB* Now^1, the hell do we get this open?/%", "obj_ch4_DCA05_slash_Step_0_gml_62_0" );
|
|
49
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
50
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
51
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
52
|
}
|
|
53
|
if (con == 2 && customcon == 1 && !d_ex())
|
|
54
|
{
|
|
55
|
con = 3;
|
|
56
|
var sus_x = su_actor.x;
|
|
57
|
var sus_y = su_actor.y;
|
|
58
|
with (obj_caterpillarchara)
|
|
59
|
{
|
|
60
|
if (name == "susie")
|
|
61
|
{
|
|
62
|
follow = 0;
|
|
63
|
fun = 1;
|
|
64
|
x = sus_x;
|
|
65
|
y = sus_y;
|
|
66
|
sprite_index = usprite;
|
|
67
|
}
|
|
68
|
else
|
|
69
|
{
|
|
70
|
visible = 1;
|
|
71
|
}
|
|
72
|
}
|
|
73
|
with (ra_actor)
|
|
74
|
instance_destroy();
|
|
75
|
global.interact = 0;
|
|
76
|
global.facing = 0;
|
|
77
|
explore = true;
|
|
78
|
}
|
|
79
|
if (con == 3)
|
|
80
|
{
|
|
81
|
}
|
|
82
|
if (con == 10 && !d_ex() && customcon == 1)
|
|
83
|
{
|
|
84
|
con = 20;
|
|
85
|
global.interact = 1;
|
|
86
|
with (su_actor)
|
|
87
|
instance_destroy();
|
|
88
|
with (door_readable)
|
|
89
|
extflag = "door";
|
|
90
|
}
|
|
91
|
if (con == 20 && !d_ex() && customcon == 1)
|
|
92
|
{
|
|
93
|
customcon = 0;
|
|
94
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
95
|
scr_maincharacters_actorsscr_maincharacters_actors
function 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;
}
}
}
} ();
|
|
96
|
global.facing = 0;
|
|
97
|
bo = actor_count + 1;
|
|
98
|
bo_actor = instance_create(camerax() - 100, cameray() - 100, obj_actor);
|
|
99
|
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);
}
} (bo, bo_actor, "book");
|
|
100
|
bo_actor.sprite_index = spr_dw_book;
|
|
101
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (bo);
|
|
102
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
103
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
104
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_dw_book);
|
|
105
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("no_name");
|
|
106
|
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, * (You investigated the climbable stool.)Wait for inputClose Message"* (You investigated the climbable stool.)/%", "obj_ch4_DCA05_slash_Step_0_gml_151_0" );
|
|
107
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
108
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
109
|
if (obj_mainchara.x >= 162)
|
|
110
|
{
|
|
111
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
112
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (180, 190, 4);
|
|
113
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (64, 209, 20);
|
|
114
|
c_delaywalkdirectc_delaywalkdirect
function c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
} (21, 64, 190, 10);
|
|
115
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (32, "r");
|
|
116
|
}
|
|
117
|
else
|
|
118
|
{
|
|
119
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
120
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (64, 209, 12);
|
|
121
|
c_delaywalkdirectc_delaywalkdirect
function c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
} (13, 64, 190, 10);
|
|
122
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (24, "r");
|
|
123
|
}
|
|
124
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", false);
|
|
125
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 0);
|
|
126
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
127
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (138, 198, 4);
|
|
128
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (138, 178, 8);
|
|
129
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
130
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
131
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 1);
|
|
132
|
c_var_lerp_to_instance(gerson_npc, "x", 220, 16);
|
|
133
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (16);
|
|
134
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 9);
|
|
135
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (25);
|
|
136
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
137
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
138
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
139
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
140
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", true);
|
|
141
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", true);
|
|
142
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("gerson");
|
|
143
|
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, * 'Scuse me,Delay 11 miss,Delay 11 wouldja mind helpin' me reach this book?Wait for input"* 'Scuse me^1, miss^1, wouldja mind helpin' me reach this book?/", "obj_ch4_DCA05_slash_Step_0_gml_202_0" );
|
|
144
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "K");
|
|
145
|
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* Not now,Delay 11 dude. I'm solving the door.Wait for input"\\EK* Not now^1, dude. I'm solving the door./", "obj_ch4_DCA05_slash_Step_0_gml_204_0" );
|
|
146
|
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 5* Ralsei,Delay 11 help him reach the thing.Wait for input"\\E5* Ralsei^1, help him reach the thing./", "obj_ch4_DCA05_slash_Step_0_gml_205_0" );
|
|
147
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "2");
|
|
148
|
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* Of course!Delay 11Wait for inputClose Message"\\E2* Of course^1!/%", "obj_ch4_DCA05_slash_Step_0_gml_207_0" );
|
|
149
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
150
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
151
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
152
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
153
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (5);
|
|
154
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
155
|
c_jump_in_placec_jump_in_place
function c_jump_in_place(arg0, arg1)
{
c_cmd("jumpinplace", arg0, arg1, 0, 0);
} (8, 8);
|
|
156
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", false);
|
|
157
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", false);
|
|
158
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
159
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
160
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_pose);
|
|
161
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
162
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
163
|
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 H* There's something you can stand on right here!Wait for inputClose Message"\\EH* There's something you can stand on right here!/%", "obj_ch4_DCA05_slash_Step_0_gml_230_0" );
|
|
164
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
165
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
166
|
c_cmdc_cmd
function c_cmd(arg0, arg1, arg2, arg3, arg4)
{
if (instance_exists(obj_cutscene_master))
{
__cs_i = obj_cutscene_master.maximum_command - 1;
obj_cutscene_master.command[__cs_i] = arg0;
obj_cutscene_master.command_arg1[__cs_i] = arg1;
obj_cutscene_master.command_arg2[__cs_i] = arg2;
obj_cutscene_master.command_arg3[__cs_i] = arg3;
obj_cutscene_master.command_arg4[__cs_i] = arg4;
with (obj_cutscene_master)
maximum_command++;
}
} ("fadeout", 10, 16777215, 0, 0);
|
|
167
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_great_shine);
|
|
168
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (12);
|
|
169
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
170
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
171
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", true);
|
|
172
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
173
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_stool);
|
|
174
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (352, 174);
|
|
175
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
176
|
c_fadeinc_fadein
function c_fadein(arg0)
{
c_cmd("fadeout", -arg0, 0, 0, 0);
} (10);
|
|
177
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (150);
|
|
178
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
179
|
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* Um,Delay 11 anyone,Delay 11 um...Delay 11 feel free to...Delay 11 step on me.Wait for inputClose Message"\\E1* Um^1, anyone^1, um..^1. feel free to..^1. step on me./%", "obj_ch4_DCA05_slash_Step_0_gml_257_0" );
|
|
180
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
181
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
182
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", true);
|
|
183
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", true);
|
|
184
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("gerson");
|
|
185
|
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, * Miss,Delay 11 I think I still need your help.Wait for input"* Miss^1, I think I still need your help./", "obj_ch4_DCA05_slash_Step_0_gml_267_0" );
|
|
186
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "H");
|
|
187
|
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* Alright,Delay 11 FINE.Wait for inputClose Message"\\EH* Alright^1, FINE./%", "obj_ch4_DCA05_slash_Step_0_gml_269_0" );
|
|
188
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
189
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
190
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
191
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
192
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
193
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
194
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
195
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (170, 170, 6);
|
|
196
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", true);
|
|
197
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", false);
|
|
198
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (330, 170, 6);
|
|
199
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
200
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_reach_up);
|
|
201
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
202
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
203
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
204
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_dw);
|
|
205
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
206
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
function c_walkwait(arg0, arg1, arg2)
{
c_walk_wait(arg0, arg1, arg2);
} ("d", 4, 8);
|
|
207
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
208
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
209
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_reach_up);
|
|
210
|
c_jumpc_jump
function c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} (330, 164, 25, 12);
|
|
211
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (6);
|
|
212
|
c_sound_play(snd_grab);
|
|
213
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (book_marker, "image_blend", 0);
|
|
214
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (6);
|
|
215
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
216
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_dw);
|
|
217
|
c_sound_play(snd_splat);
|
|
218
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
219
|
c_autodepthc_autodepth
function c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
} (0);
|
|
220
|
c_depthc_depth
function c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
} (97600);
|
|
221
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_splat);
|
|
222
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (312, 220);
|
|
223
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
224
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
225
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (1);
|
|
226
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
227
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
228
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (bo);
|
|
229
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (330, 214);
|
|
230
|
c_sticktoc_stickto
function c_stickto(arg0, arg1)
{
c_cmd("stick", "on", arg0, arg1, 0);
} (su_actor, -10);
|
|
231
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (1);
|
|
232
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
233
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
234
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
235
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
236
|
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 K* Here,Delay 11 will you take this and -Wait for inputClose Message"\\EK* Here^1, will you take this and -/%", "obj_ch4_DCA05_slash_Step_0_gml_333_0" );
|
|
237
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
238
|
c_sound_play(snd_locker);
|
|
239
|
c_shakec_shake
function c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
} ();
|
|
240
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (door_marker, "image_index", 1);
|
|
241
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
242
|
c_emotec_emote
function 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);
else if (argument_count == 4)
c_cmd("emote", argument[0], argument[1], argument[2], argument[3]);
} ("!", 30);
|
|
243
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_surprised_left);
|
|
244
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (45);
|
|
245
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
246
|
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 7* Hey,Delay 11 the door opened!Delay 11 Let's go!Wait for inputClose Message"\\E7* Hey^1, the door opened^1! Let's go!/%", "obj_ch4_DCA05_slash_Step_0_gml_348_0" );
|
|
247
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
248
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
249
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (1);
|
|
250
|
c_autodepthc_autodepth
function c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
} (0);
|
|
251
|
c_depthc_depth
function c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
} (96000);
|
|
252
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (230, 164, 6);
|
|
253
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
254
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (bo);
|
|
255
|
c_stickto_stopc_stickto_stop
function c_stickto_stop()
{
c_cmd("stick", "off", 0, 0, 0);
} ();
|
|
256
|
c_autodepthc_autodepth
function c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
} (0);
|
|
257
|
c_depthc_depth
function c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
} (96900);
|
|
258
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
259
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", false);
|
|
260
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (bo);
|
|
261
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (232, 160, 8);
|
|
262
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (6);
|
|
263
|
c_sound_play(snd_bump);
|
|
264
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
265
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
266
|
c_walkdirect_speed_waitc_walkdirect_speed_wait
function c_walkdirect_speed_wait(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 1);
} (173, 164, 6);
|
|
267
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (173, 108, 20);
|
|
268
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
269
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "susie_hide", true);
|
|
270
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
271
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
272
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
273
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 6);
|
|
274
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("gerson");
|
|
275
|
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, * Much obliged.Wait for inputClose Message"* Much obliged./%", "obj_ch4_DCA05_slash_Step_0_gml_388_0" );
|
|
276
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
277
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
278
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 9);
|
|
279
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", true);
|
|
280
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (bo);
|
|
281
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
function c_walkwait(arg0, arg1, arg2)
{
c_walk_wait(arg0, arg1, arg2);
} ("u", 4, 4);
|
|
282
|
c_autodepthc_autodepth
function c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
} (0);
|
|
283
|
c_depthc_depth
function c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
} (99900);
|
|
284
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
function c_walkwait(arg0, arg1, arg2)
{
c_walk_wait(arg0, arg1, arg2);
} ("d", 4, 4);
|
|
285
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
286
|
c_sound_play(snd_item);
|
|
287
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
288
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", false);
|
|
289
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "current_state", 1);
|
|
290
|
c_var_lerp_to_instance(gerson_npc, "x", 164, 15);
|
|
291
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
292
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_up", true);
|
|
293
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "facing_right", true);
|
|
294
|
c_var_lerp_to_instance(gerson_npc, "y", 110, 40);
|
|
295
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
296
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "enter_door", true);
|
|
297
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
298
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (gerson_npc, "visible", 0);
|
|
299
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ralsei_marker, "x", 312);
|
|
300
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ralsei_marker, "y", 220);
|
|
301
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
302
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
303
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
304
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
305
|
}
|
|
306
|
if (con == 20 && !i_ex(obj_cutscene_master))
|
|
307
|
{
|
|
308
|
global.interact = 0;
|
|
309
|
global.facing = 0;
|
|
310
|
global.plot = 145;
|
|
311
|
with (obj_caterpillarchara)
|
|
312
|
{
|
|
313
|
follow = 0;
|
|
314
|
fun = 1;
|
|
315
|
if (name == "susie")
|
|
316
|
visible = 0;
|
|
317
|
if (name == "ralsei")
|
|
318
|
{
|
|
319
|
sprite_index = spr_ralsei_splat;
|
|
320
|
x = 312;
|
|
321
|
y = 220;
|
|
322
|
visible = 1;
|
|
323
|
ignoredepth = 1;
|
|
324
|
depth = 98000;
|
|
325
|
}
|
|
326
|
}
|
|
327
|
ralsei_marker.visible = 0;
|
|
328
|
with (obj_actor)
|
|
329
|
instance_destroy();
|
|
330
|
with (door_readable)
|
|
331
|
instance_destroy();
|
|
332
|
with (door_collider)
|
|
333
|
instance_destroy();
|
|
334
|
with (book_readable)
|
|
335
|
instance_destroy();
|
|
336
|
with (gerson_npc)
|
|
337
|
instance_destroy();
|
|
338
|
var ralsei_readable = instance_create(322, 242, obj_readable_room1);
|
|
339
|
with (ralsei_readable)
|
|
340
|
{
|
|
341
|
extflag = "ralsei";
|
|
342
|
image_xscale = 4;
|
|
343
|
}
|
|
344
|
ralsei_splat_fx = true;
|
|
345
|
con = 99;
|
|
346
|
}
|
|
347
|
if (ralsei_splat_fx)
|
|
348
|
{
|
|
349
|
var offset = (obj_mainchara.x < 325) ? 0 : 5;
|
|
350
|
var play_sound = -1;
|
|
351
|
if (point_in_rectangle(obj_mainchara.x + sprite_get_width(obj_mainchara.sprite_index), obj_mainchara.y + (sprite_get_height(obj_mainchara.sprite_index) * 2) + offset, ralsei_marker.x, ralsei_marker.y, ralsei_marker.x + (sprite_get_width(ralsei_marker.sprite_index) * 2), ralsei_marker.y + (sprite_get_height(ralsei_marker.sprite_index) * 2)))
|
|
352
|
{
|
|
353
|
if (!ralsei_splat_toggle)
|
|
354
|
{
|
|
355
|
ralsei_splat_toggle = true;
|
|
356
|
play_sound = 1;
|
|
357
|
}
|
|
358
|
}
|
|
359
|
else if (ralsei_splat_toggle)
|
|
360
|
{
|
|
361
|
ralsei_splat_toggle = false;
|
|
362
|
play_sound = 2;
|
|
363
|
}
|
|
364
|
if (play_sound > 0)
|
|
365
|
{
|
|
366
|
var splat_audio = (play_sound == 1) ? 115 : 22;
|
|
367
|
snd_play(splat_audio);
|
|
368
|
}
|
|
369
|
}
|
|
370
|
if (kris_splat && !d_ex())
|
|
371
|
{
|
|
372
|
if (global.interact == 0)
|
|
373
|
global.interact = 1;
|
|
374
|
kris_splat_timer++;
|
|
375
|
if (kris_splat_timer == 1)
|
|
376
|
{
|
|
377
|
global.interact = 1;
|
|
378
|
with (obj_mainchara)
|
|
379
|
{
|
|
380
|
fun = 1;
|
|
381
|
cutscene = 1;
|
|
382
|
sprite_index = spr_krisd_dark;
|
|
383
|
image_speed = 0.2;
|
|
384
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (obj_mainchara.x, 215, 10);
|
|
385
|
}
|
|
386
|
}
|
|
387
|
if (kris_splat_timer == 11)
|
|
388
|
{
|
|
389
|
with (obj_mainchara)
|
|
390
|
{
|
|
391
|
sprite_index = (global.facing == 3) ? spr_krisl_dark : spr_krisr_dark;
|
|
392
|
var distance = distance_to_point(312, 220);
|
|
393
|
var max_speed = clamp(distance / 10, 10, 20);
|
|
394
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (346, 215, max_speed);
|
|
395
|
}
|
|
396
|
}
|
|
397
|
if (kris_splat_timer == 26)
|
|
398
|
{
|
|
399
|
with (obj_mainchara)
|
|
400
|
{
|
|
401
|
sprite_index = spr_krisr_dark;
|
|
402
|
image_speed = 0;
|
|
403
|
scr_jump_to_pointscr_jump_to_point
function scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{
var ___jump = scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump)
{
trackalpha = arg4;
trackblend = arg4;
trackindex = arg4;
tracksprite = arg4;
trackangle = arg4;
}
return ___jump;
} (397, 218, 15, 8);
|
|
404
|
}
|
|
405
|
}
|
|
406
|
if (kris_splat_timer == 34)
|
|
407
|
{
|
|
408
|
sound_play(snd_splat);
|
|
409
|
with (obj_mainchara)
|
|
410
|
{
|
|
411
|
sprite_index = spr_kris_splat;
|
|
412
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
413
|
}
|
|
414
|
}
|
|
415
|
if (kris_splat_timer >= 60)
|
|
416
|
{
|
|
417
|
if (sunkus_kb_check_pressed(1) || scr_gamepad_check_anyscr_gamepad_check_any
function scr_gamepad_check_any()
{
var any_input;
if (!i_ex(obj_gamecontroller))
{
return false;
}
else
{
any_input = false;
for (var i = 0; i < 4; i += 1)
{
if (scr_gamepad_axis_check(obj_gamecontroller.gamepad_id, i))
{
any_input = true;
break;
}
}
for (var i = 0; i < 10; i += 1)
{
if (gamepad_button_check(obj_gamecontroller.gamepad_id, global.input_g[i]))
{
any_input = true;
break;
}
}
}
return any_input;
} ())
|
|
418
|
{
|
|
419
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (834) == 0)
|
|
420
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (834, 1);
|
|
421
|
global.interact = 0;
|
|
422
|
global.facing = 0;
|
|
423
|
with (obj_mainchara)
|
|
424
|
{
|
|
425
|
fun = 0;
|
|
426
|
cutscene = 0;
|
|
427
|
}
|
|
428
|
kris_splat = false;
|
|
429
|
kris_splat_timer = 0;
|
|
430
|
}
|
|
431
|
}
|
|
432
|
}
|
|
433
|
if (susie_hide)
|
|
434
|
{
|
|
435
|
susie_shadow = clamp(susie_shadow + 0.2, 0, 1);
|
|
436
|
var shadow = susie_shadow;
|
|
437
|
with (su_actor)
|
|
438
|
color_blend = merge_color(c_white, make_color_hsv(0, 0, 0), shadow);
|
|
439
|
if (susie_shadow >= 1)
|
|
440
|
susie_hide = false;
|
|
441
|
}
|
|
442
|
if (!explore)
|
|
443
|
exit;
|
|
444
|
if (con == 3)
|
|
445
|
{
|
|
446
|
if (explore_con == 0)
|
|
447
|
{
|
|
448
|
if (!d_ex())
|
|
449
|
{
|
|
450
|
var susie_stop = false;
|
|
451
|
var kris_x = obj_mainchara.x;
|
|
452
|
var stop_ralsei = obj_mainchara.x < 40 || obj_mainchara.x > 560;
|
|
453
|
if (!ralsei_pause_follow && stop_ralsei)
|
|
454
|
{
|
|
455
|
ralsei_pause_follow = true;
|
|
456
|
with (obj_caterpillarchara)
|
|
457
|
{
|
|
458
|
if (name == "ralsei")
|
|
459
|
{
|
|
460
|
if (follow == 1)
|
|
461
|
follow = 0;
|
|
462
|
}
|
|
463
|
}
|
|
464
|
}
|
|
465
|
if (obj_mainchara.x < 20)
|
|
466
|
{
|
|
467
|
susie_stop = true;
|
|
468
|
kris_x = 20;
|
|
469
|
}
|
|
470
|
if (obj_mainchara.x > 570)
|
|
471
|
{
|
|
472
|
susie_stop = true;
|
|
473
|
kris_x = 570;
|
|
474
|
}
|
|
475
|
if (susie_stop)
|
|
476
|
{
|
|
477
|
explore_con = 1;
|
|
478
|
global.interact = 1;
|
|
479
|
with (obj_mainchara)
|
|
480
|
x = kris_x;
|
|
481
|
global.facing = 3;
|
|
482
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
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;
... ("susie");
|
|
483
|
msgsetloc(0, Face 5* (Hey,Delay 11 if I don't get to skip the puzzle,Delay 11 you don't either!)Wait for inputClose Message"\\E5* (Hey^1, if I don't get to skip the puzzle^1, you don't either!)/%", "obj_ch4_DCA05_slash_Step_0_gml_655_0" );
|
|
484
|
d_make();
|
|
485
|
}
|
|
486
|
}
|
|
487
|
}
|
|
488
|
if (explore_con == 1 && !d_ex())
|
|
489
|
{
|
|
490
|
explore_con = 0;
|
|
491
|
global.interact = 0;
|
|
492
|
}
|
|
493
|
if (ralsei_pause_follow)
|
|
494
|
{
|
|
495
|
if (obj_mainchara.x > 40 && obj_mainchara.x < 560)
|
|
496
|
{
|
|
497
|
ralsei_pause_follow = false;
|
|
498
|
with (obj_caterpillarchara)
|
|
499
|
{
|
|
500
|
if (name == "ralsei")
|
|
501
|
{
|
|
502
|
follow = 1;
|
|
503
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate(arg0 = "none")
{
if (arg0 == "all")
{
with (obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else if (arg0 == "none")
{
if (object_index == obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else
{
with (obj_caterpillarchara)
{
if (name == arg0)
scr_caterpillar_interpolate_old();
}
}
}
function scr_caterinterp(arg0 = "none")
{
scr_caterpillar_interpolate(arg0);
}
function scr_caterpillar_interpolate_old()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
504
|
}
|
|
505
|
}
|
|
506
|
}
|
|
507
|
}
|
|
508
|
}
|
|
509
|
else
|
|
510
|
{
|
|
511
|
explore = false;
|
|
512
|
}
|