Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. function main()
  2.    local rng1 = memory.readword(0x7e0024)
  3.    local rng2 = memory.readword(0x7e0026)
  4.    local rng3 = memory.readword(0x7e4a7a)
  5.    local info = 'RNG1: 0x%04x                        ' ..
  6.                 'RNG2: 0x%04x                        ' ..
  7.                 'RNG3: 0x%04x'
  8.      
  9.    emu.message(string.format(info, rng1, rng2, rng3))
  10. end
  11.  
  12. emu.registerafter(main)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement