Deltarune script viewer

← back to main script listing

gml_Object_obj_firework_Destroy_0

(view raw script w/o annotations or w/e)
1
snd_play_pitch(snd_explosion_firework, 0.8 + random(0.1));
2
var c = instance_create(x, y, obj_firework_explosion);
3
with (c)
4
{
5
    sprite_index = other.mySprite;
6
    image_blend = other.image_blend;
7
    colorProfile = other.colorProfile;
8
    event_user(0);
9
}
10
if (i_ex(obj_cyber_shadowMaker_fireworks))
11
{
12
    with (obj_cyber_shadowMaker_fireworks)
13
        fade_in = true;
14
}