summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2025-05-18 17:16:21 -0500
committerGitHub <noreply@github.com>2025-05-18 17:16:21 -0500
commit3142df4517f9cc21641399b3e9e2b2bedc819cfe (patch)
tree42b29db0b0556f23d513c401edba7fd4634be299
parent254009bf715c06d1e968f4d2843e4931198e5267 (diff)
Fix inaccessible playstate check (#1157)
-rw-r--r--mm/2s2h/Rando/MiscBehavior/MiscBehavior.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/MiscBehavior/MiscBehavior.cpp b/mm/2s2h/Rando/MiscBehavior/MiscBehavior.cpp
index 33715b13d..eed2b8319 100644
--- a/mm/2s2h/Rando/MiscBehavior/MiscBehavior.cpp
+++ b/mm/2s2h/Rando/MiscBehavior/MiscBehavior.cpp
@@ -39,7 +39,7 @@ void Rando::MiscBehavior::OnFileLoad() {
// never letting you be other forms when you get a sword from the smithy or curiosity shop.
COND_VB_SHOULD(VB_ITEM_GIVE_SWORD_SET_FORM_EQUIP, IS_RANDO, {
*should = false;
- if (GET_PLAYER(gPlayState)->transformation == PLAYER_FORM_HUMAN) {
+ if (GET_PLAYER_FORM == PLAYER_FORM_HUMAN) {
u8* item = va_arg(args, u8*);
BUTTON_ITEM_EQUIP(0, EQUIP_SLOT_B) = *item;
}