Undertale script viewer

← back to main script listing

gml_Object_obj_lazyencounterer_Collision_1576

(view raw script w/o annotations or w/e)
1
if (cl == 0)
2
{
3
    global.battlegroup = battleno;
4
    global.border = 0;
5
    other.x = other.xprevious;
6
    other.y = other.yprevious;
7
    instance_create(0, 0, obj_battleblcon);
8
    cl = 1;
9
    global.flag[408 progress_hotland_battles] += 1;
10
    instance_destroy();
11
}