2019-09-01 15:50:50 -04:00
|
|
|
// pole_base.inc.c
|
|
|
|
|
2020-03-01 22:42:52 -05:00
|
|
|
void bhv_pole_base_loop(void) {
|
2019-09-01 15:50:50 -04:00
|
|
|
if (o->oPosY - 10.0f < gMarioObject->oPosY
|
|
|
|
&& gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f)
|
|
|
|
if (o->oTimer > 10)
|
2020-09-20 11:15:47 -04:00
|
|
|
if (!(gMarioStates[0].action & MARIO_PUNCHING))
|
2020-03-01 22:42:52 -05:00
|
|
|
cur_obj_push_mario_away(70.0f);
|
2019-09-01 15:50:50 -04:00
|
|
|
}
|