From d97b52a6d1edbf5dc0fcc15e32af54b941b68c2e Mon Sep 17 00:00:00 2001 From: Thomas Prescott Date: Sat, 6 Jun 2020 09:07:22 -0500 Subject: [PATCH] allow bunny link to read signposts --- hooks.asm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/hooks.asm b/hooks.asm index 73a35d4..898cf72 100755 --- a/hooks.asm +++ b/hooks.asm @@ -2495,4 +2495,26 @@ dw 37, 11 : db $FB, $40, $00, $00 dw 37, 11 : db $FB, $40, $00, $00 dw 37, 11 : db $FB, $40, $00, $00 dw 37, 11 : db $FB, $40, $00, $00 -;================================================================================ \ No newline at end of file +;================================================================================ + +;-------------------------------------------------------------------------------- +; Allow Bunny Link to Read Signposts +;-------------------------------------------------------------------------------- +org $07839E ; bunny BAGE check +BunnyRead: + JSR.w $07B5A9 ; check A button + BCC .noA + JSR.w CheckIfReading + BNE .noread + JSR.w $07B4DB + NOP +.noread +.noA + +org $07FFF4 +CheckIfReading: + JSR.w $07D36C ; check action + LDA #$80 : TRB $3B + CPX #$04 + RTS +;================================================================================