DKC3: Fix Wrinkly Softlock (#963)

This commit is contained in:
PoryGone 2022-08-29 14:04:02 -04:00 committed by GitHub
parent 26aed9351e
commit 3eb9e7050f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -502,6 +502,10 @@ def patch_rom(world, rom, player, active_level_list):
# Make Swanky free # Make Swanky free
rom.write_byte(0x348C48, 0x00) rom.write_byte(0x348C48, 0x00)
rom.write_bytes(0x34AB70, bytearray([0xEA, 0xEA]))
rom.write_bytes(0x34ABF7, bytearray([0xEA, 0xEA]))
rom.write_bytes(0x34ACD0, bytearray([0xEA, 0xEA]))
# Banana Bird Costs # Banana Bird Costs
if world.goal[player] == "banana_bird_hunt": if world.goal[player] == "banana_bird_hunt":
banana_bird_cost = math.floor(world.number_of_banana_birds[player] * world.percentage_of_banana_birds[player] / 100.0) banana_bird_cost = math.floor(world.number_of_banana_birds[player] * world.percentage_of_banana_birds[player] / 100.0)