Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_bell_spin_attack_Collision_obj_regularbullet

(view raw script w/o annotations or w/e)
1
if (other.object_index != object_index && other.sprite_index != spr_spark && other.object_index != obj_pendulum)
2
{
3
    with (other)
4
    {
5
        var _cut = 
scr_afterimage_cut_half
scr_afterimage_cut_half

function
scr_afterimage_cut_half()
{ afterimage = instance_create(x, y, obj_afterimage_cut_half); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; with (afterimage) event_user(0); return afterimage; }
();
6
        _cut.flash = true;
7
        instance_destroy();
8
    }
9
}