Retain mask/form palette when accessing OW map

This commit is contained in:
scawful
2024-05-07 09:55:50 -04:00
parent 6c499a0f2d
commit 21f43af75e
2 changed files with 15 additions and 22 deletions

View File

@@ -39,6 +39,7 @@ org $3E8000
DMAOwMap:
{
JSL Palette_ArmorAndGloves
LDA $8A : AND #$40 : BEQ .LWMAP
JMP .DWMAP
@@ -400,7 +401,20 @@ HandleMapDrawIcon:
RTS
}
warnpc $0AC387
FixMaskPaletteOnExit:
{
JSL Palette_ArmorAndGloves
LDA.l $7EC229
RTL
}
org $0ABC76
JSL FixMaskPaletteOnExit
; warnpc $0AC387
org $0AC589
RTS
org $0AC38A
{