summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEblo <7004497+Eblo@users.noreply.github.com>2025-11-03 23:07:21 -0500
committerGitHub <noreply@github.com>2025-11-03 21:07:21 -0700
commitdb078cd82022249c643e00c32994977c486ed6ba (patch)
treecdb8853dcdabfe3088c01a53eeffccf4e791a515
parent729d446789d550be140bcbf342fb7b3957cd15a4 (diff)
Restrict Ossan draw hook to Bomb Shop Owner (#1316)
-rw-r--r--mm/2s2h/Rando/ActorBehavior/EnSob1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnSob1.cpp b/mm/2s2h/Rando/ActorBehavior/EnSob1.cpp
index c382457a7..050dc3c70 100644
--- a/mm/2s2h/Rando/ActorBehavior/EnSob1.cpp
+++ b/mm/2s2h/Rando/ActorBehavior/EnSob1.cpp
@@ -28,7 +28,7 @@ void Rando::ActorBehavior::InitEnSob1Behavior() {
});
COND_ID_HOOK(OnActorDraw, ACTOR_EN_OSSAN, IS_RANDO, [](Actor* actor) {
- if (RANDO_SAVE_CHECKS[RC_BOMB_SHOP_ITEM_01].shuffled) {
+ if (RANDO_SAVE_CHECKS[RC_BOMB_SHOP_ITEM_01].shuffled && actor->params == 2) { // Bomb Shop Owner
Matrix_Put(&sLeftHandMtxF);
EnSob1_DrawCustomItem(actor, gPlayState);
}