Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_DW29_power_up_sparkle_Step_0

(view raw script w/o annotations or w/e)
1
if (!_active)
2
    exit;
3
_timer++;
4
if ((_timer % 4) == 0)
5
{
6
    var shine = instance_create(_parent.x + irandom_range(-30, 30), _parent.y - 10, obj_afterimage);
7
    shine.image_speed = 0.25;
8
    shine.image_alpha = _sparkle_alpha;
9
    shine.sprite_index = spr_shine;
10
    shine.visible = true;
11
    shine.gravity = 0.25;
12
    shine.depth = _target_depth;
13
    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(shine);
14
}