So the Frame instruction in Puyo Puyo has one byte that determines:
- Who is speaking (character 1 or character 2)
- Max letters per line (max can be 15)
- Number of lines to use (max can be 4)
So digging through a trace, I figured out how it does the calculations. This is what the Visual Basic Net code looks like:
Puyo_Script.Max_Letters = &HF And Puyo_Script.Test_Byte(2)
Puyo_Script.Last_Line = Puyo_Script.Test_Byte(2) >> 4
Puyo_Script.Last_Line = &H7 And Puyo_Script.Last_Line
Puyo_Script.Current_Letter = 0
As I showed early, I know how to modify the font routine to output 8x16 tiles, but I need to dig deeper into how the box is generated.
The text that appears at the end and during the How to Play work in a slight different way. Will need to get that added to the Script Dumper.