Lyrositor / CCScriptWriter

Extracts the dialogue from EarthBound and outputs it into a CCScript file.
6 stars 7 forks source link

Line Missing From Dump #8

Open tragicmanner opened 9 years ago

tragicmanner commented 9 years ago

The line "All right... on to Threed!" that triggers when getting into the Runaway Five bus in Fourside seems to be missing from the text dump.

Lyrositor commented 9 years ago

Hmm... Could it be I'm not grabbing all the text there is? That's weird.

tragicmanner commented 9 years ago

I was wrong, this is on the dumped text but it doesn't seem to be using it? data_44.ccs l_0xc89b4f:

I will look into it more tonight now that I found where it was.

tragicmanner commented 9 years ago

Okay, so I figured this out.

In the game, if you go directly into the Runaway Five bus, it points to the memory location (I think) $c89ba9. Since this location is in the middle of a text block, it doesn't get properly directed, and the game parses the original ROM text instead of jumping to where it should.

This was actually discussed here over a year ago, but it looks like nobody submitted a bug.

Fixing it is pretty simple. I created a new label called get_in_the_bus before the {window_open(1)} that is before the "@All right... on to Threed!" text at data_44.l_0xc89b4f and then added the following to main.ccs:

ROM[0xc89bf6] = goto(data_44.get_in_the_bus)