From 6b6bce9b78438bbdb0127d44f140c9877d8a19b7 Mon Sep 17 00:00:00 2001 From: caitsith2 Date: Wed, 24 Jun 2020 07:06:58 -0700 Subject: [PATCH] Print hook address helpers for doors --- darkworldspawn.asm | 2 ++ events.asm | 1 + 2 files changed, 3 insertions(+) diff --git a/darkworldspawn.asm b/darkworldspawn.asm index e09814a..0b62fbc 100644 --- a/darkworldspawn.asm +++ b/darkworldspawn.asm @@ -12,6 +12,7 @@ DoWorldFix: JMP DoWorldFix_Inverted + LDA.l Bugfix_MirrorlessSQToLW : BEQ .skip_mirror_check + print "MirrorCheckOverride2: ", pc LDA $7EF353 : BEQ .noMirror ; check if we have the mirror .skip_mirror_check ; alt entrance point LDA $7EF3C5 : CMP.b #$03 : !BLT .aga1Alive ; check if agahnim 1 is alive @@ -47,6 +48,7 @@ RTL ;================================================================================ DoWorldFix_Inverted: LDA.l Bugfix_MirrorlessSQToLW : BEQ .skip_mirror_check + print "MirrorCheckOverride2: ", pc LDA $7EF353 : BEQ .noMirror ; check if we have the mirror .skip_mirror_check ; alt entrance point LDA $7EF3C5 : CMP.b #$03 : !BLT .aga1Alive ; check if agahnim 1 is alive diff --git a/events.asm b/events.asm index 63403c0..1b94643 100644 --- a/events.asm +++ b/events.asm @@ -16,6 +16,7 @@ RTL ;-------------------------------------------------------------------------------- OnDrawHud: JSL.l DrawChallengeTimer ; this has to come before NewDrawHud because the timer overwrites the compass counter + print "DrHudOverride: ", pc JSL.l NewDrawHud JSL.l SwapSpriteIfNecissary JSL.l PollService