1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
if (!inventory_open && !stats_open && !mail_open && !item_drop) |
4 |
{ |
5 |
if (global.down_keyp) |
6 |
{ |
7 |
if (selection < selection_max) |
8 |
selection += 1; |
9 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
10 |
} |
11 |
if (global.up_keyp) |
12 |
{ |
13 |
if (selection > 1) |
14 |
selection -= 1; |
15 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
16 |
} |
17 |
if (keyboard_multicheck_pressed(1) || keyboard_multicheck_pressed(2)) |
18 |
instance_destroy(); |
19 |
if (keyboard_multicheck_pressed(0)) |
20 |
{ |
21 |
switch (choice[selection]) |
22 |
{ |
23 |
case "ITEM": |
24 |
if (global.item_slot[1] != "Nothing") |
25 |
inventory_open = true; |
26 |
else |
27 |
audio_play_sound(snd_fail, 1, 0); |
28 |
break; |
29 |
case "STATS": |
30 |
stats_open = true; |
31 |
break; |
32 |
case "MAIL": |
33 |
if (!ds_list_empty(global.mail_list)) |
34 |
mail_open = true; |
35 |
else |
36 |
audio_play_sound(snd_fail, 1, 0); |
37 |
break; |
38 |
case "BAG": |
39 |
instance_create(0, 0, obj_dimensional_box_screen_overworld); |
40 |
instance_create(obj_dimensional_box_screen_overworld.x + 20, obj_dimensional_box_screen_overworld.y + 37, obj_heart_dimensional_box_overworld); |
41 |
obj_dimensional_box_screen_overworld.image_index = 1; |
42 |
instance_destroy(); |
43 |
scr_cutscene_start(); |
44 |
break; |
45 |
case "TALK": |
46 |
with (global.party_member) |
47 |
event_user(0); |
48 |
instance_destroy(id, false); |
49 |
break; |
50 |
} |
51 |
audio_play_sound(snd_confirm, 1, 0); |
52 |
} |
53 |
} |
54 |
else if (stats_open) |
55 |
{ |
56 |
if (keyboard_multicheck_pressed(1)) |
57 |
{ |
58 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
59 |
stats_open = false; |
60 |
} |
61 |
} |
62 |
else if (inventory_open && !item_inspect) |
63 |
{ |
64 |
var item_number = 8; |
65 |
for (var i = 1; i <= 8; i++) |
66 |
{ |
67 |
if (global.item_slot[i] == "Nothing") |
68 |
{ |
69 |
item_number = i - 1; |
70 |
break; |
71 |
} |
72 |
} |
73 |
if (global.down_keyp) |
74 |
{ |
75 |
if (item_selected < item_number) |
76 |
item_selected += 1; |
77 |
else |
78 |
item_selected = 1; |
79 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
80 |
} |
81 |
if (global.up_keyp) |
82 |
{ |
83 |
if (item_selected > 1) |
84 |
item_selected -= 1; |
85 |
else |
86 |
item_selected = item_number; |
87 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
88 |
} |
89 |
if (keyboard_multicheck_pressed(0)) |
90 |
{ |
91 |
item_inspect = true; |
92 |
selection = 1; |
93 |
audio_play_sound(snd_confirm, 1, 0); |
94 |
} |
95 |
else if (keyboard_multicheck_pressed(1)) |
96 |
{ |
97 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
98 |
inventory_open = false; |
99 |
} |
100 |
} |
101 |
else if (item_inspect == true) |
102 |
{ |
103 |
if (global.right_keyp) |
104 |
{ |
105 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
106 |
if (selection < 3) |
107 |
selection += 1; |
108 |
else |
109 |
selection = 1; |
110 |
} |
111 |
if (global.left_keyp) |
112 |
{ |
113 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
114 |
if (selection > 1) |
115 |
selection -= 1; |
116 |
else |
117 |
selection = 3; |
118 |
} |
119 |
var current_item = global.item_slot[item_selected]; |
120 |
if (keyboard_multicheck_pressed(0)) |
121 |
{ |
122 |
switch (selection) |
123 |
{ |
124 |
case 1: |
125 |
scr_item_usescr_item_usefunction scr_item_use(arg0, arg1)
{
var item = arg0;
var i = arg1;
var use_msg;
use_msg[0] = "nothing";
var item_type = 1;
var heal_value = 0;
var pp_value = 0;
var sp_value = 0;
var rp_value = 0;
var def_value = 0;
var atk_value = 0;
switch (item)
{
case "Lemonade":
heal_value = 7;
item_type = 1;
use_msg[0] = "* (You drink the Lemonade.)";
use_msg[1] = "* (It's very sour.)";
break;
case "Candy Corn":
use_msg[0] = "* (You eat the Candy Corn.)";
use_msg[1] = "* (You now know why it was# discarded.)";
heal_value = 9;
item_type = 1;
break;
case "G. Pear":
pp_value = 2;
item_type = 1;
use_msg[0] = "* (You eat the Golden Pear.)";
use_msg[1] = "* (The immense flavor hugs your# tastebuds.)";
use_msg[2] = "* ( Overall... Not bad.)";
break;
case "Corn Dog":
heal_value = 12;
item_type = 1;
use_msg[0] = "* (You scarf down the Corn Dog.)";
use_msg[1] = "* (You can't help but feel bad# for doing it.)";
break;
case "Patch":
use_msg[0] = "* (You are unable to sew the# Patch back on your hat.)";
item_type = 0;
break;
case "Feather":
item_type = 3;
def_value = 2;
use_msg[0] = "* (You stick the feather into# your hat.)";
use_msg[1] = "* (It gives you a proud feeling.)";
break;
case "G. Bandana":
item_type = 3;
def_value = 12;
use_msg[0] = "* (With a shimmer, you tie the# Golden Bandana around your# neck.)";
use_msg[1] = "* (You feel like you can take on# anything now.)";
break;
case "Pebble Ammo":
item_type = 2;
atk_value = 3;
use_msg[0] = "* (You load the pebbles into your# gun.)";
use_msg[1] = "* (It feels a little heavier# now.)";
break;
case "Silver Ammo":
item_type = 2;
atk_value = 2;
use_msg[0] = "* (You load the Silver Ammo# into your gun.)";
use_msg[1] = "* (The pellets shimmer# in the light.)";
break;
case "Rubber Ammo":
item_type = 2;
atk_value = 0;
use_msg[0] = "* (You load the rubber ammo into# your weapon.)";
break;
case "Glass Ammo":
item_type = 2;
atk_value = 5;
use_msg[0] = "* (You cautiously load the Glass# into your gun.)";
use_msg[1] = "* (Phew! No cuts!)";
break;
case "Flint":
item_type = 2;
atk_value = 9;
use_msg[0] = "* (You load the Flint# into your gun.)";
use_msg[1] = "* (Might start some fire# with this one!)";
break;
case "Sponge Cake":
heal_value = 14;
item_type = 1;
use_msg[0] = "* (You lick the frosting off of# the sponge.)";
use_msg[1] = "* (Your mouth feels squeaky# clean!)";
break;
case "Hndw Coffee":
heal_value = 14;
item_type = 1;
use_msg[0] = "* (You brave the hot Honeydew# Coffee.)";
use_msg[1] = "* (You can feel your taste buds# burning off.)";
break;
case "Adult Soda":
heal_value = 18;
item_type = 1;
use_msg[0] = "* (You take a sip out of# the adult soda.)";
... (current_item, item_selected); |
126 |
instance_destroy(id, false); |
127 |
break; |
128 |
case 2: |
129 |
scr_item_infoscr_item_infofunction scr_item_info(arg0)
{
var item = arg0;
var info;
info[0] = "* Info message";
switch (item)
{
case "Lemonade":
info[0] = "* \"Lemonade\" - Heals 7 HP#* (Doesn't smell too appetizing.)";
break;
case "Pebble Ammo":
info[0] = "* \"Pebbles\" - Weapon AT 3#* (Like rocks, but smaller.#* Good makeshift ammo.)";
break;
case "Silver Ammo":
info[0] = "* \"Silver Ammo\" - Weapon AT 3#* (A pack of reflective pellets.)";
info[1] = "* (They'd fit nicely in# a six-shooter.)";
info[2] = "* (A perfect shot deals# extra damage.)";
break;
case "Glass Ammo":
info[0] = "* \"Glass Ammo\" - Weapon AT 5#* (Literal shards of glass.# Yep.)";
info[1] = "* (Restores 2 HP after every# attack.)";
break;
case "Candy Corn":
info[0] = "* \"Candy Corn\" - Restores 9 HP#* (Your teeth hurt just looking# at it.)";
break;
case "Corn Dog":
info[0] = "* \"Corn Dog\" - Restores 12 HP#* (A genuine Corn Dog with# soft, fluffy ears.)";
break;
case "Patch":
info[0] = "* \"Patch\" Armor DF 0#* (It's not strong but it's#trustworthy.)";
break;
case "Feather":
info[0] = "* \"Feather\" - Armor DF 2#* (An old, forgotten feather.#* It needs a good preening.)";
break;
case "G. Bandana":
info[0] = "* \"G. Bandana\" - Armor DF 12#* (The most stunning piece of# fabric you've ever seen.)";
break;
case "Missing Poster":
info[0] = "* (The grim reminder of# your mission. Justice# is needed.)";
break;
case "G. Pear":
info[0] = "* (Makes you invulnerable# for a pear of hits.)";
break;
case "Rubber Ammo":
info[0] = "* \"Rubber Ammo\" - Weapon AT 0#* (Small, safe, non-toxic# rubber pellets.)";
break;
case "Sponge Cake":
info[0] = "* \"Sponge Cake\" - Heals 14 HP";
info[1] = "* (A delicious sponge that doesn't# scratch AND has 2x the# absorption!)";
break;
case "Hndw Coffee":
info[0] = "*\"Hndw Coffee\" - Heals 14 HP#* (It would take true bravery to# drink something this hot!)";
break;
case "Hndw Pancake":
info[0] = "* \"Hndw Pancake\" - Heals 16 HP #* (An off-the-griddle pancake with# honey-syrup.)";
break;
case "G.B. Bear":
info[0] = "* \"G.B. Bear\" - Heals 20 HP#* (A cookie made to look like# someone's face.)";
info[1] = "* (What a creative and original# idea!)";
break;
case "Hot Pop":
info[0] = "* \"Hot Pop\" - Heals 14 HP#* (Piping hot chocolate, frozen,# then reheated.)";
break;
case "Lukewarm Pop":
info[0] = "* \"Lukewarm Pop\" - Heals 8 HP#* (Piping hot chocolate cooled to# lukewarm status.)";
break;
case "Cold Pop":
info[0] = "* \"Cold Pop\" - Heals 12 HP#* (Piping hot chocolate, cooled# cold.)";
break;
case "G. Coffee":
info[0] = "* \"G. Coffee\" - (Halves the# weight of your soul, giving you# a speed boost for three turns.)";
info[1] = "* (Half delicious beverage, half# transition metal.)";
info[2] = "* (Just smells like# coffee, though.)";
break;
case "G. Cactus":
info[0] = "* \"G. Cactus\" - (Heals 15 HP# for 3 turns. The first# bite hurts for 5 HP.)";
info[1] = "* (The forbidden snack.)";
break;
case "Adult Soda":
info[0] = "* \"Adult Soda\" - Heals ??? HP#* (A transparent liquid# with no smell.)";
break;
case "Packing Peanuts":
info[0] = "* \"Packing Peanuts\" - Heals 10 HP";
info[1] = "* (Ideal for preventing damage or# destruction of fragile stomach# contents.)";
break;
case "Trail Mix":
info[0] = "* \"Trail Mix\" - Heals 13 HP\"";
info[1] = "* (Everything but the raisins# has been picked out.)";
break;
case "Ice Tea":
info[0] = "* \"Ice Tea\" - Heals 20 HP\"#* (A glass of warm sweet tea.)";
info[1] = "* (A label with a sketch of Mo# grinning is glued to the side.)";
break;
case "Green Tea":
info[0] = " \"Green Tea\" - Heals 21 HP\"#* (Ice tea but dyed green. +1 HP# for style.)";
break;
case "Sea Tea":
info[0] = " \"Sea Tea\" - Heals 10 HP\"#* (Glowing tea that'll jolt# your system.)";
info[1] = "* (A label reading \"The real# deal!\" is stuck on the glass.)";
break;
case "Fruitcake":
... (current_item); |
130 |
instance_destroy(id, false); |
131 |
break; |
132 |
case 3: |
133 |
instance_create(0, 0, obj_dialogue_drop); |
134 |
obj_dialogue_drop.current_item = current_item; |
135 |
instance_destroy(id, false); |
136 |
break; |
137 |
} |
138 |
} |
139 |
if (keyboard_multicheck_pressed(1)) |
140 |
{ |
141 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
142 |
item_inspect = false; |
143 |
} |
144 |
} |
145 |
else if (mail_open) |
146 |
{ |
147 |
if (!mail_inspect) |
148 |
{ |
149 |
var mail_number = ds_list_size(global.mail_list) - 1; |
150 |
if (global.down_keyp) |
151 |
{ |
152 |
if (mail_selected < (mail_display_count - 1) && mail_selected < mail_number) |
153 |
mail_selected += 1; |
154 |
else if (mail_selected == (mail_display_count - 1) && (mail_selected + mail_offset) < mail_number) |
155 |
mail_offset += 1; |
156 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
157 |
} |
158 |
if (global.up_keyp) |
159 |
{ |
160 |
if (mail_selected > 0) |
161 |
mail_selected -= 1; |
162 |
else if (mail_offset > 0) |
163 |
mail_offset -= 1; |
164 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
165 |
} |
166 |
if (keyboard_multicheck_pressed(0)) |
167 |
{ |
168 |
mail_inspect = true; |
169 |
selection = 1; |
170 |
audio_play_sound(snd_confirm, 1, 0); |
171 |
} |
172 |
if (keyboard_multicheck_pressed(1)) |
173 |
{ |
174 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
175 |
mail_open = false; |
176 |
} |
177 |
} |
178 |
else if (mail_inspect) |
179 |
{ |
180 |
if (mail_check == true) |
181 |
{ |
182 |
if (!instance_exists(obj_mail)) |
183 |
mail_check = false; |
184 |
exit; |
185 |
} |
186 |
if (global.right_keyp) |
187 |
{ |
188 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
189 |
if (selection < 3) |
190 |
selection += 1; |
191 |
else |
192 |
selection = 1; |
193 |
} |
194 |
if (global.left_keyp) |
195 |
{ |
196 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
197 |
if (selection > 1) |
198 |
selection -= 1; |
199 |
else |
200 |
selection = 3; |
201 |
} |
202 |
var current_mail = ds_list_find_value(global.mail_list, mail_selected + mail_offset); |
203 |
if (keyboard_multicheck_pressed(1)) |
204 |
{ |
205 |
audio_play_sound(snd_mainmenu_select, 1, 0); |
206 |
mail_inspect = false; |
207 |
} |
208 |
if (keyboard_multicheck_pressed(0)) |
209 |
{ |
210 |
switch (selection) |
211 |
{ |
212 |
case 1: |
213 |
scr_mail_checkscr_mail_checkfunction scr_mail_check()
{
var mail = "Intro Letter";
if (argument_count > 0)
{
mail = argument[0];
if (!ds_list_find_index(global.mail_list_read, mail))
ds_list_add(global.mail_list_read, mail);
}
var jingle = 349;
var info = "* Mail Text";
var info_color = "";
var stamp = 1504;
switch (mail)
{
case "Intro Letter":
info = "#Come new friend,#right here to our space!#Whether you roam#or stay in one place!#We hope you have friends#with fun letters to send,#and always a smile on your face!#Here's to more mail#without any stress!#Hope to see you again!##The UGPS";
stamp = 1504;
break;
case "Slurpy Letter":
info = "#Greetings, my savior and fond#acquaintance. I would like to#extend further gratitude for#your assistance.If it weren't#for you, my papillae would#surely be permanently attached#to that pole.##Thanks to you, I made#it home in time for#supper. I must say , Mother#really outdid herself this#time! The food was#exquisite! Many thanks!#Sincerely yours,##-Slurpy#";
stamp = 1504;
jingle = 349;
break;
case "Mo Letter":
info = "#If you're reading this, it#means you had the pleasure of#meeting me.##I'll make this snappy.#You're not gonna believe#it. I'm selling a new,#premium product for HALF OFF.##I know what you're saying,#\"I would gladly pay full price#for your products.\"I appreciate#that, I really do. But this#ain't the time for high#prices.##Just find my stand and#I'll give ya the juicy#details.##Huh? Where is my stand?#I don't even know myself.#Should probably go find that.##Good luck!#-Mo";
stamp = 1505;
jingle = 349;
break;
case "Dalv Letter":
info = "#Greetings, Clover! Life has#been a treat since we last saw#each other. I packed up all of#my belongings and set out for#Snowdin.##I recently found a nice#place to settle down. I think#you'll like it! Oh! And all of#the neighbors moved out with#me.I'm not too sure where each#one went, but I know they are#doing well.##I'm also taking art lessons#from Penilla now. She gave#me the cold truth and said#my art needed lots of#improvement. It stung at first,#but then I remembered that you#should always aim to improve#yourself.##Ah. Look at me rambling#again. I hope the mail#service doesn't charge#extra for that.##It was nice to talk to you#again! Even if it is over#written text. Please visit me#in the future! Life is#getting a lot better,###-Dalv";
stamp = 1506;
jingle = 349;
break;
case "Shufflers Letter":
info = "#To our latest Shufflers recruit:#Toast here. There's someone out#in the wild that we forgot to#warn ya about. This scruffy#fella with a blue hat. Don't#interact with him or support#his endeavors. I won't tell ya#why cause this letter reads way#cooler as a mystery.#" + string("#Now, I'll let {0} finish this.", global.fun_swig_name) + "#He gets upset when he misses#" + "out on writing letters." + "#" + "#" + "#" + "#" + "#Yeah, upset." + "#" + string("#-{0} ", global.fun_swig_name);
stamp = 1507;
jingle = 349;
break;
case "Resort Letter":
info = "#Hello, appreciated guest!##We greatly enjoyed your company#at The Honeydew Resort (Snowdin#Establishment)! You can always#count on us for quality time#with the whole family! From our#relaxing hot spring, to our#live music, there's a little#something for everyone!##We hope to see you again,#anonymous citizen of the#Underground!##-The Honeydew Family";
stamp = 1504;
jingle = 349;
break;
case "Mixin' It Up! (Essay)":
info = "MIXIN' IT UP - By Dr. Rob##Entering the field of#chemistry can be tough. Maybe#you never went to college.#Maybe you find it hard#to grasp complex equations.#Maybe you were kicked out of#your highschool science class#for \"developing poison during#school hours.\"##We're all different, but we#all share one similarity: magic.#It's easy to rely on magic in the#in the day to day, but have you#ever wondered what it would be#like to live... without it?##What would we do if we couldn't#light a fireplace with a snap#of our fingers? Spawn weapons#out of thin air? Use wings to#soar above the trees? Sleep?##That's where science comes in!#Nature's magic. Elements, or#\"compounds\" make up most of the#Underground as we know it.#When you combine two or more#compounds you can create amazing#things. For example, by taking#the compound \"Oxygen\" and#SMASHING it together with two#\"Hydrogen\" compounds, you get# \"Dihydrogen Oxide,\" also known#as \"water\" (catchy name, right?)###Here, you try:#Let's say you want to melt through#a high-security safe to become#rich... hypothetically. The#solution you would need is#called \"Hydrochloric Acid\"#which involves the two#compounds _____ and _____.#Fill in the blanks to#empty the banks :)#######D- Unfocused and rushed.#Why did you write a#worksheet problem in#a reflective essay?";
info_color = "#######################################################D- Unfocused and rushed.#Why did you write a#worksheet problem in#a reflective essay?";
stamp = -4;
jingle = 372;
break;
case "Martlet's Letter":
info = "To: Clover#(who's hopefully alive)##Meet me on the roof of#UG Apartments as soon#as you can.##There's something on#my mind.###- Martlet of the Royal Guard#(Snowdin Division)#####";
stamp = 2674;
jingle = 372;
break;
case "PSA":
info = "Dear citizens of the Underground:#We are calling for fallen down#monsters to be sent to Hotland for#important scientific research.###Should you choose to participate,#your loved ones will be#treated with utmost respect,#their condition heavily#monitored, and you regularly#notified of their status.###This is a chance for tragedy to#be turned into opportunity. For#monsterkind to finally see the#light of the Surface thanks to#its citizens' invaluable bravery#and sacrifice.##For your consideration,##Royal Science Division#####";
stamp = 3309;
jingle = 372;
break;
case "Bullet Points":
info = "The Helper-Bot Guidelines:##1.#Every manufactured bot must have#a practical function installed.#A purpose for being:#(Cooking, cleaning,#agriculture, etc).##2.#Bots should have tiers of#emotion to better integrate#into society.#Coding a personality into#each one is recommended.#It makes them more#personable/easy to be around.##3.#All bots are to have a strong#connection with living things: #(Their creators, average monsters,#other bots, etc).#If deprived of this, some may#become easily agitated#and restless.#Others may be unphased.#Depends on the model.##4.#If a bot acts out of line or#malfunctions, they are to be#shut down. Typically, a hard#reset will do the trick.#Termination is a last resort.#If a shutdown isn't possible,#they can be coaxed back to#their normal state.##5.#Absolutely NO bots are allowed#outside the Steamworks at#this time. Until King#ASGORE is ready to begin mass#production, this project is#classified.##6.Most of all, have fun :)####";
stamp = -4;
jingle = 372;
break;
case "Starlo Update":
info = "#Howdy, Clover!#It's yer favorite sheriff,#North Star, with an#important update!##I did some soul searchin'#while staring directly at#the shiny stone on top#of the Mines.##After recovering from temporary#blindness, I shamefully#approached my posse.##Well, I spare ya the#gruesome details (me cryin')#but in the end, they#forgave me.##So the Feisty Five are#back! Now twice as sensitive#to everyone’s feelin's!##When we returned to town,#Ceroba and Dina had set#up a party in the Saloon#- which was great##I really wish you were#still here, but I SUPPOSE#you deserve yer freedom ;)##Anyway, it’s all good,#so don't mosey 'round#worryin' 'bout me or#nothin'.##I do have the tendency#to occupy around 60% of#someone's brain after they#meet me...#But I reckon it's time#to let go.####Happy trails!#- North \"Starlo\" Star##";
stamp = 3604;
jingle = 349;
break;
case "Starlo (Urgent)":
info = "#Hey, Clover. Something's up.##I made up with the posse#as planned. All was going#well, but then I began#worrying about you and#Ceroba. That's when I got#the idea to break into#Ceroba's old house and spruce#it up to celebrate her#and Kanako's eventual return.#Well, when Ed was sweeping#around, he found some kinda#secret room. Seems like it#belonged to Chujin. We didn't#have time to dig into#its content but all I#know is it worried us both.##You may be in danger.##Then again, maybe not.#Just... come back to#the Wild East for now.#I can only hope this#letter reaches you in time.####- Starlo";
stamp = 3604;
jingle = 372;
break;
case "Slurpy Letter 2":
info = "#Hello again, dear comrade!#I hope this letter finds#you in the very picture#of health.##I heard word that you#were venturing near the#vicinity of Hotland.##Being that the resting#temperature in that region#is so high, I have#included one premium#Snowdin snow sphere.##I hope it keeps you#at an ideal temperature#throughout your journey.##Next time you are in#Snowdin, feel free to#drop in.##Mother will surely prepare#you a palatable meal.###Sincerely yours,#-Slurpy###(The letter and envelope#are very wet.)#";
stamp = 1504;
jingle = 349;
break;
case "Ceroba (Important)":
info = "#Hey.##We don't know each other#very well but ever since#you left the Wild East,#I've been pacing around in#my head about your journey#and everything surrounding it.##Wherever you are, I fear#your situation will grow#dangerous. Far more than#it already has.##By now, I assume you've#heard about the King. Well,#each fallen human who has#encountered him in the past#hasn't survived. As skilled#as you are, I don't#believe you would either.#I understand why you would#want to confront him#(believe me, I have my#reservations as well),#but perhaps it isn't the#wisest path forward?##I don't know what you#should do, nor am I#going to act like I#currently have any#influence over your#destination, but your#original plan - avenging the#humans, escaping the Underground,#whatever it may be...#It's impossible.##I'm sorry. A warning is#the best I can do.####- Ceroba";
stamp = 3614;
jingle = 372;
break;
case "MAIL???":
info = "#1001001 100000 1000100#1001111 100000 1001110#1001111 1010100 100000#1001011 1001110 1001111#1010111 100000 1001000#1001111 1010111 100000#1010100 1001111 100000#1010011 1000101 1001110#1000100 100000 1001100#1000101 1010100 1010100#1000101 1010010 1010011#101110 100000 1001000#1000101 1001100 1010000#100000 1001101 1000101#101110##- Axis";
stamp = 2920;
jingle = 349;
break;
case "Spam Letter 1":
info = "#Hey, you! Are you wanting to# help society? Don't know where# to start? Well here's the: Top# Ten Reasons to Join the Royal# Guard!##10 - Awesome training courses!#9 - A shiny badge!#8 - Your own area to guard!#7 - A leather-bound protocol#guidebook!#6 - Free space! Insert your#own here!#5 - A weapon of your choice!#4 - Bragging rights!#3 - Free health insurance!#2 - Being more intimidating#than before!#1 - Your own battle-ready#uniform!!#So what are you waiting for?#Sign up today!####Disclaimer: The Royal Guard is a#serious job with life-threatening#possibilities. This list was#created for promotional purposes #only. The Royal Guard is not#liable for any promises#made in this list.# ";
stamp = 1504;
jingle = 349;
break;
case "Spam Letter 2":
info = "#Have you ever found yourself#stranded in the desert, wishing#you had an air-conditioned room#to relax in? Well look no#further than Cafe Dune! The#most modern facility in the#Dunes! Try our premium lattes#or game it up in our#state-of-the-art arcade! It's#all right here at Cafe Dune!##Located in Oasis Valley - See# you soon!";
stamp = 1504;
jingle = 349;
break;
case "Spam Letter 3":
... (current_mail); |
214 |
mail_check = true; |
215 |
break; |
216 |
case 2: |
217 |
scr_mail_pinscr_mail_pinfunction scr_mail_pin(arg0)
{
var first_val = ds_list_find_value(global.mail_list, 0);
if (global.mail_pinned == false || arg0 != first_val)
{
global.mail_pinned = true;
var old_pos = ds_list_find_index(global.mail_list, arg0);
ds_list_delete(global.mail_list, old_pos);
ds_list_sort(global.mail_list, true);
ds_list_insert(global.mail_list, 0, arg0);
audio_play_sound(snd_mail_pin, 1, 0);
}
else
{
global.mail_pinned = false;
ds_list_sort(global.mail_list, true);
audio_play_sound(snd_mail_unpin, 1, 0);
}
} (current_mail); |
218 |
mail_inspect = false; |
219 |
break; |
220 |
case 3: |
221 |
instance_create(0, 0, obj_mail_drop); |
222 |
obj_mail_drop.current_mail = current_mail; |
223 |
instance_destroy(); |
224 |
break; |
225 |
} |
226 |
audio_play_sound(snd_confirm, 1, 0); |
227 |
} |
228 |
} |
229 |
} |
230 |
if (global.cutscene || global.dialogue_open || instance_exists(obj_transition)) |
231 |
instance_destroy(id, false); |