Deltarune (Chapter 1) script viewer

← back to main script listing

gml_GlobalScript_scr_itemuse

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

function
scr_itemuse(arg0)
{ w = arg0; usable = 0; if (global.charselect < 3) _gc = global.char[global.charselect]; suspos = -1; ralpos = -1; for (i = 0; i < 3; i += 1) { if (global.char[i] == 2) suspos = i; if (global.char[i] == 3) ralpos = i; } switch (arg0) { case 0: itemnameb = " "; itemdescb = "---"; break; case 1:
scr_healitem(global.charselect, 40);
usable = 1; if (_gc == 2)
scr_itemcomment(global.charselect, 
Yeahh!! That's good!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_28_0")
);
if (_gc == 3) { if (suspos >= 0)
scr_itemcomment(suspos, 
Hey, feed ME!!!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_33_0")
);
scr_itemcomment(global.charselect, 
Yummy!!! Marshmallows!!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_35_0")
);
} break; case 2: reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
scr_healitem(global.charselect, reviveamt);
usable = 1; if (_gc == 2) {
scr_itemcomment(suspos, 
I'm ALIVE!!!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_47_0")
);
if (
scr_havechar(3))
scr_itemcomment(ralpos, 
(You weren't dead)
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_48_0")
);
} if (_gc == 3) { if (suspos >= 0)
scr_itemcomment(suspos, 
(Don't look it)
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_53_0")
);
scr_itemcomment(ralpos, 
Ah, I'm refreshed!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_54_0")
);
} break; case 4: global.interact = 6; with (obj_darkcontroller) charcon = 0; global.menuno = -1; charcon = 0; global.fc = 0; global.fe = 0; global.typer = 6; global.msg[0] =
* (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_71_0")
;
instance_create(0, 0, obj_dialoguer); break; case 5:
scr_healitem(global.charselect, 20);
usable = 1; break; case 6:
scr_healitem_all(160);
if (suspos >= 0)
scr_itemcomment(suspos, 
Mmm, seconds!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_83_0")
);
if (ralpos >= 0)
scr_itemcomment(ralpos, 
Whoops.
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_84_0")
);
usable = 1; break; case 7:
scr_healitem_all(80);
if (suspos >= 0)
scr_itemcomment(suspos, 
I'm dizzy.
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_90_0")
);
if (ralpos >= 0)
scr_itemcomment(ralpos, 
Mmm, thank you!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_91_0")
);
usable = 1; break; case 8:
scr_healitem(global.charselect, 70);
usable = 1; if (global.char[global.charselect] == 2)
scr_itemcomment(global.charselect, 
Cooked to perfection!
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_101_0")
);
if (global.char[global.charselect] == 3)
scr_itemcomment(global.charselect, 
A bit burnt...?
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_105_0")
);
break; case 9:
scr_healitem(global.charselect, 4);
usable = 1; if (global.char[global.charselect] == 2)
scr_itemcomment(global.charselect, 
Mmm... face
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_115_0")
);
if (global.char[global.charselect] == 3)
scr_itemcomment(global.charselect, 
(uncomfortable)
scr_84_get_lang_string("scr_itemuse_slash_scr_itemuse_gml_119_0")
);
break; case 10:
scr_healitem(global.charselect, 4);
usable = 1; ...
(arg0)
2
{
3
    w = arg0;
4
    usable = 0;
5
    if (global.charselect < 3)
6
        _gc = global.char[global.charselect];
7
    suspos = -1;
8
    ralpos = -1;
9
    for (i = 0; i < 3; i += 1)
10
    {
11
        if (global.char[i] == 2)
12
            suspos = i;
13
        if (global.char[i] == 3)
14
            ralpos = i;
15
    }
16
    switch (arg0)
17
    {
18
        case 0:
19
            itemnameb = " ";
20
            itemdescb = "---";
21
            break;
22
        case 1:
23
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 40);
24
            usable = 1;
25
            if (_gc == 2)
26
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Yeahh!! That's good!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_28_0")
);
27
            if (_gc == 3)
28
            {
29
                if (suspos >= 0)
30
                    
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
Hey, feed ME!!!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_33_0")
);
31
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Yummy!!! Marshmallows!!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_35_0")
);
32
            }
33
            break;
34
        case 2:
35
            reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
36
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, reviveamt);
37
            usable = 1;
38
            if (_gc == 2)
39
            {
40
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
I'm ALIVE!!!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_47_0")
);
41
                if (
scr_havechar
scr_havechar

function
scr_havechar(arg0)
{ _rreturn = 0; if (global.char[0] == arg0) _rreturn = 1; if (global.char[1] == arg0) _rreturn = 1; if (global.char[2] == arg0) _rreturn = 1; return _rreturn; }
(3))
42
                    
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(ralpos,
(You weren't dead)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_48_0")
);
43
            }
44
            if (_gc == 3)
45
            {
46
                if (suspos >= 0)
47
                    
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
(Don't look it)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_53_0")
);
48
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(ralpos,
Ah, I'm refreshed!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_54_0")
);
49
            }
50
            break;
51
        case 4:
52
            global.interact = 6;
53
            with (obj_darkcontroller)
54
                charcon = 0;
55
            global.menuno = -1;
56
            charcon = 0;
57
            global.fc = 0;
58
            global.fe = 0;
59
            global.typer = 6;
60
            global.msg[0] = 
* (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_71_0")
;
61
            instance_create(0, 0, obj_dialoguer);
62
            break;
63
        case 5:
64
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 20);
65
            usable = 1;
66
            break;
67
        case 6:
68
            
scr_healitem_all
scr_healitem_all

function
scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1) { healx =
scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg0; } }
(160);
69
            if (suspos >= 0)
