For DeSmuME - JP ROM
AT: A-table hex value
BT: B-table hex value
FG: Fountain Group
--DeSmuME_HUD_JP
local AT, BT
local FG = {
[0] = "0RE",
[1] = "ST0NE",
[2] = "WATER",
[3] = "FL0WER",
[4] = "SEA",
[5] = "GRASS",
[6] = "MUSHR00M",
[7] = "SAND",
[8] = "?????"
}
gui.register(function()
AT = string.format("%02X", memory.readdword(0x020EEE90))
gui.text(10,-168,"AT: " .. AT)
BT = string.format("%02X", memory.readdword(0x02108D20))
gui.text(10,-157,"BT: " .. BT)
gui.text(10,-146,"FG: " .. FG[memory.readbyte(0x020F8E52)])
end)