Closed royitaqi closed 2 years ago
Might because I didn't check for multiple collision
For your mod you can hook On.BossSequenceController.SetupNewSequence
to get pantheon info
I have implemented some workaround, so this is no longer blocking me. Feel free to close the issue or keep it open if you plan to do more work.
Thx for the pointers above. I will look at them when I get a chance.
BTW, noticed this issue again. See https://github.com/royitaqi/HollowKnight.GodhomeWinLossTracker/issues/74
And I found a fix, which is to hook GameManager_BeginScene
instead of ModHooks.BeforeSceneLoadHook
.
I was playing around with modding and observed the following (weird?) extra loading of GG_Atrium when dreamnailing to p5 the first time. A second dreamnailing to p5 doesn't have this extra GG_Atrium.
See the last part of the following log:
I'm working on workarounds so this doesn't block me.
More context: The reason I ask is that I'm writing a mod and it depend on the last scene name to decide which pantheon the player is going into. GG_Atrium_Roof = p5, but if GG_Atrium is loaded after GG_Atrium_Roof and before boss fight, my logic breaks up.