sm64pc/src/game/behaviors/pole_base.inc.c

10 lines
300 B
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
// pole_base.inc.c
void BehClimbDetectLoop(void) {
if (o->oPosY - 10.0f < gMarioObject->oPosY
&& gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f)
if (o->oTimer > 10)
if (!(gMarioStates->action & MARIO_PUNCHING))
obj_push_mario_away(70.0f);
}