michael-fadely / sadx-dc-lighting

Sonic Adventure 1 palette lighting for SADX PC.
MIT License
39 stars 3 forks source link

PL file selection for Perfect Chaos #53

Closed PiKeyAr closed 7 years ago

PiKeyAr commented 7 years ago

The second part of Perfect Chaos loads PL_J1B.BIN in SA1. In the mod, PL_J0B.BIN is loaded for both parts. I think Perfect Chaos doesn't use the "normal" act numbers though, so it may be trickier to implement.

michael-fadely commented 7 years ago

Looks like it stores the current phase at 0x03C69E28. It writes to it during the switch at 0x0056094D. I'm going to see about exploiting this to load the next palette file.

michael-fadely commented 7 years ago

I've pushed a potential solution but I think it will need some more thorough testing before I consider this fixed.

PiKeyAr commented 7 years ago

Seems good enough!