|
1
|
if (juice_success && !d_ex() && !susie_check)
|
|
2
|
{
|
|
3
|
susie_check = true;
|
|
4
|
susie_con = 1;
|
|
5
|
global.interact = 1;
|
|
6
|
facing_temp = global.facing;
|
|
7
|
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);
} (719, 1);
|
|
8
|
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");
|
|
9
|
msgsetloc(0, Face 7* Woah,Delay 11 nice juice combo. Looks cool.Wait for inputClose Message"\\E7* Woah^1, nice juice combo. Looks cool./%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_15_0" );
|
|
10
|
d_make();
|
|
11
|
}
|
|
12
|
if (susie_con == 1 && !d_ex())
|
|
13
|
{
|
|
14
|
susie_con = 2;
|
|
15
|
global.interact = 0;
|
|
16
|
}
|
|
17
|
if (con == 1 && !d_ex())
|
|
18
|
{
|
|
19
|
con = 3;
|
|
20
|
facing_temp = global.facing;
|
|
21
|
if (talked == 0)
|
|
22
|
{
|
|
23
|
talked++;
|
|
24
|
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;
} ();
|
|
25
|
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;
}
}
}
} ();
|
|
26
|
al = actor_count + 1;
|
|
27
|
al_actor = instance_create(x, y, obj_actor);
|
|
28
|
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);
}
} (al, al_actor, "alphys");
|
|
29
|
al_actor.sprite_index = alphys_npc.sprite_index;
|
|
30
|
if (global.facing == 0)
|
|
31
|
{
|
|
32
|
al_actor.sprite_index = spr_alphysu;
|
|
33
|
alphys_npc.sprite_index = spr_alphysu;
|
|
34
|
}
|
|
35
|
else
|
|
36
|
{
|
|
37
|
al_actor.sprite_index = spr_alphys_no_juice;
|
|
38
|
alphys_npc.sprite_index = spr_alphys_no_juice;
|
|
39
|
}
|
|
40
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (alphys_npc, "visible", 0);
|
|
41
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
42
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
43
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 0* Kris!Delay 11 A nice surprise seeing you here!Delay 11 I...Wait for inputClose Message"\\E0* Kris^1! A nice surprise seeing you here^1! I.../%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_63_0" );
|
|
44
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
45
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
46
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
47
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
48
|
var cough_delay = 0;
|
|
49
|
repeat (3)
|
|
50
|
{
|
|
51
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (cough_delay, "soundplay", snd_txtal);
|
|
52
|
cough_delay += 3;
|
|
53
|
}
|
|
54
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_cough);
|
|
55
|
c_animatec_animate
function c_animate(arg0, arg1, arg2)
{
c_cmd("animate", arg0, arg1, arg2, 0);
} (0, -1, 0.5);
|
|
56
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
57
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphysl_unhappy);
|
|
58
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (45);
|
|
59
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
60
|
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 4* (Darn,Delay 11 I need a drink,Delay 11 but...Delay 11 Susie's over there,Delay 11 and...)Wait for input"\\E4* (Darn^1, I need a drink^1, but..^1. Susie's over there^1, and...)/", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_85_0" );
|
|
61
|
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 9* (If I go make my 25% red and 75% yellow juice combo...)Wait for input"\\E9* (If I go make my \\cR25`% red\\cW and \\cY75`% yellow\\cW juice combo...)/", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_86_0" );
|
|
62
|
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 8* (I know she'll...Delay 11 make fun of me for it somehow.)Wait for inputClose Message"\\E8* (I know she'll..^1. make fun of me for it somehow.)/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_87_0" );
|
|
63
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
64
|
if (global.facing == 0)
|
|
65
|
{
|
|
66
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
67
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphysu);
|
|
68
|
}
|
|
69
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (alphys_npc, "visible", 1);
|
|
70
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
71
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
72
|
}
|
|
73
|
else 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);
} (720) == 0)
|
|
74
|
{
|
|
75
|
if (global.facing == 0)
|
|
76
|
alphys_npc.sprite_index = spr_alphysu;
|
|
77
|
else
|
|
78
|
alphys_npc.sprite_index = spr_alphys_no_juice;
|
|
79
|
if (!juice_success)
|
|
80
|
{
|
|
81
|
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;
... ("alphys");
|
|
82
|
msgsetloc(0, Face 9* (I really want a 25% red 75% yellow drink but...)Wait for inputClose Message"\\E9* (I really want a \\cR25`% red\\cW \\cY75`% yellow\\cW drink but...)/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_116_0" );
|
|
83
|
d = d_make();
|
|
84
|
d.side = 0;
|
|
85
|
}
|
|
86
|
else
|
|
87
|
{
|
|
88
|
con = 20;
|
|
89
|
global.msc = 1315;
|
|
90
|
scr_textscr_text
function scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc(* You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc(* Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc(Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc(* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc(* It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc(* You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (var i = 0; i < 12; i += 1)
global.item[i] = 0;
for (var i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc(* You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc(* Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc(Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc(Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc(Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc(Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc(Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc(Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc(Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc(* We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc(Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc(* How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if (global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc(* (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc(* (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc(* (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc);
|
|
91
|
d = d_make();
|
|
92
|
d.side = 0;
|
|
93
|
}
|
|
94
|
}
|
|
95
|
else
|
|
96
|
{
|
|
97
|
con = 30;
|
|
98
|
}
|
|
99
|
}
|
|
100
|
if (con == 3 && !d_ex() && !i_ex(obj_cutscene_master))
|
|
101
|
{
|
|
102
|
con = 99;
|
|
103
|
global.interact = 0;
|
|
104
|
global.facing = facing_temp;
|
|
105
|
with (alphys_npc)
|
|
106
|
{
|
|
107
|
myinteract = 0;
|
|
108
|
with (obj_mainchara)
|
|
109
|
onebuffer = 5;
|
|
110
|
}
|
|
111
|
}
|
|
112
|
if (con == 30 && !d_ex())
|
|
113
|
{
|
|
114
|
con = 32;
|
|
115
|
global.interact = 1;
|
|
116
|
facing_temp = global.facing;
|
|
117
|
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;
} ();
|
|
118
|
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;
}
}
}
} ();
|
|
119
|
juice_cup = 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;
} (670, 547, spr_church_cup);
|
|
120
|
juice_cup.depth = kr_actor.depth - 10;
|
|
121
|
juice_cup.visible = 0;
|
|
122
|
al = actor_count + 1;
|
|
123
|
al_actor = instance_create(x, y, obj_actor);
|
|
124
|
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);
}
} (al, al_actor, "alphys");
|
|
125
|
al_actor.sprite_index = alphys_npc.sprite_index;
|
|
126
|
if (global.facing == 0)
|
|
127
|
{
|
|
128
|
al_actor.sprite_index = spr_alphysu;
|
|
129
|
alphys_npc.sprite_index = spr_alphysu;
|
|
130
|
}
|
|
131
|
else
|
|
132
|
{
|
|
133
|
al_actor.sprite_index = spr_alphys_no_juice;
|
|
134
|
alphys_npc.sprite_index = spr_alphys_no_juice;
|
|
135
|
}
|
|
136
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (alphys_npc, "visible", 0);
|
|
137
|
if (global.facing == 0)
|
|
138
|
{
|
|
139
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
140
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphysu);
|
|
141
|
}
|
|
142
|
else
|
|
143
|
{
|
|
144
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
145
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_no_juice);
|
|
146
|
}
|
|
147
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
148
|
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);
} (720) == 0)
|
|
149
|
{
|
|
150
|
giving_juice = true;
|
|
151
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
152
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (652, 516, 15);
|
|
153
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_walk_right_church);
|
|
154
|
if (global.choice == 0)
|
|
155
|
{
|
|
156
|
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);
} (720, 1);
|
|
157
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
158
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_church_cup_give);
|
|
159
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
160
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_no_juice);
|
|
161
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
162
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
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 0* Ahh,Delay 11 Kris!Delay 11 Phew!Delay 11 What a relief!Wait for inputClose Message"\\E0* Ahh^1, Kris^1! Phew^1! What a relief!/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_213_0" );
|
|
164
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
165
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
166
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_walk_right_church);
|
|
167
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
168
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_juice_hold);
|
|
169
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
170
|
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_swallow);
|
|
171
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
172
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_juice_drink);
|
|
173
|
c_animatec_animate
function c_animate(arg0, arg1, arg2)
{
c_cmd("animate", arg0, arg1, arg2, 0);
} (0, 1, 15);
|
|
174
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (45);
|
|
175
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_no_juice);
|
|
176
|
}
|
|
177
|
if (global.choice == 1)
|
|
178
|
{
|
|
179
|
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);
} (720, 2);
|
|
180
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
181
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_no_juice);
|
|
182
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
183
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_church_cup_right);
|
|
184
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
185
|
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_swallow);
|
|
186
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
187
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
188
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_church_juice_drink);
|
|
189
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
190
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
191
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
192
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphysl_unhappy);
|
|
193
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
194
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_church_cup_drop);
|
|
195
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
196
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
197
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
198
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
199
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (2);
|
|
200
|
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_bump);
|
|
201
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (juice_cup, "visible", 1);
|
|
202
|
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);
} (juice_cup, "x", 670, 673, 5);
|
|
203
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
204
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
205
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_walk_right_church);
|
|
206
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
207
|
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 5* ...Wait for inputClose Message"\\E5* .../%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_277_0" );
|
|
208
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
209
|
var cough_delay = 0;
|
|
210
|
repeat (3)
|
|
211
|
{
|
|
212
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (cough_delay, "soundplay", snd_txtal);
|
|
213
|
cough_delay += 3;
|
|
214
|
}
|
|
215
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (al);
|
|
216
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
217
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_cough);
|
|
218
|
c_animatec_animate
function c_animate(arg0, arg1, arg2)
{
c_cmd("animate", arg0, arg1, arg2, 0);
} (0, 1, 15);
|
|
219
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
220
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_alphys_no_juice);
|
|
221
|
}
|
|
222
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (90);
|
|
223
|
}
|
|
224
|
c_mscc_msc
function c_msc(arg0)
{
c_cmd("msc", arg0, 0, 0, 0);
} (1317);
|
|
225
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
226
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
227
|
}
|
|
228
|
if (con == 50 && !d_ex() && customcon == 1)
|
|
229
|
{
|
|
230
|
con = 999;
|
|
231
|
customcon = 0;
|
|
232
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
233
|
if (global.choice == 0)
|
|
234
|
{
|
|
235
|
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);
} (722) == 0)
|
|
236
|
{
|
|
237
|
con = 51;
|
|
238
|
c_mscc_msc
function c_msc(arg0)
{
c_cmd("msc", arg0, 0, 0, 0);
} (1319);
|
|
239
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
240
|
}
|
|
241
|
else
|
|
242
|
{
|
|
243
|
con = 61;
|
|
244
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
245
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 0* Umm,Delay 11 Kris,Delay 11 if you want to know more about the shelter...Wait for input"\\E0* Umm^1, Kris^1, if you want to know more about the shelter.../", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_328_0" );
|
|
246
|
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* Ask the Mayor and Officer Undyne.Wait for input"\\E5* Ask the Mayor and Officer Undyne./", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_329_0" );
|
|
247
|
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);
} (722) == 1)
|
|
248
|
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 7* ...Delay 11 I can,Delay 11 um,Delay 11 help you with the architecture though!Wait for inputClose Message"\\E7* ..^1. I can^1, um^1, help you with the architecture though!/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_335_0" );
|
|
249
|
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);
} (722) == 2)
|
|
250
|
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 4* ...Delay 11 and,Delay 11 I recommend forgetting about the hay.Wait for inputClose Message"\\E4* ..^1. and^1, I recommend forgetting about the hay./%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_342_0" );
|
|
251
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
252
|
}
|
|
253
|
}
|
|
254
|
if (global.choice == 1)
|
|
255
|
{
|
|
256
|
con = 61;
|
|
257
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
258
|
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 5* ...Delay 11 Thanks for the enthusiasm,Delay 11 Kris.Wait for inputClose Message"\\E5* ..^1. Thanks for the enthusiasm^1, Kris./%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_354_0" );
|
|
259
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
260
|
}
|
|
261
|
if (global.choice == 2)
|
|
262
|
{
|
|
263
|
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);
} (723, 1);
|
|
264
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("alphys");
|
|
265
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 0* Yesterday evening,Delay 11 Officer Undyne actually invited me here!Wait for input"\\E0* Yesterday evening^1, Officer Undyne actually invited me here!/", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_363_0" );
|
|
266
|
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 7* She said you know,Delay 11 I've been in town a while...Wait for input"\\E7* She said you know^1, I've been in town a while.../", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_364_0" );
|
|
267
|
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* I should...Delay 11 m-make some more friends,Delay 11 you know?Wait for input"\\E5* I should..^1. m-make some more friends^1, you know?/", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_365_0" );
|
|
268
|
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 4* ...Delay 11 Which is,Delay 11 why it's kind of awkward,Delay 11 s-she's not even here...Wait for input"\\E4* ..^1. Which is^1, why it's kind of awkward^1, s-she's not even here.../", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_366_0" );
|
|
269
|
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* I...Delay 11 I actually can't even...Delay 11 reach her at all,Delay 11 eheh...Wait for input"\\E5* I..^1. I actually can't even..^1. reach her at all^1, eheh.../", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_367_0" );
|
|
270
|
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 9* ...Wait for inputClose Message"\\E9* .../%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_368_0" );
|
|
271
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
272
|
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);
} (342) == 3)
|
|
273
|
{
|
|
274
|
con = 60;
|
|
275
|
c_mscc_msc
function c_msc(arg0)
{
c_cmd("msc", arg0, 0, 0, 0);
} (1321);
|
|
276
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
277
|
}
|
|
278
|
else
|
|
279
|
{
|
|
280
|
con = 61;
|
|
281
|
}
|
|
282
|
}
|
|
283
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
284
|
}
|
|
285
|
if (con == 60 && !d_ex() && customcon == 1)
|
|
286
|
{
|
|
287
|
con = 61;
|
|
288
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
289
|
with (alphys_npc)
|
|
290
|
{
|
|
291
|
visible = 1;
|
|
292
|
myinteract = 0;
|
|
293
|
with (obj_mainchara)
|
|
294
|
onebuffer = 5;
|
|
295
|
}
|
|
296
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
297
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
298
|
}
|
|
299
|
if (con == 61 && !d_ex() && customcon == 1)
|
|
300
|
{
|
|
301
|
con = 62;
|
|
302
|
customcon = 0;
|
|
303
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
304
|
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);
} (722) > 0)
|
|
305
|
{
|
|
306
|
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);
} (1621) == 0)
|
|
307
|
{
|
|
308
|
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);
} (1621, 1);
|
|
309
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
310
|
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);
} (1619) == 0)
|
|
311
|
{
|
|
312
|
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);
} (1619, 1);
|
|
313
|
with (obj_ch4_PDC04)
|
|
314
|
found_clue();
|
|
315
|
global.writersnd[0] = snd_item;
|
|
316
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("no_name");
|
|
317
|
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, \S0* (Felt like useful information.)Wait for inputClose Message"\\S0* (Felt like useful information.)/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_435_0" );
|
|
318
|
}
|
|
319
|
else 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);
} (1620) == 1 || 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);
} (1657) == 1)
|
|
320
|
{
|
|
321
|
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);
} (1619) == 1)
|
|
322
|
{
|
|
323
|
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);
} (1619, 2);
|
|
324
|
with (obj_ch4_PDC04)
|
|
325
|
susie_ready();
|
|
326
|
}
|
|
327
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("no_name");
|
|
328
|
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, * (...Delay 11 Felt like you gathered enough clues to tell Susie.)Wait for inputClose Message"* (..^1. Felt like you gathered enough clues to tell Susie.)/%", "obj_ch4_PDC03A_alphys_juice_slash_Step_0_gml_446_0" );
|
|
329
|
}
|
|
330
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
331
|
}
|
|
332
|
}
|
|
333
|
if (giving_juice)
|
|
334
|
{
|
|
335
|
giving_juice = false;
|
|
336
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
337
|
c_panobjc_panobj
function c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
} (kr_actor, 10);
|
|
338
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (11);
|
|
339
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
340
|
}
|
|
341
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (alphys_npc, "sprite_index", al_actor.sprite_index);
|
|
342
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (alphys_npc, "visible", 1);
|
|
343
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
344
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
345
|
}
|
|
346
|
if (con == 62 && !i_ex(obj_cutscene_master))
|
|
347
|
{
|
|
348
|
con = 99;
|
|
349
|
global.interact = 0;
|
|
350
|
global.facing = facing_temp;
|
|
351
|
}
|