diff --git a/src/overlays/actors/ovl_En_Go2/z_en_go2.c b/src/overlays/actors/ovl_En_Go2/z_en_go2.c index 52b404f85f..da76a6dad6 100644 --- a/src/overlays/actors/ovl_En_Go2/z_en_go2.c +++ b/src/overlays/actors/ovl_En_Go2/z_en_go2.c @@ -1440,7 +1440,7 @@ s32 EnGo2_IsGoronFireGeneric(EnGo2* this) { } s32 EnGo2_IsGoronLinkReversing(EnGo2* this) { - if (PARAMS_GET_S(this->actor.params, 0, 5) != GORON_CITY_LINK || (this->waypoint >= this->unk_216) || + if (PARAMS_GET_S(this->actor.params, 0, 5) != GORON_CITY_LINK || (this->waypoint >= this->reverseWaypoint) || !EnGo2_IsWakingUp(this)) { return false; } @@ -1562,7 +1562,7 @@ void EnGo2_Init(Actor* thisx, PlayState* play) { this->isUncurled = false; this->goronState = 0; this->waypoint = 0; - this->unk_216 = this->actor.shape.rot.z; + this->reverseWaypoint = this->actor.shape.rot.z; this->trackingMode = NPC_TRACKING_NONE; this->path = Path_GetByIndex(play, PARAMS_GET_S(this->actor.params, 5, 5), 0x1F); switch (PARAMS_GET_S(this->actor.params, 0, 5)) { diff --git a/src/overlays/actors/ovl_En_Go2/z_en_go2.h b/src/overlays/actors/ovl_En_Go2/z_en_go2.h index d2f2012bfd..34f4091383 100644 --- a/src/overlays/actors/ovl_En_Go2/z_en_go2.h +++ b/src/overlays/actors/ovl_En_Go2/z_en_go2.h @@ -86,7 +86,7 @@ typedef struct EnGo2 { /* 0x0213 */ u8 eyeMouthTexState; // 0, 1, 2, 3 /* 0x0214 */ u8 eyeTexIndex; /* 0x0215 */ u8 mouthTexIndex; - /* 0x0216 */ u8 unk_216; // Set to z rotation, checked by waypoint + /* 0x0216 */ u8 reverseWaypoint; // Set to z rotation, checked by waypoint /* 0x0218 */ f32 interactRange; /* 0x021C */ char unk_21C[0x04]; /* 0x0220 */ f32