Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ghosthouse_jackolantern_Other_10

(view raw script w/o annotations or w/e)
1
with (obj_your_tutu)
2
{
3
    if (vanished != 2)
4
    {
5
        alarm[0]
 = -1;
gml_Object_obj_ghosthouse_jackolantern_Alarm_0.gml

exit;
6
alarm[1]
7
        vanished = -1;
8
    }
9
}
10
with (obj_ghosthouse_trigger)
11
    active = false;
12
fully_aggro = true;
13
direction = 
scr_at_player
scr_at_player

function
scr_at_player(arg0 = x, arg1 = y)
{ return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2)); }
(x, y);
14
path_end();
15
friction = 0.1;
16
speed = 6;