Thank you for your effort.
I think that I estimated the job wrong though. I thought the script would end up looking just like in VBA, but it doesn't. Text is neatly stroked in VBA, but pixelated and not stroked in Bizhawk. I tried to make changes to the script but I couldn't make it look nice at all and I have run into this problem:
All values are zero when they shouldn't be.
Bizhawk somehow only shows me 4 digit addresses in its hex editor*, memory search and memory watch although I'm running M&L in it.
memory.readbyte, memory.read_s16_le, and all that don't seem to work...
text( 70+x, 6+y, memory.readbyte(0x020048e0), "yellow")
As well as other lines all show zeros (when it is not really zero).
*In the case of the hex editor, I'm terribly confused about "memory domains". In VBA, memory viewer would show me all the addresses and it was nice. Bizhawk's hex editor shows me each memory domain itself with different address range (4 digit or 6 digit, ...).
The memory domains
aren't even the same between VBA and Bizhawk. IWRAM, WRAM, I/O, PALRAM, etc. are only in one emulator but not in the other.
___
After we find out what is the deal with values showing up as zeros, maybe I will try making a script myself.