local speedxAddr=0x202FA68
local speedx
local speedyaddr=0x202FCC0
local speedy
local FRAMESrules=0x202EEED
local framesR
local charge=0x202EE88
local chargeup
local Cameraposition=0x200008
local Camera
local XPosition=0x202E5DC
local PositionX
while true do
speedx=memory.readword(speedxAddr)
gui.text(0,0,"speedx : " .. speedx)
speedy=memory.readword(speedyaddr)
gui.text(0,7,"speed : " .. speedy)
framesR=memory.readword(FRAMESrules)
gui.text(0,14,"framesR : " .. framesR)
chargeup=memory.readword(charge)
gui.text(0,21,"chargeup : " .. chargeup)
Camera=memory.readword(Cameraposition)
gui.text(0,28,"Cameraposition :".. Camera)
PositionX=memory.readword(Xposition)
gui.text(0,34,"Xposition :" ..PositionX)
emu.frameadvance()
end