Deltarune (Chapter 5) script viewer

← back to main script listing

gml_GlobalScript_scr_keyiteminfo

(view raw script w/o annotations or w/e)
1
function 
scr_keyiteminfo
scr_keyiteminfo

function
scr_keyiteminfo(arg0)
{ tempkeyitemdesc = stringsetloc(
---
"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_2_0"
);
tempkeyitemname = stringsetloc(
" ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_3_0"
);
tempkeyitemusable = 0; switch (arg0) { case 0: tempkeyitemdesc = stringsetloc(
---
"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_9_0"
);
tempkeyitemname = stringsetloc(
" ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_10_0"
);
break; case 1: tempkeyitemdesc = stringsetloc(
It can be used to make calls.
"It can be used to make calls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0"
);
tempkeyitemname = stringsetloc(
Cell Phone
"Cell Phone", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0"
);
tempkeyitemusable = 1; break; case 2: tempkeyitemdesc = stringsetloc(
Not too important, not too unimportant.
"Not too important, not too unimportant.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0"
);
tempkeyitemname = stringsetloc(
Egg
"Egg", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0"
);
var evidence = false; if (evidence) tempkeyitemdesc = stringsetloc(
It's evidence. You'll know what it was#evidence for when it happens.
"It's evidence. You'll know what it was#evidence for when it happens.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_26_0"
);
tempkeyitemusable = 1; break; case 3: tempkeyitemdesc = stringsetloc(
Though broken, it seethes with power.#A master smith could fix it.
"Though broken, it seethes with power.#A master smith could fix it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0"
);
tempkeyitemname = stringsetloc(
BrokenCake
"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0"
);
break; case 4: tempkeyitemdesc = stringsetloc(
It's the top part of a key.#A smith could fix all three parts.
"It's the top part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0"
);
tempkeyitemname = stringsetloc(
Broken Key A
"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0"
);
break; case 5: tempkeyitemdesc = stringsetloc(
The key to a mysterious cell.#Something feels strange about it.
"The key to a mysterious cell.#Something feels strange about it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0"
);
tempkeyitemname = stringsetloc(
Door Key
"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0"
);
break; case 6: tempkeyitemdesc = stringsetloc(
It's the middle part of a key.#A smith could fix all three parts.
"It's the middle part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0"
);
tempkeyitemname = stringsetloc(
Broken Key B
"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0"
);
break; case 7: tempkeyitemdesc = stringsetloc(
It's the bottom part of a key.#A smith could fix all three parts.
"It's the bottom part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0"
);
tempkeyitemname = stringsetloc(
Broken Key C
"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0"
);
break; case 8: tempkeyitemdesc = stringsetloc(
Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!
"Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_43_0"
);
if (global.plot >= 20) tempkeyitemdesc = stringsetloc(
Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)
"Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_46_0"
);
if (global.plot >= 55) tempkeyitemdesc = stringsetloc(
Hohoho! That game looked fun!#Let me be the stool next!
"Hohoho! That game looked fun!#Let me be the stool next!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_50_0"
);
if (global.plot >= 60) tempkeyitemdesc = stringsetloc(
Sounded like milk out there. Splat!#Were you three osmosing without me!?
"Sounded like milk out there. Splat!#Were you three osmosing without me!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_54_0"
);
if (global.plot >= 65) tempkeyitemdesc = stringsetloc(
We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!
"We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_58_0"
);
if (global.plot >= 66) tempkeyitemdesc = stringsetloc(
Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.
"Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_62_0"
);
if (global.plot >= 70) tempkeyitemdesc = stringsetloc(
Ho-ho! A soft cream is following you!#Can we make them a bad guy?
"Ho-ho! A soft cream is following you!#Can we make them a bad guy?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_66_0"
);
if (global.plot >= 75) { tempkeyitemdesc = stringsetloc(
That golden statue... could it be...#The illusory nipple technique!?
"That golden statue... could it be...#The illusory nipple technique!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0_b"
);
if (global.flag[418 got_shoe] == 1) tempkeyitemdesc = stringsetloc(
Wow! Thanks for the free sample!#I couldn't eat another bite!!
"Wow! Thanks for the free sample!#I couldn't eat another bite!!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_74_0"
);
} if (global.plot >= 79) tempkeyitemdesc = stringsetloc(
The bluebird of crappiness.#Fly high, bluebird. Fly high.
"The bluebird of crappiness.#Fly high, bluebird. Fly high.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_79_0"
);
if (global.plot >= 85) tempkeyitemdesc = stringsetloc(
Did I miss something? I was doing my#calisthetics. Stay handsome.
"Did I miss something? I was doing my#calisthetics. Stay handsome.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_83_0"
);
if (global.plot >= 90) tempkeyitemdesc = stringsetloc(
Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!
"Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_87_0"
);
if (global.plot >= 99) tempkeyitemdesc = stringsetloc(
Hoho! It's me, Lancer! Release me and#I will release you!
"Hoho! It's me, Lancer! Release me and#I will release you!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_91_0"
);
if (
scr_sideb_get_phase() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
{ tempkeyitemdesc = stringsetloc(
(Innocent boys are fast asleep.)
"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0"
);
if (
scr_sideb_get_phase() >= 3)
tempkeyitemdesc = stringsetloc(
A stone statue.#Strangely, it looks like Lancer...
"A stone statue.#Strangely, it looks like Lancer...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_99_0"
);
} if (global.plot >= 200) { tempkeyitemdesc = stringsetloc(
Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...
"Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_105_0"
);
if (room == room_dw_castle_restaurant) tempkeyitemdesc = stringsetloc(
Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!
"Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_109_0"
);
if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f) tempkeyitemdesc = stringsetloc(
(huff, puff) There, I got back into your#pocket! Now you can use my power!
"(huff, puff) There, I got back into your#pocket! Now you can use my power!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_114_0"
);
} tempkeyitemname = stringsetloc(
Lancer
"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0"
);
tempkeyitemusable = 1; break; case 9: tempkeyitemdesc = stringsetloc(
Thou gazeth upon a man most handsometh.#This daringst genius, adoredeth beyondth all hey let me speakst
"Thou gazeth upon a man most handsometh.#This daringst genius, adoredeth beyondth all hey let me speakst", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_52_0"
);
tempkeyitemname = stringsetloc(
Rouxls Kaard
"Rouxls Kaard", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_53_0"
);
if (global.plot >= 200) tempkeyitemdesc = stringsetloc(
Oh, milord! Tis I, your humblest servante,#righte here where I never lefteth!
"Oh, milord! Tis I, your humblest servante,#righte here where I never lefteth!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_126_0"
);
break; case 10: tempkeyitemdesc = stringsetloc(
A data disk from a strange machine.#Didn't someone want this?
"A data disk from a strange machine.#Didn't someone want this?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_56_0"
);
tempkeyitemname = stringsetloc(
EmptyDisk
"EmptyDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_57_0"
);
break; case 11: tempkeyitemdesc = stringsetloc(
A strange disk. You can feel it#smiling in your hand.
"A strange disk. You can feel it#smiling in your hand.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_60_0"
);
...
(arg0)
2
{
3
    tempkeyitemdesc = stringsetloc(
---
"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_2_0"
);
4
    tempkeyitemname = stringsetloc(
" ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_3_0"
);
5
    tempkeyitemusable = 0;
6
    switch (arg0)
7
    {
8
        case 0:
9
            tempkeyitemdesc = stringsetloc(
---
"---", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_9_0"
);
10
            tempkeyitemname = stringsetloc(
" ", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_10_0"
);
11
            break;
12
        case 1:
13
            tempkeyitemdesc = stringsetloc(
It can be used to make calls.
"It can be used to make calls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0"
);
14
            tempkeyitemname = stringsetloc(
Cell Phone
"Cell Phone", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0"
);
15
            tempkeyitemusable = 1;
16
            break;
17
        case 2:
18
            tempkeyitemdesc = stringsetloc(
Not too important, not too unimportant.
"Not too important, not too unimportant.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0"
);
19
            tempkeyitemname = stringsetloc(
Egg
"Egg", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0"
);
20
            var evidence = false;
21
            if (evidence)
22
                tempkeyitemdesc = stringsetloc(
It's evidence. You'll know what it was#evidence for when it happens.
"It's evidence. You'll know what it was#evidence for when it happens.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_26_0"
);
23
            tempkeyitemusable = 1;
24
            break;
25
        case 3:
26
            tempkeyitemdesc = stringsetloc(
Though broken, it seethes with power.#A master smith could fix it.
"Though broken, it seethes with power.#A master smith could fix it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0"
);
27
            tempkeyitemname = stringsetloc(
BrokenCake
"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0"
);
28
            break;
29
        case 4:
30
            tempkeyitemdesc = stringsetloc(
It's the top part of a key.#A smith could fix all three parts.
"It's the top part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0"
);
31
            tempkeyitemname = stringsetloc(
Broken Key A
"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0"
);
32
            break;
33
        case 5:
34
            tempkeyitemdesc = stringsetloc(
The key to a mysterious cell.#Something feels strange about it.
"The key to a mysterious cell.#Something feels strange about it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0"
);
35
            tempkeyitemname = stringsetloc(
Door Key
"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0"
);
36
            break;
37
        case 6:
38
            tempkeyitemdesc = stringsetloc(
It's the middle part of a key.#A smith could fix all three parts.
"It's the middle part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0"
);
39
            tempkeyitemname = stringsetloc(
Broken Key B
"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0"
);
40
            break;
41
        case 7:
42
            tempkeyitemdesc = stringsetloc(
It's the bottom part of a key.#A smith could fix all three parts.
"It's the bottom part of a key.#A smith could fix all three parts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0"
);
43
            tempkeyitemname = stringsetloc(
Broken Key C
"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0"
);
44
            break;
45
        case 8:
46
            tempkeyitemdesc = stringsetloc(
Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!
"Hohoho! I'm a tough boy!#Treat me like one of your ITEMS!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_43_0"
);
47
            if (global.plot >= 20)
48
                tempkeyitemdesc = stringsetloc(
Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)
"Hohoho! ROUXLS jumped out of your#pocket! How dadcrobatic! (Lesser)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_46_0"
);
49
            if (global.plot >= 55)
50
                tempkeyitemdesc = stringsetloc(
Hohoho! That game looked fun!#Let me be the stool next!
"Hohoho! That game looked fun!#Let me be the stool next!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_50_0"
);
51
            if (global.plot >= 60)
52
                tempkeyitemdesc = stringsetloc(
Sounded like milk out there. Splat!#Were you three osmosing without me!?
"Sounded like milk out there. Splat!#Were you three osmosing without me!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_54_0"
);
53
            if (global.plot >= 65)
54
                tempkeyitemdesc = stringsetloc(
We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!
"We fell! But don't worry. I'm a strong boy.#I won't be trounced by a mere bounce!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_58_0"
);
55
            if (global.plot >= 66)
56
                tempkeyitemdesc = stringsetloc(
Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.
"Split up? We'll solve this mystery fast!#You? You can be the un-talking dog.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_62_0"
);
57
            if (global.plot >= 70)
58
                tempkeyitemdesc = stringsetloc(
Ho-ho! A soft cream is following you!#Can we make them a bad guy?
"Ho-ho! A soft cream is following you!#Can we make them a bad guy?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_66_0"
);
59
            if (global.plot >= 75)
60
            {
61
                tempkeyitemdesc = stringsetloc(
That golden statue... could it be...#The illusory nipple technique!?
"That golden statue... could it be...#The illusory nipple technique!?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0_b"
);
62
                if (global.flag[418 got_shoe] == 1)
63
                    tempkeyitemdesc = stringsetloc(
Wow! Thanks for the free sample!#I couldn't eat another bite!!
"Wow! Thanks for the free sample!#I couldn't eat another bite!!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_74_0"
);
64
            }
65
            if (global.plot >= 79)
66
                tempkeyitemdesc = stringsetloc(
The bluebird of crappiness.#Fly high, bluebird. Fly high.
"The bluebird of crappiness.#Fly high, bluebird. Fly high.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_79_0"
);
67
            if (global.plot >= 85)
68
                tempkeyitemdesc = stringsetloc(
Did I miss something? I was doing my#calisthetics. Stay handsome.
"Did I miss something? I was doing my#calisthetics. Stay handsome.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_83_0"
);
69
            if (global.plot >= 90)
70
                tempkeyitemdesc = stringsetloc(
Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!
"Hey! Thanks for the tape! I was hungry!#Push my tummy to hear a cool song!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_87_0"
);
71
            if (global.plot >= 99)
72
                tempkeyitemdesc = stringsetloc(
Hoho! It's me, Lancer! Release me and#I will release you!
"Hoho! It's me, Lancer! Release me and#I will release you!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_91_0"
);
73
            if (
scr_sideb_get_phase
scr_sideb_get_phase

function
scr_sideb_get_phase()
{ var phase = 0; if (global.flag[916 snowgrave_fail] == 0) { if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4) phase = 1; if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7) phase = 2; if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20) phase = 3; if (global.flag[915 snowgrave_plot] >= 20) phase = 4; } return phase; } function scr_sideb_active() { return
scr_sideb_get_phase() >= 3;
}
() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
74
            {
75
                tempkeyitemdesc = stringsetloc(
(Innocent boys are fast asleep.)
"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0"
);
76
                if (
scr_sideb_get_phase
scr_sideb_get_phase

function
scr_sideb_get_phase()
{ var phase = 0; if (global.flag[916 snowgrave_fail] == 0) { if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4) phase = 1; if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7) phase = 2; if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20) phase = 3; if (global.flag[915 snowgrave_plot] >= 20) phase = 4; } return phase; } function scr_sideb_active() { return
scr_sideb_get_phase() >= 3;
}
() >= 3)
77
                    tempkeyitemdesc = stringsetloc(
A stone statue.#Strangely, it looks like Lancer...
"A stone statue.#Strangely, it looks like Lancer...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_99_0"
);
78
            }
