mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
Some actor.c docs (in preparation for en_test) (#820)
* renames * format * format functions.h * clean * arg name * remove asm
This commit is contained in:
parent
7984c1c514
commit
0a35c752e7
109 changed files with 424 additions and 359 deletions
|
@ -272,7 +272,7 @@ void EnKarebaba_Upright(EnKarebaba* this, GlobalContext* globalCtx) {
|
|||
|
||||
if (this->bodyCollider.base.acFlags & AC_HIT) {
|
||||
EnKarebaba_SetupDying(this);
|
||||
func_80032C7C(globalCtx, &this->actor);
|
||||
Enemy_StartFinishingBlow(globalCtx, &this->actor);
|
||||
} else if (Math_Vec3f_DistXZ(&this->actor.home.pos, &player->actor.world.pos) > 240.0f) {
|
||||
EnKarebaba_SetupRetract(this);
|
||||
} else if (this->actor.params == 0) {
|
||||
|
@ -315,7 +315,7 @@ void EnKarebaba_Spin(EnKarebaba* this, GlobalContext* globalCtx) {
|
|||
|
||||
if (this->bodyCollider.base.acFlags & AC_HIT) {
|
||||
EnKarebaba_SetupDying(this);
|
||||
func_80032C7C(globalCtx, &this->actor);
|
||||
Enemy_StartFinishingBlow(globalCtx, &this->actor);
|
||||
} else if (this->actor.params == 0) {
|
||||
EnKarebaba_SetupUpright(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue