Advertisement
Arnethegreat

Untitled

Aug 31st, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. x = 0
  2. a = math.random(0,255)
  3. while true do
  4.     if x > 1024 then
  5.         x = 0
  6.         a = math.random(0,255)
  7.     end
  8.     memory.writeword(0x7000BE, x)
  9.     x = x + 1
  10.     print(x)
  11.     emu.frameadvance()
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement