summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorPepe20129 <72659707+Pepe20129@users.noreply.github.com>2024-01-15 16:20:57 +0100
committerGitHub <noreply@github.com>2024-01-15 09:20:57 -0600
commit22b9284240292f30a1a1ebaaa414006ff5f68e12 (patch)
tree48bbf37fa20ce152b67efc646e575020dae9899c /soh/src/code
parentab3e9a7e54188586616cc902e6d61cb167953b8c (diff)
Rando: Shuffle Swim (Rando V3) (#3795)
* Shuffle Swim * Fix build
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index e9bbf9ef8..0ac3d6ead 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -2684,6 +2684,11 @@ u16 Randomizer_Item_Give(PlayState* play, GetItemEntry giEntry) {
return Return_Item_Entry(giEntry, RG_NONE);
}
+ if (item == RG_BRONZE_SCALE) {
+ Flags_SetRandomizerInf(RAND_INF_CAN_SWIM);
+ return Return_Item_Entry(giEntry, RG_NONE);
+ }
+
temp = gSaveContext.inventory.items[slot];
osSyncPrintf("Item_Register(%d)=%d %d\n", slot, item, temp);
INV_CONTENT(item) = item;