Undertale script viewer

← back to main script listing

gml_Object_obj_mainchara_KeyPress_36

related scripts: Collision_10Collision_11Collision_12Collision_13Collision_1367Collision_822Create_0Draw_0KeyPress_118KeyPress_120KeyPress_121KeyPress_122KeyPress_123KeyPress_33KeyPress_34KeyPress_35KeyPress_36 KeyPress_45KeyPress_46KeyPress_48KeyPress_49KeyPress_50KeyPress_51KeyPress_52KeyPress_53KeyPress_54KeyPress_71KeyPress_73KeyPress_77KeyPress_79KeyPress_80KeyPress_85Keyboard_76Keyboard_83Other_10Other_12Step_0Step_2

(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
}