79
            if (global.plot >= 200)
80
            {
81
                tempkeyitemdesc = stringsetloc(
Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...
"Hoho! What a terrific boy's adventure.#Time to kick off my feet and relax...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_105_0"
);
82
                if (room == room_dw_castle_restaurant)
83
                    tempkeyitemdesc = stringsetloc(
Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!
"Oo la la! Who is that handsome#mustachioed boy! I think I'm in love!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_109_0"
);
84
                if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
85
                    tempkeyitemdesc = stringsetloc(
(huff, puff) There, I got back into your#pocket! Now you can use my power!
"(huff, puff) There, I got back into your#pocket! Now you can use my power!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_114_0"
);
86
            }
87
            tempkeyitemname = stringsetloc(
Lancer
"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0"
);
88
            tempkeyitemusable = 1;
89
            break;
90
        case 9:
91
            tempkeyitemdesc = stringsetloc(
Thou gazeth upon a man most handsometh.#This daringst genius, adoredeth beyondth all hey let me speakst
"Thou gazeth upon a man most handsometh.#This daringst genius, adoredeth beyondth all hey let me speakst", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_52_0"
);
92
            tempkeyitemname = stringsetloc(
Rouxls Kaard
"Rouxls Kaard", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_53_0"
);
93
            if (global.plot >= 200)
94
                tempkeyitemdesc = stringsetloc(
Oh, milord! Tis I, your humblest servante,#righte here where I never lefteth!
"Oh, milord! Tis I, your humblest servante,#righte here where I never lefteth!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_126_0"
);
95
            break;
96
        case 10:
97
            tempkeyitemdesc = stringsetloc(
A data disk from a strange machine.#Didn't someone want this?
"A data disk from a strange machine.#Didn't someone want this?", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_56_0"
);
98
            tempkeyitemname = stringsetloc(
EmptyDisk
"EmptyDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_57_0"
);
99
            break;
100
        case 11:
101
            tempkeyitemdesc = stringsetloc(
A strange disk. You can feel it#smiling in your hand.
"A strange disk. You can feel it#smiling in your hand.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_60_0"
);
102
            tempkeyitemname = stringsetloc(
LoadedDisk
"LoadedDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_61_0"
);
103
            break;
104
        case 12:
105
            tempkeyitemdesc = stringsetloc(
A shady-looking program that can#open certain doors.
"A shady-looking program that can#open certain doors.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_64_0"
);
106
            tempkeyitemname = stringsetloc(
KeyGen
"KeyGen", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_65_0"
);
107
            break;
108
        case 13:
109
            var crystal_amount = string(scr_get_total_shadow_crystal_amount());
