Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gold_cat_Collision_obj_meteor

(view raw script w/o annotations or w/e)
1
var doublecheck = collision_rectangle(bbox_left + boxmargin, bbox_top + boxmargin + 10, bbox_right - boxmargin, bbox_bottom - boxmargin - 4, obj_meteor, false, true);
2
if (!instance_exists(doublecheck))
3
    exit;
4
with (instance_create(x, y, obj_gold_cat_aura))
5
    level = other.level;
6
scr_sparkle_colour(8, 65535);
7
with (obj_blue_cat)
8
{
9
}
10
snd_play(snd_boost);
11
instance_destroy();