70
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
Mmm, seconds!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_83_0")
);
71
            if (ralpos >= 0)
72
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(ralpos,
Whoops.
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_84_0")
);
73
            usable = 1;
74
            break;
75
        case 7:
76
            
scr_healitem_all
scr_healitem_all

function
scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1) { healx =
scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg0; } }
(80);
77
            if (suspos >= 0)
78
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
I'm dizzy.
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_90_0")
);
79
            if (ralpos >= 0)
80
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(ralpos,
Mmm, thank you!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_91_0")
);
81
            usable = 1;
82
            break;
83
        case 8:
84
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 70);
85
            usable = 1;
86
            if (global.char[global.charselect] == 2)
87
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Cooked to perfection!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_101_0")
);
88
            if (global.char[global.charselect] == 3)
89
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
A bit burnt...?
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_105_0")
);
90
            break;
91
        case 9:
92
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 4);
93
            usable = 1;
94
            if (global.char[global.charselect] == 2)
95
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Mmm... face
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_115_0")
);
96
            if (global.char[global.charselect] == 3)
97
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
(uncomfortable)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_119_0")
);
98
            break;
99
        case 10:
100
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 4);
101
            usable = 1;
102
            if (global.char[global.charselect] == 2)
103
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Why this!?
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_129_0")
);
104
            if (global.char[global.charselect] == 3)
105
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Let's be healthy!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_133_0")
);
106
            break;
107
        case 11:
108
            
scr_healitem_all
scr_healitem_all

function
scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1) { healx =
scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg0; } }
(30);
109
            if (suspos >= 0)
110
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(suspos,
Quit hogging!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_139_0")
);
111
            if (ralpos >= 0)
112
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(ralpos,
(It's cut evenly...)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_140_0")
);
113
            usable = 1;
114
            break;
115
        case 12:
116
            usable = 1;
117
            if (global.char[global.charselect] == 1)
118
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 20);
119
            if (global.char[global.charselect] == 2)
120
            {
121
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 80);
122
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Mmm, blood!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_154_0")
);
123
            }
124
            if (global.char[global.charselect] == 3)
125
            {
126
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 50);
127
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Aah, sticky...
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_159_0")
);
128
            }
129
            break;
130
        case 13:
131
            usable = 1;
