Deltarune script viewer

← back to main script listing

gml_Object_obj_tower_o_mice_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    if (instance_exists(obj_noelle_scared))
4
    {
5
        x = (obj_noelle_scared.x + 23) - 5;
6
        y = obj_noelle_scared.y + 80;
7
    }
8
}
9
if (con == 1)
10
{
11
    hspeed = 0.5;
12
    vspeed = 2;
13
    con = 2;
14
}
15
if (con == 2)
16
{
17
    hspeed *= 1.05;
18
    vspeed *= 1.1;
19
    if (y > room_height)
20
        instance_destroy();
21
}