I decided I wanted to work on the FFIV script translation recently, and I actually managed to get a lot of it done.
But when I went to insert the scripts, I ran into some trouble.
For those not in the know about FFIV, there are two pointer tables full of script for the main dialog (non-battle dialog). One is for the script at 80400 - 87ECB, and one is for the script at 9A700 - 9CE18.
I've expanded the ROM to allow for a lot of the elongated text I've already inserted (like the 15 character item names, the 7 character spell names, etc). I made allocations for the script as well. Currently, I've got it set up like this:
120000 - 126000 is for the first script bank. 126000 - 130000 is for the second. These are estimates that I'll likely wind up cutting down once I actually get the whole thing translated.
But for some reason, the script from the first script file will insert fine. The script from the second file will not.
The problem is, even in the intro, a lot of the script in the game will use parts from BOTH pointer tables. For example, on the airship in the beginning when they cut to the flashback from Mysidia, it goes from the first pointer table (the airship) to the second (the flashback). Parts of the rest of the speech on the airship are also split up.
So while I've got some of the script working, the other parts are either random screens full of gibberish (random Japanese that fills the screen until it hits an [End] control code) or other pieces of the translated script (for instance during the airship scene it will somehow read text from the scrolling thing that happens after Cecil and Kain leave the castle).
I'm 100% confused. I feel like I may have done something wrong, but I'm honestly not sure. I had KitsuneSniper take a look at this, and he gave me a few pointers, but we were ultimately unable to figure out what was going on. Kitsune thought it was because there were a lot of empty strings I hadn't translated yet, so on his request I went through and put "Filler. [End]" in all of the strings that I hadn't translated.
That didn't help at all. T_T;
Can someone perhaps help me figure out wtf is going on?