mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 07:20:16 +00:00
Some cleanup and docs for z_skelanime (#601)
* docs and enums * bgcheck merge Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
7a171488d2
commit
115c152b03
65 changed files with 701 additions and 423 deletions
|
@ -208,7 +208,8 @@ void func_809B0988(EnAni* this, GlobalContext* globalCtx) {
|
|||
|
||||
void func_809B0994(EnAni* this, GlobalContext* globalCtx) {
|
||||
if (globalCtx->csCtx.npcActions[0]->action == 4) {
|
||||
Animation_Change(&this->skelAnime, &D_060070F0, 1.0f, 0.0f, Animation_GetLastFrame(&D_060070F0), 2, -4.0f);
|
||||
Animation_Change(&this->skelAnime, &D_060070F0, 1.0f, 0.0f, Animation_GetLastFrame(&D_060070F0), ANIMMODE_ONCE,
|
||||
-4.0f);
|
||||
this->unk_2AA++;
|
||||
this->actor.shape.shadowDrawFunc = ActorShadow_DrawFunc_Circle;
|
||||
}
|
||||
|
@ -225,7 +226,8 @@ void func_809B0A6C(EnAni* this, GlobalContext* globalCtx) {
|
|||
this->skelAnime.curFrame = 0.0f;
|
||||
}
|
||||
if (globalCtx->csCtx.npcActions[0]->action == 2) {
|
||||
Animation_Change(&this->skelAnime, &D_060067B8, 1.0f, 0.0f, Animation_GetLastFrame(&D_060067B8), 2, 0.0f);
|
||||
Animation_Change(&this->skelAnime, &D_060067B8, 1.0f, 0.0f, Animation_GetLastFrame(&D_060067B8), ANIMMODE_ONCE,
|
||||
0.0f);
|
||||
this->actor.shape.shadowDrawFunc = NULL;
|
||||
this->unk_2AA++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue