fix zora mask resurface bug hopefully finally

This commit is contained in:
scawful
2024-06-08 11:43:14 -04:00
parent c7de0d9e96
commit 787c88f252

View File

@@ -176,7 +176,7 @@ pullpc
.dungeon_resurface .dungeon_resurface
{ {
LDA $1B : BEQ .return_default ; We are in overworld actually LDA $1B : BEQ .return_overworld ; We are in overworld actually
; Check if the player is actually diving ; Check if the player is actually diving
LDA !ZoraDiving : BEQ .return_default LDA !ZoraDiving : BEQ .return_default
@@ -215,8 +215,9 @@ pullpc
JMP .return_default JMP .return_default
} }
.return_default .return_overworld
STZ !ZoraDiving STZ !ZoraDiving
.return_default
STZ $0302 STZ $0302
RTS RTS
} }