Advertisement
Guest User

simple_cheat

a guest
May 11th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. --{frame,address,value}
  2. local t = {
  3.   {288,0x00A0,0xBF},
  4.   {358,0x0000,0x01},
  5.   {358,0x00BC,0x01},
  6. }
  7.  
  8. local function main()
  9.   for key,value in pairs(t) do
  10.     if value[1]==emu.framecount() then
  11.       memory.writebyte(value[2],value[3])
  12.     end
  13.   end
  14. end
  15.  
  16. gui.register(main)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement