Door state fix attempt2

This commit is contained in:
aerinon
2022-12-05 08:19:59 -07:00
parent 46272e7fad
commit 955766dc2a
3 changed files with 1 additions and 8 deletions

View File

@@ -214,6 +214,3 @@ jsl CheckIfDoorsOpen
bcs .normal bcs .normal
rts rts
.normal .normal
org $0282D1 ; Module08_00_LoadProperties
JSL ClearDoorState

View File

@@ -164,8 +164,3 @@ BigKeyDoorCheck:
LDA.l DRFlags : AND #$0400 : BNE + ; skip if the flag is set - bk doors can be double-sided LDA.l DRFlags : AND #$0400 : BNE + ; skip if the flag is set - bk doors can be double-sided
PLA : PEA.w RoomDraw_OneSidedShutters_South_onesided_shutter_or_big_key_door-1 PLA : PEA.w RoomDraw_OneSidedShutters_South_onesided_shutter_or_big_key_door-1
+ LDA.w #$0000 : RTL + LDA.w #$0000 : RTL
ClearDoorState:
STZ.b $6C
LDA.b #$82 : STA.b $99 ; what was wrote over
RTL

View File

@@ -599,6 +599,7 @@ CheckIfPotIsSpecial:
RTL RTL
SetTheSceneFix: SetTheSceneFix:
STZ.b $6C
JSL InitializeMirrorHDMA JSL InitializeMirrorHDMA
JSL LoadCommonSprites_long JSL LoadCommonSprites_long
RTL RTL