scr_textfunction
scr_text(argument0) //gml_Script_scr_text
{
switch argument0
{
case 0:
break
case 10:
global.choicemsg[0] =
#Yesstringsetloc("#Yes", "scr_text_slash_scr_text_gml_8_0")
global.choicemsg[1] =
#Nostringsetloc("#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] =
* You really didn't want to throw it away.Wait for inputstringsetloc("* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0")
global.msg[1] =
* Throw it away anyway?Wait for inputstringsetloc("* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0")
global.msg[2] =
Choice type 2 stringsetloc("\\C2 ", "scr_text_slash_scr_text_gml_14_0")
if (global.chapter >= 2)
* 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 inputmsgsetloc(0, "* 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] =
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for inputstringsetloc("* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0")
global.msg[1] =
* It broke into pieces.Wait for inputstringsetloc("* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0")
global.msg[2] =
* You felt bitter.Wait for inputClose Messagestringsetloc("* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0")
script_execute(gml_Script_scr_litemshift, global.menucoord[1], 0)
for (i = 0; i < 12; i += 1)
global.item[i] = 0
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0
global.weapon[i] = 0
}
}
else
global.msg[0] =
* You felt a feeling of relief.Wait for inputClose Messagestringsetloc("* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0")
break
case 100:
global.msg[0] =
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for inputstringsetloc("* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0")
global.msg[1] =
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for inputstringsetloc("\\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] =
Face 1* Huh?Delay 11
* You want to be partners?Wait for inputstringsetloc("\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0")
global.msg[3] =
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for inputstringsetloc("\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0")
global.msg[4] =
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for inputstringsetloc("\\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] =
Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 stringsetloc("\\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] =
Face 0* OK,Delay 11 I'll ask!Wait for inputstringsetloc("\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0")
global.msg[1] =
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Messagestringsetloc("* 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] =
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Messagestringsetloc("\\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] =
Face 0* Do you wanna be partners?
Not yet YesChoice type 1 stringsetloc("\\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] =
Face 0* OK,Delay 11 I'll ask!Wait for inputstringsetloc("\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0")
global.msg[1] =
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Messagestringsetloc("* 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] =
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Messagestringsetloc("\\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] =
Face 0* Alright.Delay 11
* Let's get this over with.Wait for inputstringsetloc("\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0")
global.msg[1] =
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for inputstringsetloc("* 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] =
Face 2* YOU'LL do our project.Wait for inputstringsetloc("\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0")
global.msg[3] =
* How's that sound?
Good BadChoice type 1 stringsetloc("* 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] =
Close MessageClose Messagestringsetloc(" %%", "scr_text_slash_scr_text_gml_90_0")
break
case 110:
global.choicemsg[0] =
#Yesstringsetloc("#Yes", "scr_text_slash_scr_text_gml_92_0")
global.choicemsg[1] =
#Nostringsetloc("#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] =
* (There's something glowing inside.)Wait for inputstringsetloc("* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0")
global.msg[1] =
* (Take it?)Wait for input stringsetloc("* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0")
global.msg[2] =
Choice type 2stringsetloc(" \\C2", "scr_text_slash_scr_text_gml_100_0")
}
else
global.msg[0] =
* (It's dark inside.)Wait for inputClose Messagestringsetloc("* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0")
break
case 111:
if (global.choice == 0)
{
global.msg[0] =
* (You got the Glowshard.)Wait for inputClose Messagestringsetloc("* (You got the Glowshard.)/%", "scr_text_slash_scr_text_gml_112_0")
global.flag[100 got_glowshard] = 1
...