Deltarune (Chapter 1) script viewer

← back to main script listing

gml_GlobalScript_scr_spell_overworld

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

function
scr_spell_overworld(arg0)
{ w = arg0; usable = 0; switch (arg0) { case 0: break; case 2:
scr_healitem(global.charselect, 100);
break; } }
(arg0)
2
{
3
    w = arg0;
4
    usable = 0;
5
    switch (arg0)
6
    {
7
        case 0:
8
            break;
9
        case 2:
10
            
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, 100);
11
            break;
12
    }
13
}