Undertale script viewer

← back to main script listing

gml_Object_obj_friendlypellet_Collision_749

(view raw script w/o annotations or w/e)
1
if (global.invc < 1)
2
{
3
    global.hp -= 19;
4
    snd_play(snd_hurt1);
5
    global.hshake = 8;
6
    global.shakespeed = 1.5;
7
    global.vshake = 2;
8
    instance_create(0, 0, obj_shaker);
9
    global.invc = 30;
10
    obj_floweybattle1.conversation = 10;
11
    obj_friendlypellet.attackyou = 3;
12
    if (instance_exists(OBJ_WRITER))
13
    {
14
        with (OBJ_WRITER)
15
            instance_destroy();
16
    }
17
    if (instance_exists(obj_blconwdflowey))
18
    {
19
        with (obj_blconwdflowey)
20
            instance_destroy();
21
    }
22
}