Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_raindrop_Other_15

(view raw script w/o annotations or w/e)
1
if (active == 1)
2
{
3
    if (destroyonhit == 1)
4
        instance_destroy();
5
}
6
if (global.inv > 0)
7
    exit;
8
if (!instance_exists(obj_shake))
9
    instance_create(0, 0, obj_shake);
10
with (obj_heart)
11
    dmgnoise = 1;
12
global.inv = global.invc * 40;
13
with (obj_mike_minigame_controller)
14
    event_user(11);