Would someone give me a hand dumping the script for Artelius on the Famicom? Here's what I'm running into.
The first line of dialog in the game is the following.
It's preceded by "05", and followed by "04" after the ending byte "01" (which is really a "wait for user input" code) like this, "05めざめよ........0104".
Once the user presses a button, the line "めざめよ........" is repeated, though it only appears once in the script.
Next, is this line.
It starts with "04" which I think
is what repeats the previous "めざめよ........" line. Then it continues with "いま " and then another "04". As you can see from the screenshot, this time the "04" inserts "あなた".
"04" continues to stand for "あなた" until we get here.
Here "04" brackets the phrase like this, "04くるったうちゅう04". However, it's not expressed in the printed text.
The very next instance of "04" is expressed on the screen as "あなた".
The next instances of "04" occur here where it brackets the word, "04サーベラー04", and is again not expressed in the displayed text.
The next instance of "04" is expressed to the screen as "サーベラー" as seen here.
So my conclusions are as follows. "04" is some kind of control byte for a dictionary style compression. It's not expressed as a word on the screen if it brackets a word, but it does if it appears on its own. Words that it brackets can be displayed using "04", though in the case of the first repeated line, it was bracketed by "05...04". Some pointers or something determine the way that "04" is expressed. Also, just because a word was bracketed by "04", does not mean it will be the next word expressed by "04".
I'm letting you know that this is much beyond my ability to dump taking this scheme into account. If it were simpler like a single block that contained all the words in order that would be one thing, but I'm barely able to follow how "04" is used here.
Would someone give me a hand dumping this script?
The video I'm using for reference is here: https://www.nicovideo.jp/watch/sm6860173
The table file for Artelius is here: http://datacrystal.romhacking.net/wiki/Artelius:TBL
(Note: use the main table)