Deltarune script viewer

← back to main script listing

gml_Object_obj_controller_potparadise_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    with (obj_mainchara)
4
    {
5
        if (place_meeting(x, y, obj_triggervolume))
6
            other.con++;
7
    }
8
}
9
if (con == 1)
10
{
11
    instance_create(x, y, obj_caterpillarchara_susiebreakspots);
12
    con++;
13
}
14
if (con == 2 && !instance_exists(obj_caterpillarchara_susiebreakspots))
15
    con = 0;