From ef057638c5063ad24b6941aff533bf99b63b5c2d Mon Sep 17 00:00:00 2001 From: aerinon Date: Mon, 10 Apr 2023 12:20:15 -0600 Subject: [PATCH] Comment edits --- doorrando/bugfix/kholdstare_shell_collision.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doorrando/bugfix/kholdstare_shell_collision.asm b/doorrando/bugfix/kholdstare_shell_collision.asm index cfbf7a4..15b37cd 100644 --- a/doorrando/bugfix/kholdstare_shell_collision.asm +++ b/doorrando/bugfix/kholdstare_shell_collision.asm @@ -17,12 +17,12 @@ LDA.w $0D30, X XBA LDA.w $0D10, X ; full 16 bit X coordinate of sprite -REP #$21 +REP #$21 ; carry is guaranteed clear SBC.w #$0020 CMP.b $22 BCS .not_colliding -ADC.w #$0040 +ADC.w #$0040 ; carry is guaranteed clear CMP.b $22 BCC .not_colliding @@ -31,12 +31,12 @@ LDA.w $0D20, X XBA LDA.w $0D00, X ; full 16 bit Y coordinate of sprite -REP #$21 -SBC.w #$001F ; could go to 27 and let link squeeze in at Lanmo 2 (please adjust the following one) +REP #$21 ; carry is guaranteed clear +SBC.w #$001F ; could go to 27 and still let link squeeze in CMP.b $20 BCS .not_colliding -ADC.w #$0037 +ADC.w #$0037 ; carry is guaranteed clear CMP.b $20 BCC .not_colliding