Deltarune script viewer

← back to main script listing

gml_GlobalScript_scr_keyiteminfo_ch1

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

function scr_keyiteminfo_ch1(arg0) { tempkeyitemdesc = "---"; tempkeyitemname = " "; tempkeyitemusable = 0; switch (arg0) { case 0: tempkeyitemdesc = "---"; tempkeyitemname = " "; break; case 1: tempkeyitemdesc =
It can be used to make calls.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0")
; tempkeyitemname =
Cell Phone
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0")
; tempkeyitemusable = 1; break; case 2: tempkeyitemdesc =
Not too important, not too unimportant.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0")
; tempkeyitemname =
Egg
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0")
; tempkeyitemusable = 1; break; case 3: tempkeyitemdesc =
Though broken, it seethes with power.#A master smith could fix it.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0")
; tempkeyitemname =
BrokenCake
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0")
; break; case 4: tempkeyitemdesc =
It's the top part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0")
; tempkeyitemname =
Broken Key A
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0")
; break; case 5: tempkeyitemdesc =
The key to a mysterious cell.#Something feels strange about it.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0")
; tempkeyitemname =
Door Key
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0")
; break; case 6: tempkeyitemdesc =
It's the middle part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0")
; tempkeyitemname =
Broken Key B
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0")
; break; case 7: tempkeyitemdesc =
It's the bottom part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0")
; tempkeyitemname =
Broken Key C
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0")
; break; case 13: tempkeyitemusable = 1; tempkeyitemdesc =
A sharp shadow moves like water in the hand.#You have collected 1.
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_41_0")
; tempkeyitemname =
ShadowCrystal
scr_84_get_lang_string_ch1("scr_keyiteminfo_slash_scr_keyiteminfo_gml_42_0")
; break; } }
(arg0)
2
{
3
    tempkeyitemdesc = "---";
4
    tempkeyitemname = " ";
5
    tempkeyitemusable = 0;
6
    switch (arg0)
7
    {
8
        case 0:
9
            tempkeyitemdesc = "---";
10
            tempkeyitemname = " ";
11
            break;
12
        case 1:
13
            tempkeyitemdesc = 
It can be used to make calls.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_13_0")
;
14
            tempkeyitemname = 
Cell Phone
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_14_0")
;
15
            tempkeyitemusable = 1;
16
            break;
17
        case 2:
18
            tempkeyitemdesc = 
Not too important, not too unimportant.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_18_0")
;
19
            tempkeyitemname = 
Egg
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_19_0")
;
20
            tempkeyitemusable = 1;
21
            break;
22
        case 3:
23
            tempkeyitemdesc = 
Though broken, it seethes with power.#A master smith could fix it.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_23_0")
;
24
            tempkeyitemname = 
BrokenCake
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_24_0")
;
25
            break;
26
        case 4:
27
            tempkeyitemdesc = 
It's the top part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_27_0")
;
28
            tempkeyitemname = 
Broken Key A
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_28_0")
;
29
            break;
30
        case 5:
31
            tempkeyitemdesc = 
The key to a mysterious cell.#Something feels strange about it.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_31_0")
;
32
            tempkeyitemname = 
Door Key
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_32_0")
;
33
            break;
34
        case 6:
35
            tempkeyitemdesc = 
It's the middle part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_35_0")
;
36
            tempkeyitemname = 
Broken Key B
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_36_0")
;
37
            break;
38
        case 7:
39
            tempkeyitemdesc = 
It's the bottom part of a key.#A smith could fix all three parts.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_39_0")
;
40
            tempkeyitemname = 
Broken Key C
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_40_0")
;
41
            break;
42
        case 13:
43
            tempkeyitemusable = 1;
44
            tempkeyitemdesc = 
A sharp shadow moves like water in the hand.#You have collected 1.
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_41_0")
;
45
            tempkeyitemname = 
ShadowCrystal
scr_84_get_lang_string_ch1
scr_84_get_lang_string_ch1

function scr_84_get_lang_string_ch1(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("scr_keyiteminfo_slash_scr_keyiteminfo_gml_42_0")
;
46
            break;
47
    }
48
}