Life Force/Salamander/沙罗曼蛇 255条命BUG解析试手





触发方式参考:
https://gamefaqs.gamespot.com/nes/587413-life-force/cheats
GLITCHES
255 lives
This glitch might be a bit difficult to pull off, but rest assured that it works. Start a 2 players game. Bring the first player's lives to 0 and the second player's lives to 1. Now position your ships right on top of each other. They have to basically look like 1 ship. Now let yourself be killed and rapidly press the A button on controller 1 to try to steal a life from the 2nd player. If done right, both players will come back to life and the second player will have 255 lives to spare.
逆向过程:
查emucheat得知游戏生命变量存储在$34(1p命数)和$35(2P命数)两个内存中,然后录像还原此BUG,跟踪发现如下:

结论:是在同一帧检测的,顺序是 先判断是否借命(1-0=0),然后判断是否死亡(0-1=FF)。

录像及调试文件:
链接:https://pan.baidu.com/s/1KykHf3gCD_-whc-HABdwRQ
提取码:a5fb