Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- "autobuffer.lua"
- -- For use in MM (U) on BizHawk 1.9.1
- -- Addresses:
- buffer = 0x1f3595 -- unpause when 2, pause when 3
- framerate = 0x3e6bc2 -- 2 during pause, 3 during normal gameplay
- while true do
- if memory.readbyte(buffer) == memory.readbyte(framerate) then
- joypad.set({Start=1}, 1)
- end
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement