mask housekeeping

This commit is contained in:
scawful
2024-12-08 20:11:58 -05:00
parent d9bd2ad4aa
commit 70f13ff1c0
2 changed files with 21 additions and 32 deletions

View File

@@ -18,12 +18,10 @@ endmacro
; Change Link's sprite by setting $BC to the gfx bank
; InitializeMemoryAndSRAM
org $008827
JSL StartupMasks
org $008827 : JSL StartupMasks
; Link Sprite hook before game starts
org $008A01
LDA $BC
org $008A01 : LDA $BC
; =========================================================
; Change Link's palette based on $02B2 (mask value)
@@ -42,12 +40,10 @@ org $1BEE1B
; =========================================================
; GameOver_DelayBeforeIris
org $09F347
JSL ForceResetMask_GameOver
org $09F347 : JSL ForceResetMask_GameOver
; Module17_SaveAndQuit
org $09F7B5
JSL ForceResetMask_SaveAndQuit
org $09F7B5 : JSL ForceResetMask_SaveAndQuit
; =========================================================
; EXPANDED SPACE
@@ -61,7 +57,6 @@ StartupMasks:
; set links sprite bank
LDA #$10 : STA $BC
RTL
}
@@ -207,7 +202,6 @@ Palette_ArmorAndGloves:
; =========================================================
; Overworld Palette Persist
Overworld_CgramAuxToMain_Override:
{
; Copies the auxiliary CGRAM buffer to the main one