Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_itemdesc_single

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

function scr_itemdesc_single(arg0) { __itemdesc = stringsetloc(
---
"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_1_0"
); switch (arg0) { case 0: __itemdesc = stringsetloc(
---
"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_5_0"
); break; case 1: __itemdesc = stringsetloc(
Heals 40 HP. A red-and-black star#that tastes like marshmallows.
"Heals 40 HP. A red-and-black star#that tastes like marshmallows.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_8_0"
); break; case 2: __itemdesc = stringsetloc(
Heals a fallen ally to MAX HP.#A minty green crystal.
"Heals a fallen ally to MAX HP.#A minty green crystal.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_11_0"
); break; case 3: __itemdesc = stringsetloc(
A shimmering shard.#Its use is unknown.
"A shimmering shard.#Its use is unknown.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_14_0"
); if (global.chapter >= 2) __itemdesc = stringsetloc(
A shimmering shard.#Its value increases each Chapter.
"A shimmering shard.#Its value increases each Chapter.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0_b"
); break; case 4: __itemdesc = stringsetloc(
Ralsei's handmade book full of#various tips and tricks.
"Ralsei's handmade book full of#various tips and tricks.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0"
); break; case 5: __itemdesc = 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_itemdesc_single_slash_scr_itemdesc_single_gml_20_0"
); break; case 6: __itemdesc = stringsetloc(
This cake will make your taste buds#spin! Heals 160 HP to the team.
"This cake will make your taste buds#spin! Heals 160 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_23_0"
); break; case 7: var healamount = (global.chapter == 1) ? 80 : 140; __itemdesc = stringsetsubloc("A pastry in the shape of a top.#Heals ~1 HP to the team.", string(healamount), "scr_itemdesc_single_slash_scr_itemdesc_single_gml_27_0"); break; case 8: __itemdesc = stringsetloc(
A mysterious black burger made of...#Hey, this is just burnt! +70HP
"A mysterious black burger made of...#Hey, this is just burnt! +70HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_30_0"
); break; case 9: __itemdesc = stringsetloc(
A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?
"A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_33_0"
); break; case 10: __itemdesc = stringsetloc(
An enormous salad... but, it's just#lettuce, so it's worthless. +4HP
"An enormous salad... but, it's just#lettuce, so it's worthless. +4HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_36_0"
); break; case 11: __itemdesc = stringsetloc(
A sandwich that can be split into 3.#Heals 70 HP to the team.
"A sandwich that can be split into 3.#Heals 70 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_39_0"
); break; case 12: __itemdesc = stringsetloc(
Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP
"Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_42_0"
); break; case 13: __itemdesc = stringsetloc(
It's quite small, but some#people REALLY like it. +??HP
"It's quite small, but some#people REALLY like it. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_45_0"
); break; case 14: __itemdesc = stringsetloc(
You'd think it tastes perfect.#Heals 500HP.
"You'd think it tastes perfect.#Heals 500HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_48_0"
); break; case 15: __itemdesc = stringsetloc(
A dark roux with a delicate aroma.#Also... has worms in it. +50HP
"A dark roux with a delicate aroma.#Also... has worms in it. +50HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_51_0"
); break; case 16: __itemdesc = stringsetloc(
A bagel with a reflective inside.#Makes music with each bite. +80HP
"A bagel with a reflective inside.#Makes music with each bite. +80HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_54_0"
); break; case 17: __itemdesc = stringsetloc(
It's a mannequin with the clothes#permanently attached. Useless
"It's a mannequin with the clothes#permanently attached. Useless", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_57_0"
); break; case 18: __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Kris."
"It's own-flavored tea.#The flavor just says \"Kris.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_60_0"
); break; case 19: __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Noelle."
"It's own-flavored tea.#The flavor just says \"Noelle.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_63_0"
); break; case 20: __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Ralsei."
"It's own-flavored tea.#The flavor just says \"Ralsei.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_66_0"
); break; case 21: __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Susie."
"It's own-flavored tea.#The flavor just says \"Susie.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_69_0"
); break; case 22: __itemdesc = stringsetloc(
It's the Double-Dark-Burger.#It'll take two bites to finish!
"It's the Double-Dark-Burger.#It'll take two bites to finish!", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_72_0"
); break; case 23: __itemdesc = stringsetloc(
White candy with a chalky texture.#It'll recover 120HP.
"White candy with a chalky texture.#It'll recover 120HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_75_0"
); break; case 24: __itemdesc = stringsetloc(
It's short for ButlerJuice.#It changes color with temperature.
"It's short for ButlerJuice.#It changes color with temperature.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_78_0"
); break; case 25: __itemdesc = stringsetloc(
Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all.
"Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_81_0"
); break; case 26: __itemdesc = stringsetloc(
A coffee-and-chocolate flavored cookie.#Words spark out when you bite it.
"A coffee-and-chocolate flavored cookie.#Words spark out when you bite it.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_84_0"
); break; case 27: __itemdesc = stringsetloc(
Raises TP by 32Close Message in battle.
"Raises TP by 32% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_87_0"
); break; case 28: __itemdesc = stringsetloc(
Raises TP by 50Close Message in battle.
"Raises TP by 50% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_90_0"
); break; case 29: __itemdesc = stringsetloc(
Raises TP to full in battle.
"Raises TP to full in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_93_0"
); break; case 30: __itemdesc = stringsetloc(
A minty powder that revives all#fallen party members to 25Close Message HP.
"A minty powder that revives all#fallen party members to 25% HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_96_0"
); break; ...
(arg0)
2
{
3
    __itemdesc = stringsetloc(
---
"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_1_0"
);
4
    switch (arg0)
5
    {
6
        case 0:
7
            __itemdesc = stringsetloc(
---
"---", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_5_0"
);
8
            break;
9
        case 1:
10
            __itemdesc = stringsetloc(
Heals 40 HP. A red-and-black star#that tastes like marshmallows.
"Heals 40 HP. A red-and-black star#that tastes like marshmallows.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_8_0"
);
11
            break;
12
        case 2:
13
            __itemdesc = stringsetloc(
Heals a fallen ally to MAX HP.#A minty green crystal.
"Heals a fallen ally to MAX HP.#A minty green crystal.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_11_0"
);
14
            break;
15
        case 3:
16
            __itemdesc = stringsetloc(
A shimmering shard.#Its use is unknown.
"A shimmering shard.#Its use is unknown.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_14_0"
);
17
            if (global.chapter >= 2)
18
                __itemdesc = stringsetloc(
A shimmering shard.#Its value increases each Chapter.
"A shimmering shard.#Its value increases each Chapter.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0_b"
);
19
            break;
20
        case 4:
21
            __itemdesc = stringsetloc(
Ralsei's handmade book full of#various tips and tricks.
"Ralsei's handmade book full of#various tips and tricks.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_17_0"
);
22
            break;
23
        case 5:
24
            __itemdesc = 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_itemdesc_single_slash_scr_itemdesc_single_gml_20_0"
);
25
            break;
26
        case 6:
27
            __itemdesc = stringsetloc(
This cake will make your taste buds#spin! Heals 160 HP to the team.
"This cake will make your taste buds#spin! Heals 160 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_23_0"
);
28
            break;
29
        case 7:
30
            var healamount = (global.chapter == 1) ? 80 : 140;
31
            __itemdesc = stringsetsubloc("A pastry in the shape of a top.#Heals ~1 HP to the team.", string(healamount), "scr_itemdesc_single_slash_scr_itemdesc_single_gml_27_0");
32
            break;
33
        case 8:
34
            __itemdesc = stringsetloc(
A mysterious black burger made of...#Hey, this is just burnt! +70HP
"A mysterious black burger made of...#Hey, this is just burnt! +70HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_30_0"
);
35
            break;
36
        case 9:
37
            __itemdesc = stringsetloc(
A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?
"A cookie shaped like Lancer's face.#Maybe not a cookie. Heals 1 HP?", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_33_0"
);
38
            break;
39
        case 10:
40
            __itemdesc = stringsetloc(
An enormous salad... but, it's just#lettuce, so it's worthless. +4HP
"An enormous salad... but, it's just#lettuce, so it's worthless. +4HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_36_0"
);
41
            break;
42
        case 11:
43
            __itemdesc = stringsetloc(
A sandwich that can be split into 3.#Heals 70 HP to the team.
"A sandwich that can be split into 3.#Heals 70 HP to the team.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_39_0"
);
44
            break;
45
        case 12:
46
            __itemdesc = stringsetloc(
Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP
"Hearts, don't it!? It's filled with#divisive, clotty red jam. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_42_0"
);
47
            break;
48
        case 13:
49
            __itemdesc = stringsetloc(
It's quite small, but some#people REALLY like it. +??HP
"It's quite small, but some#people REALLY like it. +??HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_45_0"
);
50
            break;
51
        case 14:
52
            __itemdesc = stringsetloc(
You'd think it tastes perfect.#Heals 500HP.
"You'd think it tastes perfect.#Heals 500HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_48_0"
);
53
            break;
54
        case 15:
55
            __itemdesc = stringsetloc(
A dark roux with a delicate aroma.#Also... has worms in it. +50HP
"A dark roux with a delicate aroma.#Also... has worms in it. +50HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_51_0"
);
56
            break;
57
        case 16:
58
            __itemdesc = stringsetloc(
A bagel with a reflective inside.#Makes music with each bite. +80HP
"A bagel with a reflective inside.#Makes music with each bite. +80HP", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_54_0"
);
59
            break;
60
        case 17:
61
            __itemdesc = stringsetloc(
It's a mannequin with the clothes#permanently attached. Useless
"It's a mannequin with the clothes#permanently attached. Useless", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_57_0"
);
62
            break;
63
        case 18:
64
            __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Kris."
"It's own-flavored tea.#The flavor just says \"Kris.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_60_0"
);
65
            break;
