Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_homealone_dess_fan_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
if (turn_on)
3
{
4
    var is_active = false;
5
    if (place_meeting(x - 4, y, obj_homealone_heart))
6
        is_active = true;
7
    if (!is_active)
8
    {
9
        turn_on = false;
10
        sprite_index = spr_noellehouse_fan_mini_off;
11
        image_speed = 0;
12
        image_index = 0;
13
alarm[10]
14
    }
15
}