Notes:Mega Man 7
This page contains notes for the game Mega Man 7.
Anti-piracy
When en enemy is shot with the Mega Buster, $C3907F randomly increases one of the first 256 bytes of SRAM. $1FEC is increased if the write was successful. $C10CB4 randomizes Mega Man's input if the counter has reached 128. $C10FE2 makes Mega Man unable to land at the start of a level if the counter has reached 128.
Saving
$C01FF8 (one of the routines belonging to the unsued routine at $C01FEA) copies $42 bytes from $0B72 to the beginning of SRAM. This includes everything you'd want to save, such as items collected and levels beaten. Some additional values are written right after that. This was used for the demo recording. The demo save is loaded in a similar fashion at $C020DE but from ROM $C4FA00 instead of SRAM. The next routine ($C0203F) records the player's input to SRAM.