Advertisement
Dessyreqt

IoG AutoRun Script

Jul 12th, 2013
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. function DoAutoRun()
  2.     runTimer = memory.readbyte(RAM.bytes.runTimer)
  3.    
  4.     if not nilTimer and (runTimer == 13 or runTimer == 12) then
  5.         nilTimer = true
  6.         curPad.right = nil
  7.         curPad.left = nil
  8.         curPad.down = nil
  9.         curPad.up = nil
  10.         joypad.set(curPad)
  11.     elseif nilTimer then
  12.         nilTimer = false
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement