Undertale script viewer

← back to main script listing

gml_Object_obj_mainchara_KeyPress_36

(view raw script w/o annotations or w/e)
1
if (global.debug == 1)
2
{
3
    global.battlegroup = 57 + nnn;
4
    global.border = 0;
5
    instance_create(0, 0, obj_battleblcon);
6
    if (global.plot == 998)
7
    {
8
        global.flag[10 spared_last] = 0;
9
        global.flag[11 escaped_last] = 0;
10
        global.flag[12 killed_last] = 0;
11
        global.flag[13 bored_last] = 0;
12
        global.entrance = 0;
13
        global.battlegroup = 82;
14
        obj_mainchara.depth = -600;
15
        if (instance_exists(obj_battler) == 0)
16
            instance_create(0, 0, obj_battler);
17
    }
18
}