added gt animation on door

This commit is contained in:
Zarby89
2018-09-12 04:12:32 -04:00
committed by GitHub
parent 594a981d69
commit f863149c16

View File

@@ -15,7 +15,19 @@ LockAgahnimDoors:
JSR.w LockAgahnimDoorsCore : RTL
+
.unlock
LDA InvertedMode : BEQ .done
LDA $7EF2C3 : AND.w #$0020 : BNE .done ; Check if GT overlay is already on or not
SEP #$30
JSL $099B6F ;Add tower break seal
LDA $7EF2C3 : ORA #$20 : STA $7EF2C3 ; activate GT overlay
REP #$30
LDA #$0002 ;Prevent door from opening that frame otherwise it glitchy
RTL
.done
LDA.w #$0000 ; fallback to never locked
RTL
;--------------------------------------------------------------------------------
LockAgahnimDoorsCore: