Fix bugs that cause the centipede segment to drop as if poisoned when it reaches the bottom half of the screen.

This commit is contained in:
Jeremy Rand 2020-09-13 13:32:25 -04:00
parent ab5f5c6299
commit dc5ab4720d
1 changed files with 2 additions and 2 deletions

View File

@ -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