110
            tempkeyitemusable = 1;
111
            tempkeyitemdesc = stringsetsubloc("A sharp shadow moves like water in the hand.#You have collected [~1].", crystal_amount, "scr_keyiteminfo_slash_scr_keyiteminfo_gml_70_0");
112
            tempkeyitemname = stringsetloc(
ShadowCrystal
"ShadowCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_71_0"
);
113
            break;
114
        case 14:
115
            tempkeyitemname = stringsetloc(
Starwalker
"Starwalker", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0"
);
116
            tempkeyitemdesc = stringsetloc(
The original # (Starwalker)
"The original # (Starwalker)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_124_0"
);
117
            break;
118
        case 15:
119
            tempkeyitemname = stringsetloc(
PureCrystal
"PureCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_132_0"
);
120
            tempkeyitemdesc = stringsetloc(
The shadow purified by the cat
"The shadow purified by the cat", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_133_0"
);
121
            break;
122
        case 16:
123
            tempkeyitemname = stringsetloc(
OddController
"OddController", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_158_0"
);
124
            tempkeyitemdesc = stringsetloc(
A gamepad no one wanted to use.#The buttons are an ugly pink and yellow.
"A gamepad no one wanted to use.#The buttons are an ugly pink and yellow.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_159_0"
);
125
            break;
126
        case 17:
127
            tempkeyitemname = stringsetloc(
BackstagePass
"BackstagePass", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_162_0"
);
128
            tempkeyitemdesc = stringsetloc(
A pass for big shots allowed backstage.#Show it to Ramb in front of the door.
"A pass for big shots allowed backstage.#Show it to Ramb in front of the door.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_163_0"
);
129
            break;
130
        case 18:
131
            tempkeyitemname = stringsetloc(
TripTicket
"TripTicket", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_166_0"
);
132
            tempkeyitemdesc = stringsetloc(
A ticket to nowhere. It shows a map#pointing to the left of a red X...
"A ticket to nowhere. It shows a map#pointing to the left of a red X...", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_167_0"
);
133
            break;
134
        case 19:
135
            tempkeyitemname = stringsetloc(
LancerCon
"LancerCon", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_185_0"
);
136
            tempkeyitemdesc = stringsetloc(
Lancer's controller. It's covered in dirt.
"Lancer's controller. It's covered in dirt.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_186_0"
);
137
            if (global.flag[1099 lancer_control_num] > 1)
138
            {
139
                tempkeyitemname = stringsetsubloc("LancerConX~1", string(global.flag[1099 lancer_control_num]), "scr_keyiteminfo_slash_scr_keyiteminfo_gml_189_0");
140
                tempkeyitemdesc = stringsetloc(
Lancer's controllers. They're covered in dirt.
"Lancer's controllers. They're covered in dirt.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_190_0"
);
141
            }
142
        case 20:
143
            tempkeyitemname = stringsetloc(
Scissors
"Scissors", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_186_0_b"
);
144
            tempkeyitemdesc = stringsetloc(
Obviously stolen scissors which could easily#be used to cut up cloth.
"Obviously stolen scissors which could easily#be used to cut up cloth.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_187_0"
);
145
            break;
146
        case 21:
147
            tempkeyitemname = stringsetloc(
YellowShred
"YellowShred", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_191_0"
);
148
            tempkeyitemdesc = stringsetloc(
A shred of yellow fabric with a corn pattern.#The edge is black and smells.
"A shred of yellow fabric with a corn pattern.#The edge is black and smells.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_192_0"
);
149
            break;
150
        case 22:
151
            tempkeyitemname = stringsetloc(
BootOil
"BootOil", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_196_0"
);
152
            tempkeyitemdesc = stringsetloc(
A black, opaque oil with no distinctive odor.#Used to unsqueaken Cowboy boots.
"A black, opaque oil with no distinctive odor.#Used to unsqueaken Cowboy boots.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_197_0"
);
153
            break;
154
        case 23:
155
            tempkeyitemname = stringsetloc(
RedSplatter
"RedSplatter", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_201_0"
);
156
            tempkeyitemdesc = stringsetloc(
A mysterious puddle of red criminal#liquid.
"A mysterious puddle of red criminal#liquid.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_202_0"
);
157
            break;
158
        case 24:
159
            tempkeyitemname = stringsetloc(
BromideR
"BromideR", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_206_0"
);
160
            tempkeyitemdesc = stringsetloc(
"Good night, sweet prince"#USE this item to observe it.
"\"Good night, sweet prince\"#USE this item to observe it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_207_0"
);
161
            tempkeyitemusable = 1;
162
            break;
163
        case 25:
164
            tempkeyitemname = stringsetloc(
PetalFeather
"PetalFeather", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_212_0"
);
165
            tempkeyitemdesc = stringsetloc(
A petal which makes you light as a feather.#Allows the use of MYSTERIOUS STATUES.
"A petal which makes you light as a feather.#Allows the use of MYSTERIOUS STATUES.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_213_0"
);
166
            if (global.plot >= 398 && 
scr_flag_get
scr_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); }
(349) == 0)
167
                tempkeyitemdesc = stringsetloc(
Allows use of MYSTERIOUS STATUES.#Not to be confused with a certain other feather.
"Allows use of MYSTERIOUS STATUES.#Not to be confused with a certain other feather.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_218_0"
);
168
            break;
169
        case 26:
170
            tempkeyitemname = stringsetloc(
PerpBook
"PerpBook", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_223_0"
);
171
            tempkeyitemdesc = stringsetloc(
A purple book with a decidedly floral scent.
"A purple book with a decidedly floral scent.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_224_0"
);
172
            break;
173
        case 27:
174
            tempkeyitemname = stringsetloc(
BlueString
"BlueString", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_228_0"
);
175
            tempkeyitemdesc = stringsetloc(
String which could be used to bound something#in care.
"String which could be used to bound something#in care.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_229_0"
);
176
            break;
177
        case 28:
178
            tempkeyitemname = stringsetloc(
TrainPlan
"TrainPlan", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_233_0"
);
179
            tempkeyitemdesc = stringsetloc(
A blueprint which details how to alter tracks#into a smashing machine with 2 rollercoasts.
"A blueprint which details how to alter tracks#into a smashing machine with 2 rollercoasts.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_234_0"
);
180
            break;
181
        case 29:
182
            tempkeyitemname = stringsetloc(
YellowKey
"YellowKey", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_238_0"
);
183
            tempkeyitemdesc = stringsetloc(
A yellow key that looks like it could#open a yellow door. Smells of corn.
"A yellow key that looks like it could#open a yellow door. Smells of corn.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_239_0"
);
184
            break;
185
        case 30:
186
            tempkeyitemname = stringsetloc(
SheetMusic
"SheetMusic", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_177_0"
);
187
            tempkeyitemdesc = stringsetloc(
Music that Susie attempted to transcribe.#USE it to read it.
"Music that Susie attempted to transcribe.#USE it to read it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_178_0"
);
188
            tempkeyitemusable = 1;
189
            break;
190
        case 31:
191
            tempkeyitemname = stringsetloc(
ClaimbClaws
"ClaimbClaws", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_182_0"
);
192
            tempkeyitemdesc = stringsetloc(
Claws so small they conveniently can't#be seen. Use them to climb up obvious walls.
"Claws so small they conveniently can't#be seen. Use them to climb up obvious walls.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_183_0"
);
193
            break;
194
        case 32:
195
            tempkeyitemname = stringsetloc(
MysteryKey
"MysteryKey", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_254_0"
);
196
            tempkeyitemdesc = stringsetloc(
A pink key with an ectoplasmic aura.#Maybe it's a family heirloom.
"A pink key with an ectoplasmic aura.#Maybe it's a family heirloom.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_255_0"
);
197
            break;
198
        case 33:
199
            tempkeyitemname = stringsetloc(
BromideF
"BromideF", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_259_0"
);
200
            tempkeyitemdesc = stringsetloc(
"Secret Steamy Bathtime"#USE this item to observe it.
"\"Secret Steamy Bathtime\"#USE this item to observe it.", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_260_0"
);
201
            tempkeyitemusable = 1;
202
            break;
203
    }
204
}