Individual settings: logic

This commit is contained in:
Bonta-kun
2019-12-16 13:26:07 +01:00
parent b695d3573e
commit 79786c7c9e
6 changed files with 9 additions and 7 deletions

2
Rom.py
View File

@@ -1014,7 +1014,7 @@ def patch_rom(world, player, rom, enemized):
rom.write_byte(0x180020, digging_game_rng)
rom.write_byte(0xEFD95, digging_game_rng)
rom.write_byte(0x1800A3, 0x01) # enable correct world setting behaviour after agahnim kills
rom.write_byte(0x1800A4, 0x01 if world.logic != 'nologic' else 0x00) # enable POD EG fix
rom.write_byte(0x1800A4, 0x01 if world.logic[player] != 'nologic' else 0x00) # enable POD EG fix
rom.write_byte(0x180042, 0x01 if world.save_and_quit_from_boss else 0x00) # Allow Save and Quit after boss kill
# remove shield from uncle