Skip to content

Commit aa281ef

Browse files
committed
Make Bowser unkillable on Egg Hunt
1 parent 208a0c6 commit aa281ef

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

worlds/smw/Names/LocationName.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
chocolate_ghost_house_exit_1 = "Choco-Ghost House - Normal Exit"
119119
chocolate_secret_exit_1 = "Chocolate Secret - Normal Exit"
120120
chocolate_fortress = "Chocolate Fortress - Normal Exit"
121-
chocolate_reznor = "Chocolate Fortress Defeat"
121+
chocolate_reznor = "Chocolate Fortress - Boss"
122122
chocolate_castle = "#6 Wendy's Castle - Normal Exit"
123123
chocolate_koopaling = "#6 Wendy's Castle - Boss"
124124

worlds/smw/Rom.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,10 @@ def patch_rom(world, rom, player, active_level_dict):
805805

806806
# Store all relevant option results in ROM
807807
rom.write_byte(0x01BFA0, world.goal[player].value)
808-
rom.write_byte(0x01BFA1, world.bosses_required[player].value)
808+
if world.goal[player].value == 0:
809+
rom.write_byte(0x01BFA1, world.bosses_required[player].value)
810+
else:
811+
rom.write_byte(0x01BFA1, 0x7F)
809812
required_yoshi_eggs = max(math.floor(
810813
world.number_of_yoshi_eggs[player].value * (world.percentage_of_yoshi_eggs[player].value / 100.0)), 1)
811814
rom.write_byte(0x01BFA2, required_yoshi_eggs)

0 commit comments

Comments
 (0)