Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_minigame_controller_Alarm_5

(view raw script w/o annotations or w/e)
1
with (obj_mike_controller)
2
    battle_active = false;
3
with (obj_volumebar)
4
    instance_destroy();
5
with (obj_mike_minigame_bg)
6
    act = 1;
7
with (obj_juggle_collision)
8
    instance_destroy();
9
with (obj_mike)
10
{
11
    x = xstart;
12
    y = ystart;
13
    act = 0;
14
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
15
}
16
action = 999;
17
finished = 1;
18
mus_volume(global.batmusic[1], 0, 15);