|
1
|
if (con < 0)
|
|
2
|
exit;
|
|
3
|
if (con == 0)
|
|
4
|
{
|
|
5
|
con = 1;
|
|
6
|
alarm[0] = 1; gml_Object_obj_ch5_LWF02_Alarm_0.gml
con++;
|
|
7
|
global.interact = 1;
|
|
8
|
global.facing = 0;
|
|
9
|
}
|
|
10
|
if (con == 2)
|
|
11
|
{
|
|
12
|
con = 10;
|
|
13
|
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;
} ();
|
|
14
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
if (i_ex(obj_plat_player))
{
scr_maincharacters_actors_plat();
exit;
}
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;
}
}
}
} ();
|
|
15
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
16
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
17
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
18
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (1133, 110);
|
|
19
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_lw_unhappy);
|
|
20
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
21
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (1050, cameray(), 1);
|
|
22
|
c_var_lerp_instancec_var_lerp_instance
function 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]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (blackall, "image_alpha", 1, 0, 60);
|
|
23
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
24
|
c_snd_play(snd_dooropen);
|
|
25
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (_door_marker, "visible", 1);
|
|
26
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
27
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (1);
|
|
28
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (1257, 80);
|
|
29
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (1257, 97, 24);
|
|
30
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (12);
|
|
31
|
c_snd_play(snd_doorclose);
|
|
32
|
c_var_lerp_instancec_var_lerp_instance
function 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]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (_door_marker, "image_index", 0, 2, 6);
|
|
33
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
34
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
35
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
36
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("bottom");
|
|
37
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
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, Face R* ...Delay 11 back to reality again,Delay 11 huh.Wait for input"\\ER* ..^1. back to reality again^1, huh./", "obj_ch5_LWF02_slash_Step_0_gml_55_0" );
|
|
39
|
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 V* ...Wait for inputClose Message"\\EV* .../%", "obj_ch5_LWF02_slash_Step_0_gml_56_0" );
|
|
40
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
41
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
42
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_lw_head_down);
|
|
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, Face V* Kris...Wait for input"\\EV* Kris.../", "obj_ch5_LWF02_slash_Step_0_gml_63_0" );
|
|
45
|
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 R* ...Delay 11 we couldn't stop them.Wait for input"\\ER* ..^1. we couldn't stop them./", "obj_ch5_LWF02_slash_Step_0_gml_64_0" );
|
|
46
|
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 V* How much longer are they gonna keep taking more people?Wait for input"\\EV* How much longer are they gonna keep taking more people?/", "obj_ch5_LWF02_slash_Step_0_gml_65_0" );
|
|
47
|
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 U* And how much longer...Delay 11 are those people gonna be safe?Wait for input"\\EU* And how much longer..^1. are those people gonna be safe?/", "obj_ch5_LWF02_slash_Step_0_gml_66_0" );
|
|
48
|
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 R* I...Wait for input"\\ER* I.../", "obj_ch5_LWF02_slash_Step_0_gml_67_0" );
|
|
49
|
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 V* ...Wait for inputClose Message"\\EV* .../%", "obj_ch5_LWF02_slash_Step_0_gml_68_0" );
|
|
50
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
51
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
52
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
53
|
c_panobjc_panobj
function c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
} (kr_actor, 30);
|
|
54
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (31);
|
|
55
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
56
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
57
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
58
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
} (function()
|
|
59
|
{
|
|
60
|
_susie_marker = 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;
} (su_actor.x, su_actor.y, su_actor.sprite_index);
|
|
61
|
_susie_marker.depth = su_actor.depth;
|
|
62
|
var exit_trigger = instance_create(1200, 0, obj_trigger);
|
|
63
|
with (exit_trigger)
|
|
64
|
{
|
|
65
|
extflag = "exit_trigger";
|
|
66
|
image_xscale = 2;
|
|
67
|
image_yscale = 30;
|
|
68
|
}
|
|
69
|
regain_control();
|
|
70
|
});
|
|
71
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
72
|
}
|
|
73
|
if (con == 10 && customcon == 1)
|
|
74
|
{
|
|
75
|
var triggered = false;
|
|
76
|
var convo_flag = "";
|
|
77
|
with (obj_trigger)
|
|
78
|
{
|
|
79
|
if (place_meeting(x, y, obj_mainchara))
|
|
80
|
{
|
|
81
|
if (extflag == "")
|
|
82
|
exit;
|
|
83
|
triggered = true;
|
|
84
|
convo_flag = extflag;
|
|
85
|
}
|
|
86
|
}
|
|
87
|
if (triggered && global.interact == 0 && !d_ex())
|
|
88
|
{
|
|
89
|
if (convo_flag == "exit_trigger")
|
|
90
|
{
|
|
91
|
con = 11;
|
|
92
|
global.interact = 1;
|
|
93
|
with (obj_trigger)
|
|
94
|
instance_destroy();
|
|
95
|
lose_control();
|
|
96
|
}
|
|
97
|
else if (convo_flag == "beach_trigger")
|
|
98
|
{
|
|
99
|
con = 50;
|
|
100
|
global.interact = 1;
|
|
101
|
obj_mainchara.x = _beach_trigger.x - 20;
|
|
102
|
}
|
|
103
|
}
|
|
104
|
}
|
|
105
|
if (con == 11 && !d_ex() && customcon == 1)
|
|
106
|
{
|
|
107
|
con = 12;
|
|
108
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
109
|
msgsetloc(0, Face D* ...Delay 11 hey,Delay 11 Kris.Wait for input"\\ED* ..^1. hey^1, Kris./", "obj_ch5_LWF02_slash_Step_0_gml_149_0" );
|
|
110
|
msgnextloc(Face R* I know this,Delay 11 probably isn't good timing.Wait for input"\\ER* I know this^1, probably isn't good timing./", "obj_ch5_LWF02_slash_Step_0_gml_150_0" );
|
|
111
|
msgnextloc(Face S* Maybe,Delay 11 it's actually the worst timing,Delay 11 but...Wait for input"\\ES* Maybe^1, it's actually the worst timing^1, but.../", "obj_ch5_LWF02_slash_Step_0_gml_151_0" );
|
|
112
|
msgnextloc(Face V* ...Wait for inputClose Message"\\EV* .../%", "obj_ch5_LWF02_slash_Step_0_gml_152_0" );
|
|
113
|
var d = d_make();
|
|
114
|
d.stay = 3;
|
|
115
|
}
|
|
116
|
if (con == 12 && !d_ex())
|
|
117
|
{
|
|
118
|
con = 13;
|
|
119
|
su_actor.sprite_index = spr_susie_head_turn_left;
|
|
120
|
global.interact = 1;
|
|
121
|
global.msc = -99;
|
|
122
|
global.choice = -1;
|
|
123
|
global.choicemsg[0] = stringsetloc(#I'll walk#with you"#I'll walk#with you", "obj_ch5_LWF02_slash_Step_0_gml_167_0" );
|
|
124
|
global.choicemsg[1] = stringsetloc(#Not now"#Not now", "obj_ch5_LWF02_slash_Step_0_gml_168_0" );
|
|
125
|
global.choicemsg[2] = stringset("");
|
|
126
|
global.choicemsg[3] = stringset("");
|
|
127
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
128
|
msgsetloc(0, Face S* Would you,Delay 11 uh...Wait for input"\\ES* Would you^1, uh.../", "obj_ch5_LWF02_slash_Step_0_gml_173_0" );
|
|
129
|
msgnextloc(Face T* Would you mind walking me home?Wait for input"\\ET* Would you mind walking me home?/", "obj_ch5_LWF02_slash_Step_0_gml_174_0" );
|
|
130
|
msgnextloc(Face S* There's...Delay 11 something I want to talk to you about.Wait for input"\\ES* There's..^1. something I want to talk to you about./", "obj_ch5_LWF02_slash_Step_0_gml_175_0" );
|
|
131
|
msgnext("\\C2 ");
|
|
132
|
var d = d_make();
|
|
133
|
}
|
|
134
|
if (con == 13 && global.choice != -1 && customcon == 1)
|
|
135
|
{
|
|
136
|
if (global.choice == 0)
|
|
137
|
{
|
|
138
|
k_d();
|
|
139
|
con = 20;
|
|
140
|
}
|
|
141
|
else
|
|
142
|
{
|
|
143
|
con = 14;
|
|
144
|
k_d(3);
|
|
145
|
global.msc = -99;
|
|
146
|
global.choice = -1;
|
|
147
|
global.choicemsg[0] = stringsetloc(... okay,#let's go#together"... okay,#let's go#together", "obj_ch5_LWF02_slash_Step_0_gml_196_0" );
|
|
148
|
global.choicemsg[1] = stringsetloc(I have#other things#to do"I have#other things#to do", "obj_ch5_LWF02_slash_Step_0_gml_197_0" );
|
|
149
|
global.choicemsg[2] = stringset("");
|
|
150
|
global.choicemsg[3] = stringset("");
|
|
151
|
su_actor.sprite_index = spr_susie_walk_left_lw_head_down;
|
|
152
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
153
|
msgsetloc(0, Face S* ...Delay 11 sure.Wait for input"\\ES* ..^1. sure./", "obj_ch5_LWF02_slash_Step_0_gml_204_0" );
|
|
154
|
msgnextloc(Face T* I mean,Delay 11 you're sure,Delay 11 right?Wait for input"\\ET* I mean^1, you're sure^1, right?/", "obj_ch5_LWF02_slash_Step_0_gml_205_0" );
|
|
155
|
msgnext("\\C2 ");
|
|
156
|
var d = d_make();
|
|
157
|
}
|
|
158
|
}
|
|
159
|
if (con == 14 && global.choice != -1 && customcon == 1)
|
|
160
|
{
|
|
161
|
k_d(3);
|
|
162
|
if (global.choice == 0)
|
|
163
|
{
|
|
164
|
con = 20;
|
|
165
|
}
|
|
166
|
else
|
|
167
|
{
|
|
168
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
}
function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1)
{
if (arg1 < 0)
scr_flag_set(arg0, arg2);
else
global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3);
} (1804, 2);
|
|
169
|
con = 30;
|
|
170
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
171
|
msgsetloc(0, Face S* ...Delay 11 right.Delay 11 Yeah.Wait for input"\\ES* ..^1. right^1. Yeah./", "obj_ch5_LWF02_slash_Step_0_gml_226_0" );
|
|
172
|
msgnextloc(Face T* Dunno why I asked twice.Wait for inputClose Message"\\ET* Dunno why I asked twice./%", "obj_ch5_LWF02_slash_Step_0_gml_227_0" );
|
|
173
|
var d = d_make();
|
|
174
|
}
|
|
175
|
}
|
|
176
|
if (con == 20 && !d_ex() && customcon == 1)
|
|
177
|
{
|
|
178
|
con = 90;
|
|
179
|
customcon = 0;
|
|
180
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
}
function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1)
{
if (arg1 < 0)
scr_flag_set(arg0, arg2);
else
global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3);
} (1804, 1);
|
|
181
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
}
function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1)
{
if (arg1 < 0)
scr_flag_set(arg0, arg2);
else
global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3);
} (1805, 0);
|
|
182
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
183
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
184
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
185
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 0, 30);
|
|
186
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
187
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
188
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
189
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (kr_actor.x - 40, kr_actor.y - 5, 30);
|
|
190
|
c_musc_mus
function c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
} ("free_all");
|
|
191
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
192
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
193
|
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 S* ...Delay 11 thanks,Delay 11 Kris.Wait for inputClose Message"\\ES* ..^1. thanks^1, Kris./%", "obj_ch5_LWF02_slash_Step_0_gml_259_0" );
|
|
194
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
195
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("initloop", "festival_night.ogg", 0);
|
|
196
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 0, 0);
|
|
197
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 1, 30);
|
|
198
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
199
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
200
|
}
|
|
201
|
if (con == 30 && !d_ex() && customcon == 1)
|
|
202
|
{
|
|
203
|
con = -1;
|
|
204
|
customcon = 0;
|
|
205
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
206
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
207
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
208
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
209
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
function c_image_speed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
210
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (1080, su_actor.y, 110);
|
|
211
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} (111, "imagespeed", 0);
|
|
212
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} (111, "imageindex", 0);
|
|
213
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} (30, "pan", 1000, cameray(), 80);
|
|
214
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
215
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (1440, kr_actor.y, 130);
|
|
216
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (80);
|
|
217
|
c_snd_play(snd_grab);
|
|
218
|
c_snd_play(snd_hurt1);
|
|
219
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
220
|
c_snd_play(snd_squeaky);
|
|
221
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
222
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_surprised_left_lw);
|
|
223
|
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);
|
|
224
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
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);
} ("susieunhappy");
|
|
227
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
228
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
229
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("krislight_balloon");
|
|
230
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (1330, su_actor.y + 6);
|
|
231
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
232
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (su_actor.x + 20, su_actor.y + 6, 110);
|
|
233
|
c_wait_ifc_wait_if
function c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
} (kr_actor, "x", "<=", su_actor.x + 20);
|
|
234
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
235
|
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* ...Delay 11 huh?Delay 11 What,Delay 11 just you wanted to get a balloon first?Wait for inputClose Message"\\E6* ..^1. huh^1? What^1, just you wanted to get a balloon first?/%", "obj_ch5_LWF02_slash_Step_0_gml_325_0" );
|
|
236
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
237
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
238
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
239
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_lw_unhappy);
|
|
240
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (su_actor.x - 10, su_actor.y, 20);
|
|
241
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
242
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
243
|
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 9* Dumbass.Delay 11 I'm gonna pop it.Wait for input"\\E9* Dumbass^1. I'm gonna pop it./", "obj_ch5_LWF02_slash_Step_0_gml_335_0" );
|
|
244
|
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* ...Delay 11 c'mon,Delay 11 don't look so pissed.Wait for inputClose Message"\\EK* ..^1. c'mon^1, don't look so pissed./%", "obj_ch5_LWF02_slash_Step_0_gml_336_0" );
|
|
245
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
246
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
function c_wait_msg(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
247
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
248
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_lw);
|
|
249
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
250
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 0, 20);
|
|
251
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
252
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
253
|
c_musc_mus
function c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
} ("free_all");
|
|
254
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
255
|
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 L* Let's go.Wait for inputClose Message"\\EL* Let's go./%", "obj_ch5_LWF02_slash_Step_0_gml_353_0" );
|
|
256
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
257
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("initloop", "festival_night.ogg", 0);
|
|
258
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 0, 0);
|
|
259
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 1, 30);
|
|
260
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
261
|
var pan_x_pos = 700;
|
|
262
|
var pan_y_pos = cameray();
|
|
263
|
var pan_time = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (camerax(), cameray(), pan_x_pos, pan_y_pos, 2);
|
|
264
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (pan_x_pos, cameray(), pan_time);
|
|
265
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
266
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
267
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
function c_image_speed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
268
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (840, 114, pan_time);
|
|
269
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
270
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
271
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
function c_image_speed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
272
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (870, 120, pan_time);
|
|
273
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
274
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
275
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_head_turn_left);
|
|
276
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
277
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
278
|
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* ...Delay 11 hey,Delay 11 the lights are still up.Wait for input"\\EA* ..^1. hey^1, the lights are still up./", "obj_ch5_LWF02_slash_Step_0_gml_382_0" );
|
|
279
|
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 S* ...Delay 11 kinda.Delay 11 Heh.Wait for inputClose Message"\\ES* ..^1. kinda^1. Heh./%", "obj_ch5_LWF02_slash_Step_0_gml_383_0" );
|
|
280
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
281
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
282
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
283
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
function c_image_speed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
284
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_lw);
|
|
285
|
c_walkdirect_speedc_walkdirect_speed
function c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
} (700, 114, 2);
|
|
286
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
287
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
288
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
function c_image_speed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
289
|
c_walkdirect_speedc_walkdirect_speed
function c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
} (730, 120, 2);
|
|
290
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
291
|
c_var_lerp_instancec_var_lerp_instance
function 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]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (blackall, "image_alpha", 0, 1, 60);
|
|
292
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (90);
|
|
293
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
} (function()
|
|
294
|
{
|
|
295
|
instance_create(0, 0, obj_persistentfadein);
|
|
296
|
room_goto(room_town_mid );
|
|
297
|
});
|
|
298
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
299
|
}
|
|
300
|
if (con == 50)
|
|
301
|
{
|
|
302
|
con = 52;
|
|
303
|
if (_beach_trigger_con == 0)
|
|
304
|
{
|
|
305
|
_beach_trigger_con++;
|
|
306
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
307
|
msgsetloc(0, Face D* We...Delay 11 don't need to go to the beach,Delay 11 right?Wait for input"\\ED* We..^1. don't need to go to the beach^1, right?/", "obj_ch5_LWF02_slash_Step_0_gml_424_0" );
|
|
308
|
msgnextloc(Face N* Not the two of us.Wait for inputClose Message"\\EN* Not the two of us./%", "obj_ch5_LWF02_slash_Step_0_gml_425_0" );
|
|
309
|
d_make();
|
|
310
|
}
|
|
311
|
else
|
|
312
|
{
|
|
313
|
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 (global.darkzone == 1)
global.typer = 89;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
314
|
msgsetloc(0, Face D* ...Wait for inputClose Message"\\ED* .../%", "obj_ch5_LWF02_slash_Step_0_gml_430_0" );
|
|
315
|
d_make();
|
|
316
|
}
|
|
317
|
}
|
|
318
|
if (con == 52 && !d_ex())
|
|
319
|
{
|
|
320
|
con = 10;
|
|
321
|
global.interact = 0;
|
|
322
|
}
|
|
323
|
if (con == 90 && !d_ex() && customcon == 1)
|
|
324
|
{
|
|
325
|
con = 100;
|
|
326
|
customcon = 0;
|
|
327
|
global.facing = 0;
|
|
328
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
329
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
330
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
331
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
332
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
function c_actortocaterpillarstill()
{
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
} ();
|
|
333
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
334
|
}
|
|
335
|
if (con == 100 && !d_ex() && !i_ex(obj_cutscene_master))
|
|
336
|
{
|
|
337
|
con = -1;
|
|
338
|
global.interact = 0;
|
|
339
|
global.plot = 570;
|
|
340
|
var town_convo = instance_create(0, 0, obj_ch5_LWF_town_north);
|
|
341
|
with (town_convo)
|
|
342
|
enable();
|
|
343
|
}
|