Undertale script viewer

← back to main script listing

gml_Object_obj_dummy1_Step_0

(view raw script w/o annotations or w/e)
1
if (myinteract == 1 && global.plot < 6)
2
{
3
    global.flag[10 spared_last] = 0;
4
    global.flag[11 escaped_last] = 0;
5
    global.flag[12 killed_last] = 0;
6
    global.flag[13 bored_last] = 0;
7
    global.entrance = 0;
8
    global.battlegroup = 2;
9
    obj_mainchara.depth = -600;
10
    if (instance_exists(obj_battler) == 0)
11
        instance_create(0, 0, obj_battler);
12
    global.plot = 6;
13
    myinteract = 0;
14
}
15
script_execute(scr_depth);