Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_hand_collision_Collision_obj_caterpillarchara

(view raw script w/o annotations or w/e)
1
if (!i_ex(obj_mike_battle) && global.interact == 0)
2
{
3
    with (other)
4
    {
5
        image_index = 0;
6
        fun = 1;
7
        global.interact = 1;
8
        switch (name)
9
        {
10
            case "ralsei":
11
                sprite_index = spr_ralsei_down_surprised2;
12
                break;
13
            case "susie":
14
                sprite_index = spr_susie_sheeh;
15
                break;
16
        }
17
    }
18
    with (obj_mike_controller)
19
alarm[2]
20
    instance_destroy();
21
}