Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_itemdesc_oldtype

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

function scr_itemdesc_oldtype(arg0) { global.msg[0] = stringsetloc(
* It could not be.Wait for inputClose Message
"* It could not be./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_2_0"
); switch (arg0) { case 0: global.msg[0] = stringsetloc(
* An emptiness filled your hands.Wait for inputClose Message
"* An emptiness filled your hands./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_6_0"
); break; case 1: global.msg[0] = stringsetloc(
* "Dark Candy" - Heals 60 HP
* Black and red star that
tastes like marshmallows.Wait for inputClose Message
"* \"Dark Candy\" - Heals 60 HP&* Black and red star that& tastes like marshmallows./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_9_0"
); break; case 2: global.msg[0] = stringsetloc(
* "Life Dew" - Revive Ally (Weak)
* Glowing dew...
* It refreshes your SOUL.Wait for inputClose Message
"* \"Life Dew\" - Revive Ally (Weak)&* Glowing dew...&* It refreshes your SOUL./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_12_0"
); break; } }
(arg0)
2
{
3
    global.msg[0] = stringsetloc(
* It could not be.Wait for inputClose Message
"* It could not be./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_2_0"
);
4
    switch (arg0)
5
    {
6
        case 0:
7
            global.msg[0] = stringsetloc(
* An emptiness filled your hands.Wait for inputClose Message
"* An emptiness filled your hands./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_6_0"
);
8
            break;
9
        case 1:
10
            global.msg[0] = stringsetloc(
* "Dark Candy" - Heals 60 HP
* Black and red star that
tastes like marshmallows.Wait for inputClose Message
"* \"Dark Candy\" - Heals 60 HP&* Black and red star that& tastes like marshmallows./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_9_0"
);
11
            break;
12
        case 2:
13
            global.msg[0] = stringsetloc(
* "Life Dew" - Revive Ally (Weak)
* Glowing dew...
* It refreshes your SOUL.Wait for inputClose Message
"* \"Life Dew\" - Revive Ally (Weak)&* Glowing dew...&* It refreshes your SOUL./%", "scr_itemdesc_oldtype_slash_scr_itemdesc_oldtype_gml_12_0"
);
14
            break;
15
    }
16
}