User File #51910010557814257

Upload All User Files

#51910010557814257 - Tintin in Tibet Genesis Lua

Tintin in Tibet Genesis.lua
Game: Tintin in Tibet ( Genesis, see all files )
515 downloads
Uploaded 12/16/2018 6:21 PM by Memory (see all 89)
Sloppy but quickly made
while true do
    local xPosition = mainmemory.read_u16_be(0xEEC8)
	local xSub = mainmemory.read_u16_be(0xEECA)
	local xSpeed = mainmemory.read_s16_be(0xEECC)
	
	gui.drawText(0,30, "X Speed:"..xSpeed.." ")
	gui.drawText(0,60, "X Position:"..xPosition..":"..xSub.." ")
	emu.frameadvance();
end