35#define PLANE_SIDE_NEGATIVE 0
36#define PLANE_SIDE_POSITIVE 1
38API_CALLABLE(N(CheckPositionRelativeToPlane)) {
47 dzdx = (Bz - Az) / (Bx - Ax);
50 if (playerStatus->
pos.
z < ((dzdx * playerStatus->
pos.
x) + (Az - (dzdx * Ax)))) {
#define PLANE_SIDE_NEGATIVE
#define PLANE_SIDE_POSITIVE
s32 evt_get_variable(Evt *script, Bytecode var)
PlayerStatus gPlayerStatus