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

@@ -18,9 +18,6 @@ macro CheckNewR_ButtonPress()
LDA.b $F6 : BIT.b #$10
endmacro
; org $02A560
; JSL ForceResetWorldMap
; GameOver_DelayBeforeIris
org $09F347
JSL ForceResetMask_GameOver
@@ -70,24 +67,6 @@ StartupMasks:
RTL
}
ForceResetWorldMap:
{
LDA $7EF280 : BNE .openMap
PLA : PLA : PLA ; Pop the RTL
JML $02A571 ; check select button
.openMap
LDA $02B2 : BEQ .still_link
LDY.b #$04 : LDA.b #$23
JSL AddTransformationCloud
%ResetToLinkGraphics()
.still_link
STZ.w $0200
LDA #$07
RTL
}
ForceResetMask_GameOver:
{
LDA $02B2 : BEQ .still_link