Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_your_tutu_Step_0

(view raw script w/o annotations or w/e)
1
if (attached)
2
{
3
    x = obj_heart.x + 1;
4
    y = obj_heart.y + 5;
5
}
6
if (vanished == 1 && place_meeting(x, y, obj_ghosthouse_jackolantern))
7
{
8
    vanished = 2;
9
    visible = false;
10
    with (obj_ghosthouse_jackolantern)
11
    {
12
        tutu = true;
13
        active = false;
14
        damage = 0;
15
    }
16
}
17
if (instance_exists(obj_ghosthouse_jackolantern) && vanished == 1)
18
    depth = obj_ghosthouse_jackolantern.depth + 1;