Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_homealone_present_fallen_Alarm_0

(view raw script w/o annotations or w/e)
1
if (ball == -4)
2
{
3
    
scr_minishakeobj
scr_minishakeobj

function
scr_minishakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; shakeobj.shakeamt = 4; shakeobj.shakereduct = 1; with (shakeobj) event_user(0); }
();
4
    snd_play(snd_noise);
5
    ball = instance_create(x + 10, y + 15, obj_homealone_present_fallen_ball);
6
    ball.auto_depth = false;
7
    ball.depth = 39900;
8
    with (ball)
9
        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(x + 30, y, 10);
10
}
11
alarm[10]