From d6c8e89dea92437ee14f0519471471df46e9b953 Mon Sep 17 00:00:00 2001 From: blondie7575 Date: Mon, 9 Oct 2017 14:41:05 -0700 Subject: [PATCH] Fixed a collision precision bug with terrain --- collision.s | 2 -- gscats.2mg | Bin 819264 -> 819264 bytes 2 files changed, 2 deletions(-) diff --git a/collision.s b/collision.s index b23c666..5ae9c71 100644 --- a/collision.s +++ b/collision.s @@ -29,8 +29,6 @@ intersectRectTerrain: ; Convert X to words and compute horizontal extent ; Note that X counts from right terrain edge lda rectParams - clc - adc rectParams+4 ; Reverse rect horizontally and #$fffe ; Force even sta rectParams diff --git a/gscats.2mg b/gscats.2mg index a9c9b2cd6c986b5d32c601995dd3279e83fffa95..fe287e5a27ed43dae8cfa25d605484f43d248cba 100644 GIT binary patch delta 5855 zcmciGe{9tC9mnzS_j)aNE!bPwW@Q+^0Rpm^ar{`U#<*I3tZLKyfNnBE=gAo95BT1< zh6UR!`!?!XLB1iRZfCPDU(yi9Q764KR5h}&ShDLOS~?)84Z zKcDeyCi@GL>pl9p?|tw1_IdAqza8mbG19%_SM$pg(Jt%3g-dR+tamL&?_K5dR$a3a zvA+84M^-=Z=p*$HG(DV5T9#E|+qN|-+tU+cwEZ((^rKKtJ3W8YFb#HTff2nnm?Ed0EIPhu4^;bq3Q0GY01kE*Nyr z(mQ(E;8}y`44jzWW`V&XgT)5^h|#FQaf1^E>A2p}7K5z@+ZbJW%W@{|u1{M`hUyD4 zRM%zb>kb<`9+M1}$&kPq5;#KwXGq`-37jE;GbC_^1kRAa84@@{0%r*L!`vY)afSrW zkiZ!dI70$wNZP5;#KwXGq`-37jE;GbC_^>Pm*!jl(504i{WI4(HN1yv4tI9(I>C zUi@D1Xez`&92+BGAPP{T03`}gq5vfdP@(`O3Q(c|B??fY03{OqREQL12_*_pq5vfd zP@(`O3Q(c|B??fY03`}gq5vfdP@(`OGW-xJ$`VQxphN*m6re-_N)(_(0ZJ60L;*?^ zphN*m6re-_N)-4=QG|&oK#2mBC_sqlp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