Deltarune script viewer

← back to main script listing

gml_Object_obj_maus_split_basket_Collision_obj_maus_liddle

(view raw script w/o annotations or w/e)
1
if (other.con == 5 && other.captured == 0)
2
{
3
    caught++;
4
    other.depth = depth + 1;
5
    other.captured = 1;
6
    draw_in = 1;
7
    if (draw_in_timer > 10)
8
        draw_in_timer = 0;
9
    with (obj_maus_split)
10
        mousecount--;
11
    other.vspeed = vspeed;
12
    other.friction = friction;
13
    with (obj_maus_split)
14
        mercycount += 2;
15
    with (obj_mauswheel_enemy)
16
        actfailure = 0;
17
    snd_stop(snd_squeaky);
18
    snd_play(snd_squeaky);
19
    snd_volume(snd_squeaky, noisevol, 0);
20
}