Skip to content

Commit 16389b3

Browse files
enforce getting ocarina back on every receive
1 parent 7ca1882 commit 16389b3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/item_give.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,10 @@ u8 randoItemGive(u32 gi) {
18851885
u8 dungeonIndex;
18861886
s16 old_health;
18871887

1888+
if (rando_has_item(GI_OCARINA_OF_TIME)) {
1889+
INV_CONTENT(ITEM_OCARINA_OF_TIME) = ITEM_OCARINA_OF_TIME;
1890+
}
1891+
18881892
gi &= 0xFFFFFF;
18891893

18901894
switch (gi & 0xFF0000) {

0 commit comments

Comments
 (0)