That program is neat neo_omegon, though there are a few things I would change on the "main" file (FFVFunctionList.lua)
--*************************************************************************
function Stolen()
--*************************************************************************
local stolen = memory.readbyte ( 0x7E3CBF )
Seems that you missed a character, so I fixed it (it was 7ECBF instead of 7E
3CBF)
--*************************************************************************
function CharOnMap()
--*************************************************************************
...
local name = { "B", "L", "G", "F", "K", "", "", "" }
...
for i = 0, 3 do
ID[i] = memory.readbyte ( CharAdr + 0x50 * i ) % 8
...
CharName[i] = name[ID[i]+1]
...
end
end
end
Changed how you checked for the name of the character using a single line. You where checking also the gender + row, which is irrelevant...
--*************************************************************************
function CharOnBattle()
--*************************************************************************
local ID = {}
...
ID[k] = memory.readbyte ( CharAdr + k *0x80 ) % 8
...
if within (0, ID[k], 4) and within ( 0, MP[k], 999 ) and within ( 0, MMP[k], 999 ) and MP[k] <= MMP[k]
Same reason as above (The character)
Also, on the same function, you can line the information with the enemy, though sometimes it overlaps itself with another monster's info...
a = bit.rshift(bit.band(memory.readbyte( 0x7E4000 + j ),0xF0),1) + 0
b = bit.lshift(bit.band(memory.readbyte( 0x7E4000 + j ),0x0F),3) - 12
I'm not quite convinced with the way you hide the enemy's information, as it seems it doesn't show it on some boss battles. I'll take a look at it & see what can be done.
BTW, if the information was a little confusing, I can just upload the file with my changes...