MM2: fix Heat Man always being invulnerable to Atomic Fire #5546

This commit is contained in:
Silvris
2025-10-14 02:27:41 -05:00
committed by GitHub
parent 5ce71db048
commit fc404d0cf7
4 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"game": "Mega Man 2",
"world_version": "0.3.2",
"world_version": "0.3.3",
"minimum_ap_version": "0.6.4"
}

View File

@@ -327,8 +327,6 @@ def patch_rom(world: "MM2World", patch: MM2ProcedurePatch) -> None:
patch.write_byte(0x36089, pool[18]) # Intro
patch.write_byte(0x361F1, pool[19]) # Title
from Utils import __version__
patch.name = bytearray(f'MM2{__version__.replace(".", "")[0:3]}_{world.player}_{world.multiworld.seed:11}\0',
'utf8')[:21]

View File

@@ -58,6 +58,10 @@ FlashFixTarget1:
%org($808D, $0B)
FlashFixTarget2:
%org($A65C, $0B)
HeatFix:
CMP #$FF
%org($8015, $0D)
ClearRefreshHook:
; if we're already doing a fresh load of the stage select