1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-22 14:55:39 +00:00

Document EnGo .unk_210 as .curledTimer

This commit is contained in:
feacur 2024-11-11 01:41:07 +01:00
parent 91d1382c88
commit 705ff1b2af
2 changed files with 3 additions and 3 deletions

View file

@ -794,7 +794,7 @@ void EnGo_FireGenericActionFunc(EnGo* this, PlayState* play) {
}
void EnGo_CurledUp(EnGo* this, PlayState* play) {
if ((DECR(this->unk_210) == 0) && EnGo_IsCameraModified(this, play)) {
if ((DECR(this->curledTimer) == 0) && EnGo_IsCameraModified(this, play)) {
Audio_PlaySfxGeneral(NA_SE_EN_GOLON_WAKE_UP, &this->actor.projectedPos, 4, &gSfxDefaultFreqAndVolScale,
&gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
@ -855,7 +855,7 @@ void func_80A40494(EnGo* this, PlayState* play) {
EnGo_ReverseAnimation(this);
this->skelAnime.playSpeed = 0.0f;
this->skelAnime.curFrame = 0.0f;
this->unk_210 = Rand_S16Offset(30, 30);
this->curledTimer = Rand_S16Offset(30, 30);
EnGo_SetupAction(this, EnGo_CurledUp);
}
}

View file

@ -54,7 +54,7 @@ typedef struct EnGo {
/* 0x0208 */ char unk_208[0x4];
/* 0x020C */ s16 unk_20C;
/* 0x020E */ s16 knockbackCooldown;
/* 0x0210 */ s16 unk_210;
/* 0x0210 */ s16 curledTimer;
/* 0x0212 */ s16 attentionCooldown;
/* 0x0214 */ s16 blinkTimer; // unused
/* 0x0216 */ s16 eyeTexIndex; // unused