Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Jetman()
- Xcam = memory.readword(0x4c)
- Ycam = memory.readword(0x4e)
- for i = 0, 0x1f do
- ID = memory.readbyte(0x317+i)
- X = memory.readword(0x200+i,0x21f+i) - Xcam
- Y = memory.readword(0x25d+i,0x27c+i) - Ycam
- if (ID > 6) then
- if X>220 then X=220 end
- if Y<1 then Y=1 end
- gui.text(X, Y, string.format("%d: %X\n$ %X",i,ID,0x317+i))
- end
- end
- end
- emu.registerafter(Jetman)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement