User File #21887908633094101

Upload All User Files

#21887908633094101 - Crash HA lua v1.0

CrashGBA.lua
886 downloads
Uploaded 4/4/2015 5:02 PM by Spikestuff (see all 287)
Moving all my stuff from Google Code on site.
Initial Release
Latest Revisions:
VBA
BizHawk
while true do
  gui.text(8,30," PixelX: " .. memory.readshort(0x02010A15),"orange")
  gui.text(8,38," SpeedX: " .. memory.readbytesigned(0x02010A75),"orange")
  gui.text(8,46," SpeedY: " .. memory.readbytesigned(0x02010A69),"orange")

  gui.text(80,38," Lives: " .. memory.readshort(0x02000098),"white")
  gui.text(80,30," Boxes: " .. memory.readshort(0x02000094),"white")
  gui.text(122,30," / " .. memory.readshort(0x02003474),"white")
   
  gui.text(1,102,"Pack: " .. memory.readbyte(0x02003484),"teal")
  gui.text(1,111,"Jump?: " .. memory.readshort(0x03007C82),"teal")
  gui.text(1,120,"Camera: " .. memory.readbyte(0x02006E5D),"teal")
  gui.text(1,129,"Spin Time 23/" .. memory.readbyte(0x02010DDC),"white")
  gui.text(1,138,"Slide Time: 22/" .. memory.readbyte(0x02010DDC),"white")

boss = memory.readbyte(0x02003AB8)
if boss > 0 and boss < 0 then
  gui.text(165,30," Boss Hits: " .. memory.readshort(0x02003AB8),"red")
  gui.text(165,38," Turret: " .. memory.readshort(0x00000000),"teal")
  gui.text(205,38,"|" .. memory.readshort(0x00000000),"teal")
  gui.text(165,46," Bombs: " .. memory.readshort(0x00000000),"teal")
  gui.text(165,54," Machine: " .. memory.readshort(0x00000000),"teal")
end

mask = memory.readbyte(0x0200009C)
if mask > 0 and mask < 4 then
  gui.text(80,46," Mask Level: " .. memory.readshort(0x0200009C),"yellow")
end

  vba.frameadvance()  
end