One of the superior-but-flawed Master System game "Alex Kidd in the Enchanted Castle"'s weird bugs was in the two actual castle stages. Each "room" was an individual screen with its own puzzles, and to get between rooms you'd touch the edge of the screen, at which point it would flash-scroll through to the next room's single-screen view. This also meant that if you entered a room with momentum - jumping, for example - and you died, you'd re-enter the room in the same position and going at the same speed as you did when you first entered it.
So if, for example, you jump at the side of the screen at speed, and just out of sight in the next room is a pit of deadly lava, and as a result of jumping through the door instead of walking you fall into said lava pit and die horribly, the game automatically resets you at the point at which you enter the room, which also happens to be HALFWAY THROUGH THE SAME JUMP. You know, the one that took you into the pit of deadly lava that you fell into and died.
I had the "infinite continues" cheat on when I managed to get myself in that position, and it didn't do any good since no matter how many lives you lose, you always start in the same place... wasted about fifty lives trying to somehow steer Alex away from that damn pit before I finally gave up... The real bummer is that I was literally five or six rooms away from the final boss and subsequent crown room. In a game that long, failing that way so late into it is no fun!