func_80AB319C OK

This commit is contained in:
tom-overton 2021-11-01 23:35:47 -07:00
parent 5b62b69dd1
commit a26105f358
1 changed files with 10 additions and 1 deletions

View File

@ -277,7 +277,16 @@ void func_80AB3010(ObjTokeidai* this, s32 arg1) {
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_Obj_Tokeidai/func_80AB319C.s")
void func_80AB319C(ObjTokeidai* this, GlobalContext* globalCtx) {
if ((this->actor.bgCheckFlags & 1) != 0 || this->actor.world.pos.y < 0.0f) {
this->actionFunc = func_80AB3BD8;
return;
}
this->actor.shape.rot.x += 0x50;
this->actor.shape.rot.z += 0x50;
Actor_SetVelocityAndMoveYRotationAndGravity(&this->actor);
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 0.0f, 0.0f, 0.0f, 4);
}
void func_80AB3240(ObjTokeidai* this, GlobalContext* globalCtx) {
if (func_800EE29C(globalCtx, 0x84) != 0) {