Allow flute in rain state for glitched modes with starting preactivated flute

This commit is contained in:
codemann8
2025-01-02 05:17:26 -06:00
parent b7437fa9fd
commit 8ebbff3e7d
3 changed files with 6 additions and 1 deletions

View File

@@ -114,6 +114,11 @@ class InitialSram:
equip[0x37B] = 1
starting_magic = 0x80
if world.mode[player] == 'standard' and world.logic[player] not in ['noglitches', 'minorglitches']:
if (startingstate.has('Ocarina', player) and world.flute_mode[player] == 'active') \
or startingstate.has('Ocarina (Activated)', player):
self.pre_set_overworld_flag(0x18, 0x20)
if startingstate.has('Return Old Man', player):
self._initial_sram_bytes[0x410] |= 0x01