Don't delete follower on crystal cutscene if prize shuffle

This commit is contained in:
codemann8
2024-08-27 07:15:18 -05:00
parent 8b827c3745
commit b3979affc9
3 changed files with 16 additions and 0 deletions

View File

@@ -450,3 +450,15 @@ ClearMultiworldText:
+
PLX : PLP
RTL
MaybeSkipCrystalCutsceneFollowerReset:
PHA
; skip if prizes are shuffled outside of normal boss drops
LDA.l InventoryTable_properties+($37*2) : AND.b #$01 : BEQ .continue
.skip
PLA : PLA : PLA : PLA
JML CrystalCutscene_SpawnMaiden_PostFollowerGfx
.continue
PLA
STA.l FollowerIndicator ; what we wrote over
RTL

View File

@@ -1820,6 +1820,9 @@ JML MaidenCrystalScript
org $9ECCEB ; <- F4CEB - sprite_crystal_maiden.asm : 25 ; skip all palette nonsense
BRA CrystalCutscene_Initialize_skip_palette
;--------------------------------------------------------------------------------
org $9ECD97
JSL MaybeSkipCrystalCutsceneFollowerReset
;--------------------------------------------------------------------------------
org $88C3FD ; <- 443FD - ancilla_receive_item.asm : 89
BRA + : NOP #4 : +
;--------------------------------------------------------------------------------

View File

@@ -228,6 +228,7 @@ CopyDecompressedCharToTransferBuffer = $8EF5BC
CopyDecompressedToFullBuffer = $8EF6A8
Trinexx_FinalPhase = $9DADB5
Trinexx_PreFinalPhase = $9DB0D2
CrystalCutscene_SpawnMaiden_PostFollowerGfx = $9ECDA7
CrystalMaiden_KickOutOfDungeon = $9ECF35
GoldBee_Dormant_exit = $9EDE89
GoldBee_SpawnSelf = $9EDE8A