Xeeynamo / sotn-decomp

Decompilation of Castlevania: Symphony of the Night (PSX+Saturn)
https://sotn.xee.dev/
GNU Affero General Public License v3.0
508 stars 55 forks source link

Decompile ST0 func_801B1298 #1769

Closed bismurphy closed 1 month ago

bismurphy commented 1 month ago

This one is so dang weird.

It needs to access fields in g_Dialogue which do not match up at all with the g_Dialogue struct. And it accesses some other elements normally, but they show up at the wrong offsets. It's like this one function uses a different g_Dialogue struct. I really don't know what to make of it. Other files in ST0 use normal g_Dialogue, but this one is bizarre.

I went ahead and created an ifdef variable to use to handle this, and that's baked into g_Dialogue, but man. Very weird and yet another thing I haven't seen before in SOTN. ST0 is such a weird beast. Feels like it's from a beta build of the game.