132
            if (global.char[global.charselect] == 1)
133
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 80);
134
            if (global.char[global.charselect] == 2)
135
            {
136
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 20);
137
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
THAT'S it?
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_173_0")
);
138
            }
139
            if (global.char[global.charselect] == 3)
140
            {
141
                
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 50);
142
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Aww, thanks, Kris!
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_178_0")
);
143
            }
144
            break;
145
        case 14:
146
            usable = 1;
147
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 500);
148
            if (global.char[global.charselect] == 2)
149
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
(It's SO good!)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_188_0")
);
150
            if (global.char[global.charselect] == 3)
151
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
K-Kris!? I...
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_192_0")
);
152
            break;
153
        case 15:
154
            
scr_healitem
scr_healitem

function
scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx =
scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter); healtext.healamt = arg1; }
(global.charselect, 50);
155
            usable = 1;
156
            if (global.char[global.charselect] == 2)
157
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Cool, it's wriggling.
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_202_0")
);
158
            if (global.char[global.charselect] == 3)
159
                
scr_itemcomment
scr_itemcomment

function
scr_itemcomment(arg0, arg1)
{ talkx =
scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter); itemcomment.msg = arg1; itemcomment.who = arg0; if (global.flag[32 hide_equip_comments] == 1) { with (itemcomment) instance_destroy(); } }
(global.charselect,
Yum, is this spaghetti?
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_206_0")
);
160
            break;
161
        case 300:
162
            break;
163
        case 301:
164
            with (obj_darkcontroller)
165
                charcon = 0;
166
            global.menuno = -1;
167
            charcon = 0;
168
            global.fc = 0;
169
            global.fe = 0;
170
            global.typer = 6;
171
            snd_play(snd_phone);
172
            global.msg[0] = 
* (You tried to call on the Cell Phone.)
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_222_0")
;
173
            instance_create(0, 0, obj_dialoguer);
174
            instance_create(0, 0, obj_darkphone_event);
175
            global.interact = 1;
176
            break;
177
        case 302:
178
            global.interact = 6;
179
            with (obj_darkcontroller)
180
                charcon = 0;
181
            global.menuno = -1;
182
            charcon = 0;
183
            snd_play(snd_egg);
184
            global.fc = 0;
185
            global.fe = 0;
186
            global.typer = 6;
187
            global.msg[0] = 
* (You used the Egg.)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_237_0")
;
188
            instance_create(0, 0, obj_dialoguer);
189
            break;
190
        case 313:
191
            global.interact = 6;
192
            with (obj_darkcontroller)
193
                charcon = 0;
194
            global.menuno = -1;
195
            charcon = 0;
196
            global.fc = 0;
197
            global.fe = 0;
198
            global.typer = 6;
199
            if (global.flag[280 used_shadow_ch1] == 0)
200
            {
201
                global.flag[280 used_shadow_ch1] = 1;
202
                global.msg[0] = 
* You held the crystal up to your eye.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_238_0")
;
203
                global.msg[1] = 
* For some strange reason,Delay 11 for just a brief moment...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_239_0")
;
204
                global.msg[2] = 
* You thought you saw toys strewn on the floor.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_240_0")
;
205
                global.msg[3] = 
* ...but,Delay 11 it must've just been your imagination.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_241_0")
;
206
            }
207
            else if (global.flag[280 used_shadow_ch1] == 1)
208
            {
209
                global.flag[280 used_shadow_ch1] = 2;
210
                global.msg[0] = 
* You held the crystal up to your eye.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_242_0")
;
211
                global.msg[1] = 
* ...Delay 11 but nothing happened.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_243_0")
;
212
            }
213
            else
214
            {
215
                global.msg[0] = 
* It doesn't seem very useful.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function
scr_84_get_lang_string(arg0)
{ return ds_map_find_value(global.lang_map, arg0); }
("scr_itemuse_slash_scr_itemuse_gml_244_0")
;
216
            }
217
            instance_create(0, 0, obj_dialoguer);
218
            break;
219
    }
220
}