66
        case 19:
67
            __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Noelle."
"It's own-flavored tea.#The flavor just says \"Noelle.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_63_0"
);
68
            break;
69
        case 20:
70
            __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Ralsei."
"It's own-flavored tea.#The flavor just says \"Ralsei.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_66_0"
);
71
            break;
72
        case 21:
73
            __itemdesc = stringsetloc(
It's own-flavored tea.#The flavor just says "Susie."
"It's own-flavored tea.#The flavor just says \"Susie.\"", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_69_0"
);
74
            break;
75
        case 22:
76
            __itemdesc = stringsetloc(
It's the Double-Dark-Burger.#It'll take two bites to finish!
"It's the Double-Dark-Burger.#It'll take two bites to finish!", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_72_0"
);
77
            break;
78
        case 23:
79
            __itemdesc = stringsetloc(
White candy with a chalky texture.#It'll recover 120HP.
"White candy with a chalky texture.#It'll recover 120HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_75_0"
);
80
            break;
81
        case 24:
82
            __itemdesc = stringsetloc(
It's short for ButlerJuice.#It changes color with temperature.
"It's short for ButlerJuice.#It changes color with temperature.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_78_0"
);
83
            break;
84
        case 25:
85
            __itemdesc = stringsetloc(
Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all.
"Spaghetti woven by master coders, made#of macarons and ribbons. +30HP to all.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_81_0"
);
86
            break;
