Users browsing this thread: 1 Guest(s)
Question About Dialogue Parsing

#2
Posts: 181
Threads: 3
Thanks Received: 26
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
There's a dialogue pointer table at CC/E602 through CC/FE18 (right before the dialogue itself) that tells the game where each dialogue entry begins. Each pointer is two bytes, so you have to add either CD/0000 or CE/0000 to get the absolute address of the dialogue entry. It determines which bank (CD or CE) by comparing the dialogue index with the 16-bit value at CC/E600 (1574 in the US version). In other words, dialogue 0 through 1573 are in bank CD and 1574 through 3083 are in bank CE.

That's interesting that there's an unreachable dialogue entry hiding in there. From the context, it looks like that message was intended to follow directly after the previous one, so they must have accidentally put in a null-terminator instead of a new page. The Japanese version doesn't appear to have this issue:

Code:
Dialog entry 123:

エドガー「同盟を結んでいる\n
 わが国へも攻め込まんという\n
 勢いだな。\page
帝国兵「同盟?ねぼけるな!\n
 こんなちっぽけな国が!
  Find
Quote  
[-] The following 2 users say Thank You to Everything for this post:
  • Fast Moon (07-27-2020), madsiur (07-27-2020)



Messages In This Thread
Question About Dialogue Parsing - by Fast Moon - 07-26-2020, 04:55 PM
RE: Question About Dialogue Parsing - by Everything - 07-27-2020, 09:24 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite