mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SMW: Fix some stages walking Mario onto invalid tile on recomplete (#1317)
If you beat a stage that was already beaten, Mario would sometimes walk onto a tile that he shouldn't.
This commit is contained in:
@@ -810,7 +810,9 @@ def patch_rom(world, rom, player, active_level_dict):
|
||||
|
||||
# Repurpose Bonus Stars counter for Boss Token or Yoshi Eggs
|
||||
rom.write_bytes(0x3F1AA, bytearray([0x00] * 0x20))
|
||||
rom.write_bytes(0x20F9F, bytearray([0xEA] * 0x3B))
|
||||
|
||||
# Delete Routine that would copy Mario position data over repurposed Luigi save data
|
||||
rom.write_bytes(0x20F9F, bytearray([0xEA] * 0x3D))
|
||||
|
||||
# Prevent Switch Palaces setting the Switch Palace flags
|
||||
rom.write_bytes(0x6EC9A, bytearray([0xEA, 0xEA]))
|
||||
|
Reference in New Issue
Block a user