87
        case 26:
88
            __itemdesc = stringsetloc(
A coffee-and-chocolate flavored cookie.#Words spark out when you bite it.
"A coffee-and-chocolate flavored cookie.#Words spark out when you bite it.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_84_0"
);
89
            break;
90
        case 27:
91
            __itemdesc = stringsetloc(
Raises TP by 32Close Message in battle.
"Raises TP by 32% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_87_0"
);
92
            break;
93
        case 28:
94
            __itemdesc = stringsetloc(
Raises TP by 50Close Message in battle.
"Raises TP by 50% in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_90_0"
);
95
            break;
96
        case 29:
97
            __itemdesc = stringsetloc(
Raises TP to full in battle.
"Raises TP to full in battle.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_93_0"
);
98
            break;
99
        case 30:
100
            __itemdesc = stringsetloc(
A minty powder that revives all#fallen party members to 25Close Message HP.
"A minty powder that revives all#fallen party members to 25% HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_96_0"
);
101
            break;
102
        case 31:
103
            __itemdesc = stringsetloc(
A breakable mint that revives all#fallen party members to 100Close Message HP.
"A breakable mint that revives all#fallen party members to 100% HP.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_99_0"
);
104
            break;
105
        case 32:
106
            __itemdesc = stringsetloc(
A strange concoction made of#colorful squares. Will poison you.
"A strange concoction made of#colorful squares. Will poison you.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_102_0"
);
107
            break;
108
        case 33:
109
            __itemdesc = stringsetloc(
A dollar with a certain dog on it.#Its value decreases each Chapter.
"A dollar with a certain dog on it.#Its value decreases each Chapter.", "scr_itemdesc_single_slash_scr_itemdesc_single_gml_109_0"
);
110
            break;
111
    }
112
    return __itemdesc;
113
}