Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_bramble_Destroy_0

(view raw script w/o annotations or w/e)
1
audio_stop_sound(snd_punchweak);
2
snd_play_pitch(snd_punchweak, 1.1);
3
var _y = (bbox_bottom + bbox_top) / 2;
4
with (instance_create_depth(x, _y, depth, obj_plat_vfx))
5
{
6
    sprite_index = spr_hit_vfx;
7
    image_speed = 1;
8
    depth = other.depth - 1;
9
}
10
with (instance_create_depth(x, _y, depth - 1, obj_flowerdie))
11
{
12
    sprite_index = spr_papergrass_pieces;
13
    scale = other.image_xscale;
14
    speed = 5;
15
    image_blend = other.image_blend;
16
}
17
with (instance_create_depth(x, y, depth, obj_marker))
18
{
19
    sprite_index = other.sprite_index;
20
    image_speed = 0;
21
    image_blend = #1F1F1F;
22
    
scr_darksize
scr_darksize

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