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

2
Rom.py
View File

@@ -43,7 +43,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'e2e7241bfb0085ab7ba12167565e814a'
RANDOMIZERBASEHASH = '05a99da65a85d2093f1824a82a876fab'
class JsonRom(object):

Binary file not shown.