Life Force/Salamander/沙羅曼蛇 255條命BUG解析試手





觸發(fā)方式參考:
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命數(shù))和$35(2P命數(shù))兩個(gè)內(nèi)存中,然后錄像還原此BUG,跟蹤發(fā)現(xiàn)如下:

結(jié)論:是在同一幀檢測的,順序是 先判斷是否借命(1-0=0),然后判斷是否死亡(0-1=FF)。

錄像及調(diào)試文件:
鏈接:https://pan.baidu.com/s/1KykHf3gCD_-whc-HABdwRQ?
提取碼:a5fb