|
1
|
function scr_litemusebscr_litemuseb
function scr_litemuseb(arg0, arg1)
{
if (scr_sideb_active() && arg1 != 20)
{
scr_speaker("no_name");
scr_text(1455);
scr_writetext(0, "x", 0, 0);
exit;
}
var is_weapon = get_weapon_by_lw_id(arg1) != -4;
if (is_weapon && !scr_lweapon_can_equip(arg1))
{
scr_speaker("no_name");
msgsetloc(0, * For some reason you couldn't equip it.Wait for inputClose Message"* For some reason you couldn't equip it./%", "scr_litemuseb_slash_scr_litemuseb_gml_10_0" );
scr_writetext(0, "x", 0, 0);
exit;
}
switch (arg1)
{
case 0:
global.msg[0] = stringsetloc(* You grasped at nothing.Wait for inputClose MessageClose Message"* You grasped at nothing./%%", "scr_litemuseb_slash_scr_litemuseb_gml_6_0" );
break;
case 1:
global.msg[0] = stringsetloc(* You drank the hot chocolate.Delay 11 * It tasted wonderful.Delay 11 * Your throat tightened...Wait for inputClose Message"* You drank the hot chocolate^1.&* It tasted wonderful^1.&* Your throat tightened.../%", "scr_litemuseb_slash_scr_litemuseb_gml_9_0" );
snd_play(snd_swallow);
scr_writetext(0, "x", 0, 0);
script_execute(scr_litemshift, arg0, 0);
break;
case 2:
global.msg[0] = stringsetloc(* You equipped the Pencil.Wait for inputClose Message"* You equipped the Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_18_0" );
scr_lweaponeq(arg0, arg1);
snd_play(snd_item);
scr_writetext(0, "x", 0, 0);
break;
case 3:
global.msg[0] = stringsetloc(* You re-applied the bandage."* You re-applied the bandage.", "scr_litemuseb_slash_scr_litemuseb_gml_26_0" );
script_execute(scr_lrecoitem, 1);
script_execute(scr_litemshift, arg0, 0);
break;
case 4:
global.msg[0] = stringsetloc(* You held out the flowers.Delay 11 * A floral scent fills the air.Delay 11 * Nothing happened.Wait for inputClose Message"* You held out the flowers^1.&* A floral scent fills the air^1.&* Nothing happened./%", "scr_litemuseb_slash_scr_litemuseb_gml_34_0" );
scr_writetext(0, "x", 0, 0);
break;
case 5:
global.msg[0] = stringsetloc(* You looked at the junk ball in admiration.Delay 11 * Nothing happened.Wait for inputClose Message"* You looked at the junk ball in admiration^1.&* Nothing happened./%", "scr_litemuseb_slash_scr_litemuseb_gml_42_0" );
scr_writetext(0, "x", 0, 0);
break;
case 6:
global.msg[0] = stringsetloc(* You equipped the Halloween Pencil.Wait for inputClose Message"* You equipped the Halloween Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_48_0" );
scr_lweaponeq(arg0, arg1);
snd_play(snd_item);
scr_writetext(0, "x", 0, 0);
break;
case 7:
global.msg[0] = stringsetloc(* You equipped the Lucky Pencil.Wait for inputClose Message"* You equipped the Lucky Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_56_0" );
scr_lweaponeq(arg0, arg1);
snd_play(snd_item);
scr_writetext(0, "x", 0, 0);
break;
case 8:
global.msg[0] = stringsetloc(* You used the Egg.Wait for inputClose Message"* You used the Egg./%", "scr_litemuseb_slash_scr_litemuseb_gml_63_0" );
snd_play(snd_egg);
scr_writetext(0, "x", 0, 0);
break;
case 9:
msgsetloc(0, * You held the cards.Delay 11 * They felt flimsy between your fingers.Wait for inputClose Message"* You held the cards^1.&* They felt flimsy between your fingers./%", "scr_litemuseb_slash_scr_litemuseb_gml_69_0" );
scr_writetext(0, "x", 0, 0);
break;
case 10:
var consume_item = 0;
var have_susie = scr_havechar(2);
var sans_npc = 0;
if (i_ex(obj_marker))
{
with (obj_marker)
{
if (sprite_index == spr_sans_d && abs(obj_mainchara.x - x) <= 20 && abs(obj_mainchara.y - y) <= 40)
sans_npc = 1;
}
}
var alphys_npc = 0;
if (i_ex(obj_npc_sign))
{
with (obj_npc_sign)
{
if (sprite_index == spr_alphysd && abs(obj_mainchara.x - x) <= 20 && abs(obj_mainchara.y - y) <= 40)
alphys_npc = 1;
}
}
if (sans_npc)
{
consume_item = 1;
global.lgold += 5;
global.flag[342 chocolates_who_gave] = 4;
scr_speaker("sans");
msgsetloc(0, * what? a heart shaped box of chocolates?Wait for input"* what? a heart shaped box of chocolates?/", "scr_litemuseb_slash_scr_litemuseb_gml_107_0" );
msgnextloc(Face 3* oh,Delay 11 i get it.Wait for input"\\E3* oh^1, i get it./", "scr_litemuseb_slash_scr_litemuseb_gml_108_0" );
msgnextloc(Face 2* heh.Wait for input"\\E2* heh./", "scr_litemuseb_slash_scr_litemuseb_gml_109_0" );
msgnextloc(* wow.Wait for input"* wow./", "scr_litemuseb_slash_scr_litemuseb_gml_110_0" );
msgnextloc(Face 0* you're really...Wait for input"\\E0* you're really.../", "scr_litemuseb_slash_scr_litemuseb_gml_111_0" );
msgnextloc(* hm.Wait for input"* hm./", "scr_litemuseb_slash_scr_litemuseb_gml_112_0" );
... (arg0, arg1)
|
|
2
|
{
|
|
3
|
if (scr_sideb_active() && arg1 != 20)
|
|
4
|
{
|
|
5
|
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;
... ("no_name");
|
|
6
|
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:
... (1455);
|
|
7
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
8
|
exit;
|
|
9
|
}
|
|
10
|
var is_weapon = get_weapon_by_lw_id(arg1) != -4;
|
|
11
|
if (is_weapon && !scr_lweapon_can_equipscr_lweapon_can_equip
function scr_lweapon_can_equip(arg0)
{
var weapon = get_weapon_by_lw_id(arg0);
var have_dw_weapon = false;
if (weapon == -4)
show_debug_message("Error: couldn't find light world weapon by id " + string(arg0));
else
have_dw_weapon = scr_weaponcheck_inventory(weapon.dw_id) == 1 || scr_weaponcheck_equipped_any(weapon.dw_id) >= 1;
return have_dw_weapon;
}
function scr_equip_dw_weapon_by_lw_id(arg0)
{
var weapon = get_weapon_by_lw_id(arg0);
var old_equip = global.charweapon[1];
global.charweapon[1] = weapon.dw_id;
for (var i = 0; i < array_length_1d(global.weapon); i++)
{
if (global.weapon[i] == weapon.dw_id)
{
global.weapon[i] = old_equip;
break;
}
}
scr_weaponinfo_mine();
scr_weaponinfo_all();
}
function scr_equip_lw_weapon_by_dw_id(arg0)
{
var weapon = get_weapon_by_dw_id(arg0);
global.lweapon = weapon.lw_id;
var weapon_list = get_lw_dw_weapon_list();
for (var i = 0; i < array_length_1d(global.litem); i++)
{
for (var j = 0; j < array_length_1d(weapon_list); j++)
{
if (global.litem[i] == weapon_list[j].lw_id)
scr_litemremove(global.litem[i]);
}
}
}
function is_lw_item_weapon_type(arg0)
{
var weapon = -4;
var weapon_id = arg0;
var weapon_list = get_lw_dw_weapon_list();
for (var i = 0; i < array_length_1d(weapon_list); i++)
{
if (weapon_id == weapon_list[i].lw_id)
{
weapon = weapon_list[i];
break;
}
}
return weapon != -4;
}
function get_weapon_by_lw_id(arg0)
{
var weapon = -4;
var weapon_id = arg0;
var weapon_list = get_lw_dw_weapon_list();
for (var i = 0; i < array_length_1d(weapon_list); i++)
{
if (weapon_id == weapon_list[i].lw_id)
{
weapon = weapon_list[i];
break;
}
}
if (weapon == -4)
weapon = weapon_list[0];
return weapon;
}
function get_weapon_by_dw_id(arg0)
{
var weapon = -4;
var weapon_id = arg0;
var weapon_list = get_lw_dw_weapon_list();
for (var i = 0; i < array_length_1d(weapon_list); i++)
{
if (weapon_id == weapon_list[i].dw_id)
{
weapon = weapon_list[i];
break;
}
}
if (weapon == -4)
weapon = weapon_list[0];
return weapon;
}
function get_lw_weapon_strength(arg0)
{
return get_weapon_by_lw_id(arg0).lw_strength;
}
function get_lw_dw_weapon_list()
... (arg1))
|
|
12
|
{
|
|
13
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "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;
... ("no_name");
|
|
14
|
msgsetloc(0, * For some reason you couldn't equip it.Wait for inputClose Message"* For some reason you couldn't equip it./%", "scr_litemuseb_slash_scr_litemuseb_gml_10_0" );
|
|
15
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
16
|
exit;
|
|
17
|
}
|
|
18
|
switch (arg1)
|
|
19
|
{
|
|
20
|
case 0:
|
|
21
|
global.msg[0] = stringsetloc(* You grasped at nothing.Wait for inputClose MessageClose Message"* You grasped at nothing./%%", "scr_litemuseb_slash_scr_litemuseb_gml_6_0" );
|
|
22
|
break;
|
|
23
|
case 1:
|
|
24
|
global.msg[0] = stringsetloc(* You drank the hot chocolate.Delay 11 * It tasted wonderful.Delay 11 * Your throat tightened...Wait for inputClose Message"* You drank the hot chocolate^1.&* It tasted wonderful^1.&* Your throat tightened.../%", "scr_litemuseb_slash_scr_litemuseb_gml_9_0" );
|
|
25
|
snd_play(snd_swallow);
|
|
26
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
27
|
script_execute(scr_litemshift, arg0, 0);
|
|
28
|
break;
|
|
29
|
case 2:
|
|
30
|
global.msg[0] = stringsetloc(* You equipped the Pencil.Wait for inputClose Message"* You equipped the Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_18_0" );
|
|
31
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
32
|
snd_play(snd_item);
|
|
33
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
34
|
break;
|
|
35
|
case 3:
|
|
36
|
global.msg[0] = stringsetloc(* You re-applied the bandage."* You re-applied the bandage.", "scr_litemuseb_slash_scr_litemuseb_gml_26_0" );
|
|
37
|
script_execute(scr_lrecoitem, 1);
|
|
38
|
script_execute(scr_litemshift, arg0, 0);
|
|
39
|
break;
|
|
40
|
case 4:
|
|
41
|
global.msg[0] = stringsetloc(* You held out the flowers.Delay 11 * A floral scent fills the air.Delay 11 * Nothing happened.Wait for inputClose Message"* You held out the flowers^1.&* A floral scent fills the air^1.&* Nothing happened./%", "scr_litemuseb_slash_scr_litemuseb_gml_34_0" );
|
|
42
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
43
|
break;
|
|
44
|
case 5:
|
|
45
|
global.msg[0] = stringsetloc(* You looked at the junk ball in admiration.Delay 11 * Nothing happened.Wait for inputClose Message"* You looked at the junk ball in admiration^1.&* Nothing happened./%", "scr_litemuseb_slash_scr_litemuseb_gml_42_0" );
|
|
46
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
47
|
break;
|
|
48
|
case 6:
|
|
49
|
global.msg[0] = stringsetloc(* You equipped the Halloween Pencil.Wait for inputClose Message"* You equipped the Halloween Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_48_0" );
|
|
50
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
51
|
snd_play(snd_item);
|
|
52
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
53
|
break;
|
|
54
|
case 7:
|
|
55
|
global.msg[0] = stringsetloc(* You equipped the Lucky Pencil.Wait for inputClose Message"* You equipped the Lucky Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_56_0" );
|
|
56
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
57
|
snd_play(snd_item);
|
|
58
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
59
|
break;
|
|
60
|
case 8:
|
|
61
|
global.msg[0] = stringsetloc(* You used the Egg.Wait for inputClose Message"* You used the Egg./%", "scr_litemuseb_slash_scr_litemuseb_gml_63_0" );
|
|
62
|
snd_play(snd_egg);
|
|
63
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
64
|
break;
|
|
65
|
case 9:
|
|
66
|
msgsetloc(0, * You held the cards.Delay 11 * They felt flimsy between your fingers.Wait for inputClose Message"* You held the cards^1.&* They felt flimsy between your fingers./%", "scr_litemuseb_slash_scr_litemuseb_gml_69_0" );
|
|
67
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
68
|
break;
|
|
69
|
case 10:
|
|
70
|
var consume_item = 0;
|
|
71
|
var have_susie = scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2);
|
|
72
|
var sans_npc = 0;
|
|
73
|
if (i_ex(obj_marker))
|
|
74
|
{
|
|
75
|
with (obj_marker)
|
|
76
|
{
|
|
77
|
if (sprite_index == spr_sans_d && abs(obj_mainchara.x - x) <= 20 && abs(obj_mainchara.y - y) <= 40)
|
|
78
|
sans_npc = 1;
|
|
79
|
}
|
|
80
|
}
|
|
81
|
var alphys_npc = 0;
|
|
82
|
if (i_ex(obj_npc_sign))
|
|
83
|
{
|
|
84
|
with (obj_npc_sign)
|
|
85
|
{
|
|
86
|
if (sprite_index == spr_alphysd && abs(obj_mainchara.x - x) <= 20 && abs(obj_mainchara.y - y) <= 40)
|
|
87
|
alphys_npc = 1;
|
|
88
|
}
|
|
89
|
}
|
|
90
|
if (sans_npc)
|
|
91
|
{
|
|
92
|
consume_item = 1;
|
|
93
|
global.lgold += 5;
|
|
94
|
global.flag[342 chocolates_who_gave] = 4;
|
|
95
|
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;
... ("sans");
|
|
96
|
msgsetloc(0, * what? a heart shaped box of chocolates?Wait for input"* what? a heart shaped box of chocolates?/", "scr_litemuseb_slash_scr_litemuseb_gml_107_0" );
|
|
97
|
msgnextloc(Face 3* oh,Delay 11 i get it.Wait for input"\\E3* oh^1, i get it./", "scr_litemuseb_slash_scr_litemuseb_gml_108_0" );
|
|
98
|
msgnextloc(Face 2* heh.Wait for input"\\E2* heh./", "scr_litemuseb_slash_scr_litemuseb_gml_109_0" );
|
|
99
|
msgnextloc(* wow.Wait for input"* wow./", "scr_litemuseb_slash_scr_litemuseb_gml_110_0" );
|
|
100
|
msgnextloc(Face 0* you're really...Wait for input"\\E0* you're really.../", "scr_litemuseb_slash_scr_litemuseb_gml_111_0" );
|
|
101
|
msgnextloc(* hm.Wait for input"* hm./", "scr_litemuseb_slash_scr_litemuseb_gml_112_0" );
|
|
102
|
msgnextloc(Face 1* alright,Delay 11 alright.Wait for input"\\E1* alright^1, alright./", "scr_litemuseb_slash_scr_litemuseb_gml_113_0" );
|
|
103
|
msgnextloc(Face 0* ...Delay 11 okay.Wait for input"\\E0* ..^1. okay./", "scr_litemuseb_slash_scr_litemuseb_gml_114_0" );
|
|
104
|
msgnextloc(Face 3* you wanna make a return on these,Delay 11 don't you?Wait for input"\\E3* you wanna make a return on these^1, don't you?/", "scr_litemuseb_slash_scr_litemuseb_gml_115_0" );
|
|
105
|
msgnextloc(Face 5* okay,Delay 11 okay,Delay 11 no need to break my heart.Wait for input"\\E5* okay^1, okay^1, no need to break my heart./", "scr_litemuseb_slash_scr_litemuseb_gml_116_0_b" );
|
|
106
|
msgnextloc(Face 0* here's five dollars.Wait for input"\\E0* here's five dollars./", "scr_litemuseb_slash_scr_litemuseb_gml_117_0_b" );
|
|
107
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
108
|
msgnextloc(* (You traded the chocolates for 5 dollars.)Wait for inputClose Message"* (You traded the chocolates for 5 dollars.)/%", "scr_litemuseb_slash_scr_litemuseb_gml_119_0" );
|
|
109
|
}
|
|
110
|
else if (alphys_npc)
|
|
111
|
{
|
|
112
|
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;
... ("no_name");
|
|
113
|
msgsetloc(0, * (You could give Alphys the chocolate if you talk to her.)Wait for inputClose Message"* (You could give Alphys the chocolate if you talk to her.)/%", "scr_litemuseb_slash_scr_litemuseb_gml_123_0" );
|
|
114
|
}
|
|
115
|
else if (have_susie)
|
|
116
|
{
|
|
117
|
consume_item = 1;
|
|
118
|
global.lhp = 19;
|
|
119
|
global.flag[342 chocolates_who_gave] = 2;
|
|
120
|
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");
|
|
121
|
msgsetloc(0, Face 7* Woah,Delay 11 Kris,Delay 11 where the hell'd you get that?Wait for input"\\E7* Woah^1, Kris^1, where the hell'd you get that?/", "scr_litemuseb_slash_scr_litemuseb_gml_131_0" );
|
|
122
|
msgnextloc(Face 6* ...Delay 11 someone gave it to you?Wait for input"\\E6* ..^1. someone gave it to you?/", "scr_litemuseb_slash_scr_litemuseb_gml_132_0" );
|
|
123
|
msgnextloc(Face Y* HAHAHA!!Delay 11 YEAH RIGHT!!!Delay 11 You stole it,Delay 11 didn't you!?Wait for input"\\EY* HAHAHA!^1! YEAH RIGHT!!^1! You stole it^1, didn't you!?/", "scr_litemuseb_slash_scr_litemuseb_gml_133_0" );
|
|
124
|
msgnextloc(Face 2* Well,Delay 11 c'mon!!Delay 11 Let's eat it and hide the evidence!!Wait for input"\\E2* Well^1, c'mon!^1! Let's eat it and hide the evidence!!/", "scr_litemuseb_slash_scr_litemuseb_gml_134_0" );
|
|
125
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
126
|
msgnextloc(* (You and Susie shared the heart-shaped box of candies.)Wait for input"* (You and Susie shared the heart-shaped box of candies.)/", "scr_litemuseb_slash_scr_litemuseb_gml_136_0_b" );
|
|
127
|
msgnextloc(* (Both of you had a feeling in your chest...)Wait for input"* (Both of you had a feeling in your chest...)/", "scr_litemuseb_slash_scr_litemuseb_gml_137_0_b" );
|
|
128
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", 12);
|
|
129
|
msgnextloc(Face C* Ow,Delay 11 my stomach...Wait for input"\\EC* Ow^1, my stomach.../", "scr_litemuseb_slash_scr_litemuseb_gml_139_0" );
|
|
130
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
131
|
msgnextloc(* (...Delay 11 that you shouldn't have eaten all of it.)Wait for inputClose Message"* (..^1. that you shouldn't have eaten all of it.)/%", "scr_litemuseb_slash_scr_litemuseb_gml_141_0" );
|
|
132
|
}
|
|
133
|
else
|
|
134
|
{
|
|
135
|
consume_item = 1;
|
|
136
|
global.lhp = 19;
|
|
137
|
global.flag[342 chocolates_who_gave] = 1;
|
|
138
|
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;
... ("no_name");
|
|
139
|
msgsetloc(0, * (You unhesitatingly devoured the box of heart shaped candies.)Wait for input"* (You unhesitatingly devoured the box of heart shaped candies.)/", "scr_litemuseb_slash_scr_litemuseb_gml_149_0" );
|
|
140
|
msgnextloc(* (Your guts are being destroyed.)Wait for input"* (Your guts are being destroyed.)/", "scr_litemuseb_slash_scr_litemuseb_gml_150_0" );
|
|
141
|
msgnextloc(* (You accept this destruction as part of life...)Wait for inputClose Message"* (You accept this destruction as part of life...)/%", "scr_litemuseb_slash_scr_litemuseb_gml_151_0" );
|
|
142
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
143
|
}
|
|
144
|
d_make();
|
|
145
|
if (consume_item)
|
|
146
|
script_execute(scr_litemshift, arg0, 0);
|
|
147
|
break;
|
|
148
|
case 11:
|
|
149
|
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;
... ("no_name");
|
|
150
|
msgsetloc(0, * It doesn't seem very useful.Wait for inputClose Message"* It doesn't seem very useful./%", "scr_litemuseb_slash_scr_litemuseb_gml_179_0_b" );
|
|
151
|
if (room == room_torhouse && global.plot < 105)
|
|
152
|
{
|
|
153
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
return global.flag[arg0];
}
function scr_flag_name_get(arg0)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
function scr_flag_get_ext(arg0, arg1, arg2 = 1)
{
if (arg1 < 0)
scr_flag_get(arg0);
else
return scr_get_bitmask_value(global.flag[arg0], arg1, arg2);
} (1376) == 0)
|
|
154
|
{
|
|
155
|
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);
} (1376, 1);
|
|
156
|
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;
... ("no_name");
|
|
157
|
msgsetloc(0, * You looked through the glass.Wait for input"* You looked through the glass./", "scr_litemuseb_slash_scr_litemuseb_gml_189_0" );
|
|
158
|
msgnextloc(* For some strange reason,Delay 11 for just a brief moment...Wait for input"* For some strange reason^1, for just a brief moment.../", "scr_litemuseb_slash_scr_litemuseb_gml_190_0" );
|
|
159
|
msgnextloc(* You thought you saw your mother holding someone else.Wait for inputClose Message"* You thought you saw your mother holding someone else./%", "scr_litemuseb_slash_scr_litemuseb_gml_191_0" );
|
|
160
|
}
|
|
161
|
}
|
|
162
|
else if (global.plot >= 105 && global.plot < 200)
|
|
163
|
{
|
|
164
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
return global.flag[arg0];
}
function scr_flag_name_get(arg0)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
function scr_flag_get_ext(arg0, arg1, arg2 = 1)
{
if (arg1 < 0)
scr_flag_get(arg0);
else
return scr_get_bitmask_value(global.flag[arg0], arg1, arg2);
} (1377) == 0)
|
|
165
|
{
|
|
166
|
var fes_rooms = [18, 20, 21, 22, 23, 24, 25, 27, 28];
|
|
167
|
var is_fes_room = false;
|
|
168
|
for (var i = 0; i < array_length(fes_rooms); i++)
|
|
169
|
{
|
|
170
|
if (room == fes_rooms[i])
|
|
171
|
{
|
|
172
|
is_fes_room = true;
|
|
173
|
break;
|
|
174
|
}
|
|
175
|
}
|
|
176
|
if (is_fes_room)
|
|
177
|
{
|
|
178
|
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);
} (1377, 1);
|
|
179
|
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;
... ("no_name");
|
|
180
|
msgsetloc(0, * You looked through the glass.Wait for input"* You looked through the glass./", "scr_litemuseb_slash_scr_litemuseb_gml_223_0" );
|
|
181
|
msgnextloc(* For some strange reason,Delay 11 for just a moment...Wait for input"* For some strange reason^1, for just a moment.../", "scr_litemuseb_slash_scr_litemuseb_gml_224_0" );
|
|
182
|
msgnextloc(* You thought you saw Susie in a far-off window,Delay 11 unkempt and glaring.Wait for inputClose Message"* You thought you saw Susie in a far-off window^1, unkempt and glaring./%", "scr_litemuseb_slash_scr_litemuseb_gml_225_0" );
|
|
183
|
}
|
|
184
|
}
|
|
185
|
}
|
|
186
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
187
|
break;
|
|
188
|
case 12:
|
|
189
|
global.msg[0] = stringsetloc(* You equipped the Eraser.Wait for inputClose Message"* You equipped the Eraser./%", "scr_litemuseb_slash_scr_litemuseb_gml_221_0" );
|
|
190
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
191
|
snd_play(snd_item);
|
|
192
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
193
|
break;
|
|
194
|
case 13:
|
|
195
|
global.msg[0] = stringsetloc(* You equipped the Mech. Pencil.Wait for inputClose Message"* You equipped the Mech. Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_228_0" );
|
|
196
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
197
|
snd_play(snd_item);
|
|
198
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
199
|
break;
|
|
200
|
case 15:
|
|
201
|
global.msg[0] = stringsetloc(* You equipped the Holiday Pencil.Wait for inputClose Message"* You equipped the Holiday Pencil./%", "scr_litemuseb_slash_scr_litemuseb_gml_235_0" );
|
|
202
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
203
|
snd_play(snd_item);
|
|
204
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
205
|
break;
|
|
206
|
case 16:
|
|
207
|
global.msg[0] = stringsetloc(* You equipped the CactusNeedle.Wait for inputClose Message"* You equipped the CactusNeedle./%", "scr_litemuseb_slash_scr_litemuseb_gml_242_0" );
|
|
208
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
209
|
snd_play(snd_item);
|
|
210
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
211
|
break;
|
|
212
|
case 17:
|
|
213
|
global.msg[0] = stringsetloc(* You equipped the BlackShard.Wait for inputClose Message"* You equipped the BlackShard./%", "scr_litemuseb_slash_scr_litemuseb_gml_249_0" );
|
|
214
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
215
|
snd_play(snd_item);
|
|
216
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
217
|
break;
|
|
218
|
case 18:
|
|
219
|
global.msg[0] = stringsetloc(* You equipped the QuillPen.Wait for inputClose Message"* You equipped the QuillPen./%", "scr_litemuseb_slash_scr_litemuseb_gml_269_0" );
|
|
220
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
221
|
snd_play(snd_item);
|
|
222
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
223
|
break;
|
|
224
|
case 19:
|
|
225
|
var toast_text = stringsetloc(* (You held it up in the air.)Wait for input"* (You held it up in the air.)/", "scr_litemuseb_slash_scr_litemuseb_gml_276_0" );
|
|
226
|
if (room == room_torhouse)
|
|
227
|
{
|
|
228
|
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;
... ("no_name");
|
|
229
|
msgset(0, toast_text);
|
|
230
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("toriel", "5");
|
|
231
|
msgnextloc(Face 5* Kris,Delay 11 you are making crumbs.Wait for inputClose Message"\\E5* Kris^1, you are making crumbs./%", "scr_litemuseb_slash_scr_litemuseb_gml_283_0" );
|
|
232
|
}
|
|
233
|
else if (room == room_town_north && global.flag[1324] == 0 && obj_mainchara.x >= 680 && global.facing == 1)
|
|
234
|
{
|
|
235
|
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;
... ("no_name");
|
|
236
|
msgset(0, toast_text);
|
|
237
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("asgore", "d");
|
|
238
|
msgnextloc(Face d* What?Delay 11 Kris?Delay 11 You made toast,Delay 11 for me?Wait for input"\\Ed* What^1? Kris^1? You made toast^1, for me?/", "scr_litemuseb_slash_scr_litemuseb_gml_289_0" );
|
|
239
|
msgnextloc(Face Z* Why,Delay 11 ahaha,Delay 11 you didn't have to do that!Wait for input"\\EZ* Why^1, ahaha^1, you didn't have to do that!/", "scr_litemuseb_slash_scr_litemuseb_gml_290_0" );
|
|
240
|
msgnextloc(Face 3* ...Wait for input"\\E3* .../", "scr_litemuseb_slash_scr_litemuseb_gml_291_0" );
|
|
241
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
242
|
msgnextloc(* (Asgore ate the Honey Toast.)Wait for input"* (Asgore ate the Honey Toast.)/", "scr_litemuseb_slash_scr_litemuseb_gml_293_0" );
|
|
243
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("asgore", "5");
|
|
244
|
msgnextloc(Face 5* This always was one of your best dishes.Wait for input"\\E5* This always was one of your best dishes./", "scr_litemuseb_slash_scr_litemuseb_gml_295_0" );
|
|
245
|
msgnextloc(Face 6* ...Delay 11 remember how you two used to eat bread?Wait for input"\\E6* ..^1. remember how you two used to eat bread?/", "scr_litemuseb_slash_scr_litemuseb_gml_296_0" );
|
|
246
|
msgnextloc(Face 4* Fold it into quarters...Delay 11 take a couple bites,Delay 11 and...Wait for input"\\E4* Fold it into quarters..^1. take a couple bites^1, and.../", "scr_litemuseb_slash_scr_litemuseb_gml_297_0" );
|
|
247
|
msgnextloc(Face 5* See?Delay 11 It's kind of like a snowflake!Delay 11 Hahaha!Wait for input"\\E5* See^1? It's kind of like a snowflake^1! Hahaha!/", "scr_litemuseb_slash_scr_litemuseb_gml_298_0" );
|
|
248
|
msgnextloc(Face 6* "Too many crumbs",Delay 11 your mother said.Wait for input"\\E6* \"Too many crumbs\"^1, your mother said./", "scr_litemuseb_slash_scr_litemuseb_gml_299_0" );
|
|
249
|
msgnextloc(Face 5* But crumbs can come in handy,Delay 11 too.Delay 11 Can't they,Delay 11 Kris?Wait for input"\\E5* But crumbs can come in handy^1, too^1. Can't they^1, Kris?/", "scr_litemuseb_slash_scr_litemuseb_gml_300_0" );
|
|
250
|
msgnextloc(Face 1* ...Delay 11 well.Delay 11 Have a wonderful day.Wait for inputClose Message"\\E1* ..^1. well^1. Have a wonderful day./%", "scr_litemuseb_slash_scr_litemuseb_gml_301_0" );
|
|
251
|
script_execute(scr_litemshift, arg0, 0);
|
|
252
|
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);
} (1466, 1);
|
|
253
|
}
|
|
254
|
else
|
|
255
|
{
|
|
256
|
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;
... ("no_name");
|
|
257
|
msgset(0, toast_text + "%");
|
|
258
|
}
|
|
259
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
260
|
break;
|
|
261
|
case 20:
|
|
262
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("susie"))
|
|
263
|
{
|
|
264
|
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");
|
|
265
|
msgsetloc(0, Face 5* Hey,Delay 11 don't eat that.Delay 11 Save it for later.Wait for input"\\E5* Hey^1, don't eat that^1. Save it for later./", "scr_litemuseb_slash_scr_litemuseb_gml_319_0" );
|
|
266
|
msgnextloc(Face 9* ...Delay 11 y'know.Delay 11 Ice cream sandwiches.Wait for inputClose Message"\\E9* ..^1. y'know^1. Ice cream sandwiches./%", "scr_litemuseb_slash_scr_litemuseb_gml_320_0" );
|
|
267
|
}
|
|
268
|
else
|
|
269
|
{
|
|
270
|
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;
... ("no_name");
|
|
271
|
msgsetloc(0, * (Bread.)Wait for inputClose Message"* (Bread.)/%", "scr_litemuseb_slash_scr_litemuseb_gml_324_0" );
|
|
272
|
}
|
|
273
|
d_make();
|
|
274
|
break;
|
|
275
|
case 21:
|
|
276
|
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;
... ("no_name");
|
|
277
|
msgsetloc(0, * (You cannot use it right now.)Wait for inputClose Message"* (You cannot use it right now.)/%", "scr_litemuseb_slash_scr_litemuseb_gml_332_0" );
|
|
278
|
d_make();
|
|
279
|
break;
|
|
280
|
case 22:
|
|
281
|
global.msg[0] = stringsetloc(* You equipped the Pencil2.Wait for inputClose Message"* You equipped the Pencil2./%", "scr_litemuseb_slash_scr_litemuseb_gml_338_0" );
|
|
282
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
283
|
snd_play(snd_item);
|
|
284
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
285
|
break;
|
|
286
|
case 23:
|
|
287
|
global.msg[0] = stringsetloc(* You equipped the Petal.Wait for inputClose Message"* You equipped the Petal./%", "scr_litemuseb_slash_scr_litemuseb_gml_345_0" );
|
|
288
|
scr_lweaponeqscr_lweaponeq
function scr_lweaponeq(arg0, arg1)
{
if (arg0 >= 0)
global.litem[arg0] = global.lweapon;
global.lweapon = arg1;
global.lwstrength = get_lw_weapon_strength(global.lweapon);
script_execute(scr_litemname);
} (arg0, arg1);
|
|
289
|
snd_play(snd_item);
|
|
290
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
291
|
break;
|
|
292
|
case 201:
|
|
293
|
tempsaid = 0;
|
|
294
|
snd_play_x(snd_phone, 0.7, 1);
|
|
295
|
global.msg[0] = stringsetloc(* Ring...Wait for input"* Ring.../", "scr_litemuseb_slash_scr_litemuseb_gml_116_0" );
|
|
296
|
global.msg[1] = stringsetloc(* No one picked up.Wait for inputClose Message"* No one picked up./%", "scr_litemuseb_slash_scr_litemuseb_gml_117_0" );
|
|
297
|
if (room == room_krisroom || room == room_krishallway || room == room_torbathroom)
|
|
298
|
{
|
|
299
|
if (global.plot >= 10)
|
|
300
|
{
|
|
301
|
tempsaid = 1;
|
|
302
|
global.flag[268 called_in_house] = 1;
|
|
303
|
scr_torfacescr_torface
function scr_torface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FT \\TT %", string(arg1), "scr_torface_slash_scr_torface_gml_1_0");
} (1, 0);
|
|
304
|
global.msg[2] = stringsetloc(Face 0* Hello? * Dreemurr residence... * Who might this be...?Wait for input"\\E0* Hello?&* Dreemurr residence...&* Who might this be...?/", "scr_litemuseb_slash_scr_litemuseb_gml_126_0" );
|
|
305
|
global.msg[3] = stringsetloc(Face 3* ... Kris?Wait for input"\\E3* ... Kris?/", "scr_litemuseb_slash_scr_litemuseb_gml_127_0" );
|
|
306
|
global.msg[4] = stringsetloc(Face 5* Sigh... do not make me come over there.Wait for input"\\E5* Sigh... do not make me come over there./", "scr_litemuseb_slash_scr_litemuseb_gml_128_0" );
|
|
307
|
scr_nofacescr_noface
function scr_noface(arg0)
{
global.msg[arg0] = stringsetloc(Sound X Char 0 Sound 0 Close Message"\\TX \\F0 \\T0 %", "scr_noface_slash_scr_noface_gml_1_0" );
} (5);
|
|
308
|
global.msg[6] = stringsetloc(* Click...Wait for inputClose Message"* Click.../%", "scr_litemuseb_slash_scr_litemuseb_gml_130_0" );
|
|
309
|
}
|
|
310
|
}
|
|
311
|
if (room == room_torhouse)
|
|
312
|
{
|
|
313
|
tempsaid = 1;
|
|
314
|
global.msg[0] = stringsetloc(* Ring...Wait for input"* Ring.../", "scr_litemuseb_slash_scr_litemuseb_gml_136_0" );
|
|
315
|
global.msg[1] = stringsetloc(* (The phone is ringing,Delay 11 but you can't get it.)Wait for input"* (The phone is ringing^1, but you can't get it.)/", "scr_litemuseb_slash_scr_litemuseb_gml_137_0" );
|
|
316
|
global.msg[2] = stringsetloc(* (You're already on the phone,Delay 11 after all...)Wait for inputClose Message"* (You're already on the phone^1, after all...)/%", "scr_litemuseb_slash_scr_litemuseb_gml_138_0" );
|
|
317
|
}
|
|
318
|
scr_writetextscr_writetext
function scr_writetext(arg0, arg1, arg2, arg3)
{
global.fc = 0;
global.msc = arg0;
if (arg1 != "x")
global.msg[0] = arg1;
if (arg2 != 0)
global.fc = arg2;
global.typer = 5;
if (arg3 != 0)
global.typer = arg3;
instance_create(0, 0, obj_dialoguer);
} (0, "x", 0, 0);
|
|
319
|
break;
|
|
320
|
case 202:
|
|
321
|
global.msc = 375;
|
|
322
|
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);
|
|
323
|
global.typer = 5;
|
|
324
|
global.fc = 0;
|
|
325
|
instance_create(0, 0, obj_dialoguer);
|
|
326
|
break;
|
|
327
|
}
|
|
328
|
}
|