-- High Speed for NES bonus count skip script by dwangoac on 2008-09-23 a=0 debugtext=1 -- Set to 1 to see current values for monitored memory addresses on the screen speedstatus=1 -- Set to 1 to see current speed setting (normal or turbo) while true do if memory.readbyte(0x4DC) == 000 then gui.drawbox(0,0,255,31,"#000000") end -- If all four of these are 0, the bonus countdown is in progress and should be turbo'ed through; the s+number names were randomly chosen -- Note: This is also triggered for a split second at the beginning of the pachinko minigame; better addresses would help here s1=memory.readbyte(0x04DC) s2=memory.readbyte(0x04E1) s3=memory.readbyte(0x04E5) s4=memory.readbyte(0x04E9) if (a==s1 and a==s2 and a==s3 and a==s4) then if speedstatus==1 then gui.text(5,7,"turbo speed"); end FCEU.speedmode("turbo") else FCEU.speedmode("normal") if speedstatus==1 then gui.text(5,7,"normal speed"); end end if debugtext==1 then -- shows memory addresses in realtime s1print = string.format("s1 = %s",s1) gui.text(5,14,s1print); s2print = string.format("s2 = %s",s2) gui.text(55,14,s2print); s3print = string.format("s3 = %s",s3) gui.text(105,14,s3print); s4print = string.format("s4 = %s",s4) gui.text(155,14,s4print); end FCEU.frameadvance() end