1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-05 01:06:37 +00:00

Document func_80AAA250

new name: `EnMd_ReverseAnimation`
This commit is contained in:
feacur 2024-11-06 19:41:01 +01:00
parent 0d04f51e8e
commit 2274349fb3

View file

@ -89,7 +89,7 @@ static AnimationInfo sAnimationInfo[] = {
{ &gMidoAngryHeadTurnAnim, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -1.0f }, { &gMidoAngryHeadTurnAnim, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -1.0f },
}; };
void func_80AAA250(EnMd* this) { void EnMd_ReverseAnimation(EnMd* this) {
f32 startFrame; f32 startFrame;
startFrame = this->skelAnime.startFrame; startFrame = this->skelAnime.startFrame;
@ -133,7 +133,7 @@ void func_80AAA39C(EnMd* this) {
switch (this->unk_20A) { switch (this->unk_20A) {
case 0: case 0:
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_2); Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_2);
func_80AAA250(this); EnMd_ReverseAnimation(this);
this->unk_20A++; this->unk_20A++;
FALLTHROUGH; FALLTHROUGH;
case 1: case 1:
@ -172,7 +172,7 @@ void func_80AAA508(EnMd* this) {
switch (this->unk_20A) { switch (this->unk_20A) {
case 0: case 0:
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_2); Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_2);
func_80AAA250(this); EnMd_ReverseAnimation(this);
this->unk_20A++; this->unk_20A++;
FALLTHROUGH; FALLTHROUGH;
case 1: case 1:
@ -203,7 +203,7 @@ void func_80AAA638(EnMd* this) {
switch (this->unk_20A) { switch (this->unk_20A) {
case 0: case 0:
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_9); Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_9);
func_80AAA250(this); EnMd_ReverseAnimation(this);
this->unk_20A++; this->unk_20A++;
FALLTHROUGH; FALLTHROUGH;
case 1: case 1:
@ -264,7 +264,7 @@ void func_80AAA890(EnMd* this) {
switch (this->unk_20A) { switch (this->unk_20A) {
case 0: case 0:
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_7); Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENMD_ANIM_7);
func_80AAA250(this); EnMd_ReverseAnimation(this);
this->unk_20A++; this->unk_20A++;
FALLTHROUGH; FALLTHROUGH;
case 1: case 1: