Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_combo_bounce_Alarm_1

(view raw script w/o annotations or w/e)
1
room_speed = 30;
2
marker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(x, y, spr_realisticexplosion);
3
marker.image_speed = 0.5;
4
marker.depth = -10;
5
scr_doom
scr_doom

function
scr_doom(arg0 = id, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; persistent = arg0.persistent; } }
(marker, 32);
6
snd_play(snd_badexplosion);