Deltarune 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.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"
); tempkeyitemname = stringsetloc(
LoadedDisk
"LoadedDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_61_0"
); break; case 12: ...
(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.plot >= 20)
45
                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"
);
46
            if (global.plot >= 55)
47
                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"
);
48
            if (global.plot >= 60)
49
                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"
);
50
            if (global.plot >= 65)
51
                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"
);
52
            if (global.plot >= 66)
53
                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"
);
54
            if (global.plot >= 70)
55
                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"
);
56
            if (global.plot >= 75)
57
            {
58
                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"
);
59
                if (global.flag[418 got_shoe] == 1)
60
                    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"
);
61
            }
62
            if (global.plot >= 79)
63
                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"
);
64
            if (global.plot >= 85)
65
                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"
);
66
            if (global.plot >= 90)
67
                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"
);
68
            if (global.plot >= 99)
69
                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"
);
70
            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; }
() >= 1 && global.flag[915 snowgrave_plot] >= 1.5)
71
            {
72
                tempkeyitemdesc = stringsetloc(
(Innocent boys are fast asleep.)
"(Innocent boys are fast asleep.)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_95_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; }
() >= 3)
74
                    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"
);
75
            }
76
            if (global.plot >= 200)
77
            {
78
                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"
);
79
                if (room == room_dw_castle_restaurant)
80
                    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"
);
81
                if (room == room_cc_lancer || room == room_dw_ralsei_castle_2f)
82
                    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"
);
83
            }
84
            tempkeyitemname = stringsetloc(
Lancer
"Lancer", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_48_0"
);
85
            tempkeyitemusable = 1;
86
            break;
87
        case 9:
88
            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"
);
89
            tempkeyitemname = stringsetloc(
Rouxls Kaard
"Rouxls Kaard", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_53_0"
);
90
            if (global.plot >= 200)
91
                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"
);
92
            break;
93
        case 10:
94
            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"
);
95
            tempkeyitemname = stringsetloc(
EmptyDisk
"EmptyDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_57_0"
);
96
            break;
97
        case 11:
98
            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"
);
99
            tempkeyitemname = stringsetloc(
LoadedDisk
"LoadedDisk", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_61_0"
);
100
            break;
101
        case 12:
102
            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"
);
103
            tempkeyitemname = stringsetloc(
KeyGen
"KeyGen", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_65_0"
);
104
            break;
105
        case 13:
106
            var crystal_amount = 0;
107
            if (global.flag[241 JEVIL_plot] >= 6)
108
                crystal_amount++;
109
            if (global.flag[309 spamton_plot] >= 9)
110
                crystal_amount++;
111
            tempkeyitemusable = 1;
112
            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");
113
            tempkeyitemname = stringsetloc(
ShadowCrystal
"ShadowCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_71_0"
);
114
            break;
115
        case 14:
116
            tempkeyitemname = stringsetloc(
Starwalker
"Starwalker", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_123_0"
);
117
            tempkeyitemdesc = stringsetloc(
The original # (Starwalker)
"The original # (Starwalker)", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_124_0"
);
118
            break;
119
        case 15:
120
            tempkeyitemname = stringsetloc(
PureCrystal
"PureCrystal", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_132_0"
);
121
            tempkeyitemdesc = stringsetloc(
The shadow purified by the cat
"The shadow purified by the cat", "scr_keyiteminfo_slash_scr_keyiteminfo_gml_133_0"
);
122
            break;
123
    }
124
}