From dc5ab4720d7bc9199fae210536bbf6f87ce9e48a Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Sun, 13 Sep 2020 13:32:25 -0400 Subject: [PATCH] Fix bugs that cause the centipede segment to drop as if poisoned when it reaches the bottom half of the screen. --- BuGS/gameSegments.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BuGS/gameSegments.s b/BuGS/gameSegments.s index ff210ec..1f2d8c9 100644 --- a/BuGS/gameSegments.s +++ b/BuGS/gameSegments.s @@ -338,7 +338,7 @@ updateSegmentLeftSlow_checkDir anop lda segmentTileOffsetsUL,y tax lda tileLeft,x - cmp #LHS_FIRST_TILE*SIZEOF_TILE_INFO + cmp #LHS_FIRST_TILE_OFFSET bge updateSegmentLeftSlow_changeDir tax lda tileType,x @@ -635,7 +635,7 @@ updateSegmentRightSlow_checkDir anop lda segmentTileOffsetsUR,y tax lda tileRight,x - cmp #RHS_FIRST_TILE*SIZEOF_TILE_INFO + cmp #RHS_FIRST_TILE_OFFSET bge updateSegmentRightSlow_changeDir tax lda tileType,x