Advertisement
Guest User

Untitled

a guest
Mar 8th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. local OAMTable = {
  2.     0x7e02d4, -- x position of score numbers on screen
  3.     0x7e02fc, -- x position of smoke effect
  4.     0x7e02fd, -- y position of smoke effect
  5.     0x7e0304, -- x position of mario tile when he is on yoshi and turning
  6.     0x7e0305, -- y position of above
  7.     0x7e0308, -- x position of a cape tile
  8.     0x7e0309, -- y position of a cape tile
  9.     0x7e030C  -- x position of a cape tile when mario is flying
  10. }
  11.  
  12. local displayOAM = function()
  13.     for k, v in pairs(OAMTable) do
  14.         gui.text(0, 30 + 8*k, string.format("$%X: %X", v, memory.readbyte(v)))
  15.     end
  16. end
  17.  
  18. gui.register(function()
  19.     displayOAM()
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement