From d388f56f3f7fa63894c1b7592617a7bec9e16a11 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 16 Feb 2024 17:01:22 -0500 Subject: [PATCH] ZSOverworld custom gfx updates --- Overworld/custom_gfx.asm | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/Overworld/custom_gfx.asm b/Overworld/custom_gfx.asm index d807e5a..8c1de07 100644 --- a/Overworld/custom_gfx.asm +++ b/Overworld/custom_gfx.asm @@ -1,40 +1,21 @@ -org $0AB917 ; after most of the area loading after calling the bird takes place - JSL CheckForChangeGraphicsNormalLoad - -org $028492 ; after leaving a dungeon - JSL CheckForChangeGraphicsNormalLoad - - org $02E94A JSL CheckForSpecialAreaGraphics org $0ED5A8 OverworldPalettesLoader: -org $00E19B - InitTilesets: - ; ============================================================================== org $3F8000 -CheckForChangeGraphicsNormalLoad: +CheckForChangeGraphicsNormalLoadBoat: { - JSL InitTilesets ;calls $00E19B that was replaced - - LDA $8A : CMP.b #$30 : BNE .boat_area - - PHB : PHK : PLB - - JSR ApplyGraphics1 - - PLB - - RTL ;goes back to normal - + LDA $8A : CMP.b #$30 : BNE .boat_area + PHB : PHK : PLB + JSR ApplyGraphics1 + PLB + RTL .boat_area - - - RTL + RTL } CheckForSpecialAreaGraphics: