Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_kris_headobj_Create_0

(view raw script w/o annotations or w/e)
1
follow = 1;
2
breakcon = 0;
3
breaktimer = 0;
4
if (instance_exists(obj_mainchara))
5
    depth = obj_mainchara.depth - 4;
6
miceheld = 0;
7
type = 0;
8
yoffset = 0;
9
mousefailcon = 0;
10
if (global.chapter == 2)
11
{
12
    if (room == room_dw_city_postbaseball_3)
13
        type = 1;
14
}