Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_blue_cat_Collision_obj_blue_cat

(view raw script w/o annotations or w/e)
1
if (x < other.x)
2
{
3
    snd_play(snd_spell_pacify);
4
    var _a;
5
    with (other)
6
    {
7
        _a = instance_create_depth(x, y, depth, obj_gold_cat);
8
        scr_sparkle_colour(8, 65535);
9
        instance_destroy();
10
    }
11
    with (obj_mike_controller)
12
    {
13
        hand_target = _a;
14
        _a.action = 1;
15
        _a.grab_snd = 1;
16
    }
17
    instance_destroy();
18
}