Sega Master System / Mark III / Game Gear
The European version of the game has a bug which causes it to hang or reset when showing the ending, or in cutscenes. It pushes ix when it intended to pop it, causing the next ret statement to jump to RAM location $DF60. This is not set by the game, so its contents depend on what value was left there by the system or the BIOS.
See What's up with Rainbow Islands for more discussion.