Guest User

Untitled

a guest
Mar 28th, 2017
209
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. delay1 = 254
  2. delay2 = 608
  3.  
  4. function log()
  5. print(string.format("%4X",memory.readword(0x2020000)))
  6. end
  7.  
  8.  
  9. memory.registerwrite(0x2020000, log)
  10.  
  11. while true do
  12. if(emu.framecount() == delay1) then
  13. joypad.set(1, {A=true})
  14. elseif(emu.framecount() == delay2) then
  15. joypad.set(1, {start=true})
  16. end
  17. emu.frameadvance()
  18. end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×