From cfbce91117c0943f02494620bdb341ffff9f9b3e Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 15 Aug 2019 23:53:59 -0400 Subject: [PATCH] ootw: c3: fix issue where not show falling in because PHYSICIST_Y was negative --- ootw/ootw_c3_vent.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ootw/ootw_c3_vent.s b/ootw/ootw_c3_vent.s index f0bc1916..ff20a812 100644 --- a/ootw/ootw_c3_vent.s +++ b/ootw/ootw_c3_vent.s @@ -868,6 +868,12 @@ window_loop: sec sbc #2 + bpl window_positive + + lda #0 ; start at 0 if negative + ; fix prob when dropping in + +window_positive: sta TEMPY cpy TEMPY