summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzero4 <114027116+Ozero4@users.noreply.github.com>2025-10-27 16:39:13 +0100
committerGitHub <noreply@github.com>2025-10-27 12:39:13 -0300
commit7af068b2a2fb21768f33a91ecc644e29cf0caf17 (patch)
treed05914aeb3fa9be156666f22884f01ec8505e917
parent3b3b117100edfc41adcd6f315b3772fc63e01e2e (diff)
Rename EnHorse_CheckBoost (#1824)
-rw-r--r--src/overlays/actors/ovl_En_Horse/z_en_horse.c4
-rw-r--r--tools/disasm/n64-us/functions.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/overlays/actors/ovl_En_Horse/z_en_horse.c b/src/overlays/actors/ovl_En_Horse/z_en_horse.c
index 31c0af338..b5ff9a88e 100644
--- a/src/overlays/actors/ovl_En_Horse/z_en_horse.c
+++ b/src/overlays/actors/ovl_En_Horse/z_en_horse.c
@@ -4011,7 +4011,7 @@ void EnHorse_UpdateBgCheckInfo(EnHorse* this, PlayState* play) {
}
}
-void func_80886C00(EnHorse* this, PlayState* play) {
+void EnHorse_CheckBoost(EnHorse* this, PlayState* play) {
Input* input = &play->state.input[this->unk_52C];
if (((this->action == ENHORSE_ACTION_MOUNTED_WALK) || (this->action == ENHORSE_ACTION_MOUNTED_TROT) ||
@@ -4239,7 +4239,7 @@ void EnHorse_Update(Actor* thisx, PlayState* play2) {
if (!(this->stateFlags & ENHORSE_INACTIVE)) {
if ((this->action == ENHORSE_ACTION_MOUNTED_GALLOP) || (this->action == ENHORSE_ACTION_MOUNTED_TROT) ||
(this->action == ENHORSE_ACTION_MOUNTED_WALK)) {
- func_80886C00(this, play);
+ EnHorse_CheckBoost(this, play);
}
if (this->playerControlled == true) {
diff --git a/tools/disasm/n64-us/functions.txt b/tools/disasm/n64-us/functions.txt
index 2a124b93d..60e54efe7 100644
--- a/tools/disasm/n64-us/functions.txt
+++ b/tools/disasm/n64-us/functions.txt
@@ -5345,7 +5345,7 @@ EnHorse_UpdateStick = 0x80885AF4; // type:func
EnHorse_ResolveCollision = 0x80885B4C; // type:func
EnHorse_BgCheckSlowMoving = 0x80885C90; // type:func
EnHorse_UpdateBgCheckInfo = 0x80885DA4; // type:func
-func_80886C00 = 0x80886C00; // type:func
+EnHorse_CheckBoost = 0x80886C00; // type:func
EnHorse_RegenBoost = 0x80886DC4; // type:func
EnHorse_UpdatePlayerDir = 0x80886FA8; // type:func
EnHorse_TiltBody = 0x808870A4; // type:func