Deltarune (Chapter 3) 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"
);
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.chapter == 2) { 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"
);
} } if (global.chapter == 3) { tempkeyitemdesc = stringsetloc(
Ho ho ho!#Enjoy my prescence for a single room!
"Ho ho ho!#Enjoy my prescence for a single room!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0_b"
);
var lancercount = 0; for (var __l = 0; __l < 12; __l++) { if (global.keyitem[__l] == 8) lancercount++; } if (lancercount >= 2) tempkeyitemdesc = stringsetloc(
The best thing about me is that#I'm the only one!
"The best thing about me is that#I'm the only one!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_129_0"
);
} tempkeyitemname = stringsetloc(
Lancer
"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0"
);
tempkeyitemusable = 1; break; ...
(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
            tempkeyitemusable = 1;
21
            break;
22
        case 3:
23
            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"
);
24
            tempkeyitemname = stringsetloc(
BrokenCake
"BrokenCake", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0"
);
25
            break;
26
        case 4:
27
            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"
);
28
            tempkeyitemname = stringsetloc(
Broken Key A
"Broken Key A", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0"
);
29
            break;
30
        case 5:
31
            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"
);
32
            tempkeyitemname = stringsetloc(
Door Key
"Door Key", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0"
);
33
            break;
34
        case 6:
35
            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"
);
36
            tempkeyitemname = stringsetloc(
Broken Key B
"Broken Key B", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0"
);
37
            break;
38
        case 7:
39
            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"
);
40
            tempkeyitemname = stringsetloc(
Broken Key C
"Broken Key C", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0"
);
41
            break;
42
        case 8:
43
            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"
);
44
            if (global.chapter == 2)
45
            {
46
                if (global.plot >= 20)
47
                    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"
);
48
                if (global.plot >= 55)
49
                    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"
);
50
                if (global.plot >= 60)
51
                    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"
);
52
                if (global.plot >= 65)
53
                    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"
);
54
                if (global.plot >= 66)
55
                    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"
);
56
                if (global.plot >= 70)
57
                    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"
);
58
                if (global.plot >= 75)
59
                {
60
                    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"
);
61
                    if (global.flag[418 got_shoe] == 1)
62
                        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"
);
63
                }
64
                if (global.plot >= 79)
65
                    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"
);
66
                if (global.plot >= 85)
67
                    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"
);
68
                if (global.plot >= 90)
69
                    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"
);
70
                if (global.plot >= 99)
71
                    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"
);
72
                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)
73
                {
74
                    tempkeyitemdesc = stringsetloc(
(Innocent boys are fast asleep.)
"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_0"
);
75
                    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)
76
                        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"
);
77
                }
78
                if (global.plot >= 200)
79
                {
80
                    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"
);
81
                    if (room == room_dw_castle_restaurant)
82
                        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"
);
83
                    if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
84
                        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"
);
85
                }
86
            }
87
            if (global.chapter == 3)
88
            {
89
                tempkeyitemdesc = stringsetloc(
Ho ho ho!#Enjoy my prescence for a single room!
"Ho ho ho!#Enjoy my prescence for a single room!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0_b"
);
90
                var lancercount = 0;
91
                for (var __l = 0; __l < 12; __l++)
92
                {
93
                    if (global.keyitem[__l] == 8)
94
                        lancercount++;
95
                }
96
                if (lancercount >= 2)
97
                    tempkeyitemdesc = stringsetloc(
The best thing about me is that#I'm the only one!
"The best thing about me is that#I'm the only one!", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_129_0"
);
98
            }
99
            tempkeyitemname = stringsetloc(
Lancer
"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0"
);
100
            tempkeyitemusable = 1;
101
            break;
102
        case 9:
103
            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"
);
104
            tempkeyitemname = stringsetloc(
Rouxls Kaard
"Rouxls Kaard", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_53_0"
);
105
            if (global.plot >= 200)
106
                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"
);
107
            break;
108
        case 10:
109
            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"
);
110
            tempkeyitemname = stringsetloc(
EmptyDisk
"EmptyDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_57_0"
);
111
            break;
112
        case 11:
113
            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"
);
114
            tempkeyitemname = stringsetloc(
LoadedDisk
"LoadedDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_61_0"
);
115
            break;
116
        case 12:
117
            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"
);
118
            tempkeyitemname = stringsetloc(
KeyGen
"KeyGen", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_65_0"
);
119
            break;
120
        case 13:
121
            var crystal_amount = 0;
122
            if (global.flag[241 JEVIL_plot] >= 6)
123
                crystal_amount++;
124
            if (global.flag[309 spamton_plot] >= 9)
125
                crystal_amount++;
126
            if (global.flag[1047 knight_ch3_status] == 1)
127
                crystal_amount++;
128
            tempkeyitemusable = 1;
129
            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");
130
            tempkeyitemname = stringsetloc(
ShadowCrystal
"ShadowCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_71_0"
);
131
            break;
132
        case 14:
133
            tempkeyitemname = stringsetloc(
Starwalker
"Starwalker", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0"
);
134
            tempkeyitemdesc = stringsetloc(
The original # (Starwalker)
"The original # (Starwalker)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_124_0"
);
135
            break;
136
        case 15:
137
            tempkeyitemname = stringsetloc(
PureCrystal
"PureCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_132_0"
);
138
            tempkeyitemdesc = stringsetloc(
The shadow purified by the cat
"The shadow purified by the cat", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_133_0"
);
139
            break;
140
        case 16:
141
            tempkeyitemname = stringsetloc(
OddController
"OddController", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_158_0"
);
142
            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"
);
143
            break;
144
        case 17:
145
            tempkeyitemname = stringsetloc(
BackstagePass
"BackstagePass", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_162_0"
);
146
            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"
);
147
            break;
148
        case 18:
149
            tempkeyitemname = stringsetloc(
TripTicket
"TripTicket", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_166_0"
);
150
            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"
);
151
            break;
152
        case 19:
153
            tempkeyitemname = stringsetloc(
LancerCon
"LancerCon", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_185_0"
);
154
            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"
);
155
            if (global.flag[1099 lancer_control_num] > 1)
156
            {
157
                tempkeyitemname = stringsetsubloc("LancerConX~1", string(global.flag[1099 lancer_control_num]), "scr_keyiteminfo_slash_scr_keyiteminfo_gml_189_0");
158
                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"
);
159
            }
160
            break;
161
    }
162
}