Had this thing lying around on my computer.
-- Tekken GBA lua
-- Values found by: Spikestuff
-- Script Edited by: Spikestuff
while true do
f = memory.readbyte(0x02003E07)
c = memory.readbyte(0x030064D8)
l = memory.readbyte(0x0300245D)
r = memory.readbyte(0x03002465)
if f == 1 then
gui.text(112,24,memory.readshort(0x03002442))
gui.text(6,32,"In-G Time: " .. memory.readlong(0x03002414),"yellow")
gui.text(7,40,"F Time: " .. memory.readshort(0x0300259C),"yellow") -- Refreshes when Tag Battle
if c == 3 then -- Tag Battle
if l == 77 then
gui.text(91,31,memory.readshort(0x030047A2)) --1st Fighter 1p
else if l == 66 then
gui.text(91,31,memory.readshort(0x030052C2)) --2nd Fighter 1p
else if l == 72 then
gui.text(91,31,memory.readshort(0x03004D32)) --3rd Fighter 1p
end end end
if r == 88 then
gui.text(139,31,memory.readshort(0x03005852)) --1st Fighter 2p
else if r == 94 then
gui.text(139,31,memory.readshort(0x03005DE2)) --2nd Fighter 2p
else if r == 83 then
gui.text(139,31,memory.readshort(0x03006372)) --3rd Fighter 2p
end end end
else if c == 1 then
gui.text(91,31,memory.readshort(0x030047A2)) --Fighter 1p
gui.text(139,31,memory.readshort(0x03005852)) --Fighter 2p
end end end
--Things that don't need to change.
if movie.active()==false then gui.drawbox(150,148,240,160, "red")
if movie.active()==false then gui.text(158,151, "MOVIE NOT RECORDING") end end
if movie.active()==true then gui.text(1,0,"RR: " .. movie.rerecordcount()) end
vba.frameadvance() end