Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_dodgetile_Collision_obj_mainchara_board

(view raw script w/o annotations or w/e)
1
if (tiledone == 0 && tilecon == 0)
2
{
3
    if (type == 1)
4
        tilecon = 1;
5
    if (type == 0)
6
    {
7
        if (obj_mainchara_board.movetype == "board" && obj_mainchara_board.movesleft == 0 && obj_mainchara_board.movingnow == 0)
8
        {
9
            if (i_ex(obj_board_controller))
10
                obj_board_controller.phase = -1;
11
            tilecon = 1;
12
        }
13
    }
14
}