Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_pickup_Other_10

(view raw script w/o annotations or w/e)
1
if (con == 2 && obj_board_camera.con == 0 && obj_board_camera.shift == "none" && global.interact == 0 && tempblock == false)
2
{
3
    if (type == "power")
4
    {
5
        if (place_meeting(x, y, other.susie))
6
            con = 30;
7
        if (place_meeting(x, y, player))
8
            con = 20;
9
    }
10
    else
11
    {
12
        con = 3;
13
    }
14
}