Fix for avoiding Arrghus/Zora splash GFX issues

This commit is contained in:
codemann8
2023-05-10 23:12:42 -05:00
parent 1b564d99fc
commit 38fa9c3902
4 changed files with 17 additions and 17 deletions

View File

@@ -6,16 +6,6 @@ LoadZoraKingItemGFX:
LDA.l $1DE1C3 ; location randomizer writes zora item to
JML RequestSlottedTile
;--------------------------------------------------------------------------------
ZoraSplashGfxFix:
PHA : PHX : PHY : SEP #$30
; below should be set to the index used for Arrghus/Zora Splash
; FreeOWGraphics in dynamic_si_vram.asm, whatever index is $9960
; this makes it so the first gfx that is loading is AFTER the splash
LDA.b #$01 : STA.w DynamicDropGFXIndex
JSL LoadCommonSprites_long
REP #$30 : PLY : PLX : PLA
RTL
;--------------------------------------------------------------------------------
JumpToSplashItemTarget:
LDA $0D90, X
CMP.b #$FF : BNE + : JML.l SplashItem_SpawnSplash : +