From f863149c1615056fcaca8d6192bd0eef33cc2098 Mon Sep 17 00:00:00 2001 From: Zarby89 Date: Wed, 12 Sep 2018 04:12:32 -0400 Subject: [PATCH] added gt animation on door --- entrances.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/entrances.asm b/entrances.asm index c11702d..7a75192 100644 --- a/entrances.asm +++ b/entrances.asm @@ -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: