There are several types of insertions supported by the inserter in the ta_menus file. With these, there are more limited control codes available.
A subset of script codes work in these strings.
[END], [NAME1], [NAME2], [NAME3], and [NAME4] work as described in SCRIPT.md. All other codes will not work.
Note that there is no teletype/ticker for this text.
Format: BLOCKFIXED PointerLoc NewLen Count [ClearLen]
This references a game text block, which is a pointer to a list of strings and sizing information. Each string has the same fixed length.
In many cases, the length can be increased. ClearLen is used to limit the tiles overwritten by the game's drawing functions, and defaults to the original text width.
Format: FIXEDPOINTER PointerLoc MaxLen
This is a simple pointer with a fixed length.
Format: DYNPOINTER PointerLoc MaxLen SizeLoc [SizeLoc2]
This is a pointer that allows a more dynamic size. Bytes at SizeLoc and SizeLoc2 are updated with the new length.
Format: RESTRUCT OldAddress OldSize OldStride NewAddress NewSize NewStride Count
This resizes an existing structure with embedded text to a new size, but only copies the text fields.
Format: POINTERLIST PointerLoc Stride MaxLen Count
This is essentially for a list of DYNPOINTER that are evenly spaced.
Format: BLOCKSTART TextLoc Len Count
A simple in-place insertion. Does not allow longer text than original.
Format: TERMSTRING PointerLoc TermChar MaxLen
This is a string terminated by a character, i.e. FF. The length is also the number of tiles to replace when drawing the string, so be careful.