sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

pole_base.inc.c (308B)


      1 // pole_base.inc.c
      2 
      3 void bhv_pole_base_loop(void) {
      4     if (o->oPosY - 10.0f < gMarioObject->oPosY
      5         && gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f) {
      6         if (o->oTimer > 10 && !(gMarioStates[0].action & MARIO_PUNCHING)) {
      7             cur_obj_push_mario_away(70.0f);
      8         }
      9     }
     10 }