Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_scene11a_fountain_Create_0

(view raw script w/o annotations or w/e)
1
fountain = scr_marker_animated
scr_marker_animated

function scr_marker_animated() { var x_pos = argument[0]; var y_pos = argument[1]; var sprite = argument[2]; var anim_speed = (argument_count > 3) ? argument[3] : 0.2; thismarker = instance_create(x_pos, y_pos, obj_marker); with (thismarker) { sprite_index = sprite; image_speed = anim_speed; scr_depth(); } return thismarker; }
(x, 0, spr_cyber_coaster_bg_fountain);
2
with (fountain)
3
{
4
    depth = 1000450;
5
    image_speed = 0.25;
6
}