Lyrositor / CCScriptWriter

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

Incorrect special pointer? #12

Open stochaztic opened 6 years ago

stochaztic commented 6 years ago

Is 0xcffd5 really supposed to be a special pointer here? I'm unfamiliar with most of this, but if I'm understanding it correctly, it ends up pointing to the middle of a dialogue block (0xc80530, see ccs output below), and the ROM map labels this area "Audio Data Block (Unspecified)".

https://github.com/Lyrositor/CCScriptWriter/blob/f021880893f25c787814332b0a8102251bcb0141/CCScriptWriter/CCScriptWriter.py#L91-L92

l_0xc804d1:
    "[06 49 00 {e(data_35.l_0xc808bd)}][06 08 03 {e(l_0xc8054d)}][06 55 00 {e(data_35.l_0xc807bc)}][06 54 00 {e(data_35.l_0xc806bb)}][06 0D 00 {e(l_0xc80579)}]@Whistle, whistle anywhere.{pause(10)}" linebreak
    "  It makes me smile{pause(10)}" linebreak
    "  all the while." next
    "@I'm [1C 02 02]'s mo" goto(l_0xc80530)

l_0xc80530:
    "ther.{pause(20)}  I'm busy taking care of these kids." next
    goto(l_0xc8054d)

l_0xc8054d:
    "@You shouldn't worry about [1C 02 02].{pause(20)}  She has a guardian angel,{pause(15)} it seems." end
Lyrositor commented 6 years ago

I honestly can't remember anymore. If I added it there, there should have been a reason. Do you know what this outputs in the CCScript files (I don't see it in the output you copied).

stochaztic commented 6 years ago

In the Special Pointers section of main.ccs:

ROM[0xccffd5] = "[{e(data_34.l_0xc80530)}]"