Fix issue with GFX not clearing out of dynamic drop gfx slots

This commit is contained in:
codemann8
2024-03-20 17:44:01 -05:00
parent 460cccbddd
commit e34466e214

View File

@@ -24,7 +24,9 @@ OnDungeonEntrance:
STA.l PegColor ; thing we wrote over STA.l PegColor ; thing we wrote over
JSL MaybeFlagDungeonTotalsEntrance JSL MaybeFlagDungeonTotalsEntrance
INC.w UpdateHUDFlag INC.w UpdateHUDFlag
SEP #$30
JSL DynamicDropGFXClear JSL DynamicDropGFXClear
REP #$30
RTL RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
OnDungeonBossExit: OnDungeonBossExit:
@@ -167,7 +169,6 @@ OnFileLoad:
LDA.l CurrentGenericKeys : STA.l CurrentSmallKeys ; copy generic keys to key counter LDA.l CurrentGenericKeys : STA.l CurrentSmallKeys ; copy generic keys to key counter
+ +
JSL DynamicDropGFXClear
JSL SetSilverBowMode JSL SetSilverBowMode
JSL RefreshRainAmmo JSL RefreshRainAmmo
JSL SetEscapeAssist JSL SetEscapeAssist
@@ -176,6 +177,7 @@ OnFileLoad:
JSL LoadStaticDecryptionKey JSL LoadStaticDecryptionKey
+ +
SEP #$10 ; restore 8 bit index registers SEP #$10 ; restore 8 bit index registers
JSL DynamicDropGFXClear
RTL RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
OnNewFile: OnNewFile: