Cleaned up some magic numbers

This commit is contained in:
blondie7575 2023-12-23 16:47:20 -07:00
parent 1dde996981
commit 11b2cc9048

View File

@ -435,7 +435,7 @@ move:
beq moveParamsPlayer0
lda #-1
sta placeGameObjectRightOffset
lda #GAMEOBJECTWIDTH-7
lda #GAMEOBJECTWIDTH-(GAMEOBJECTWIDTH/2-1)
sta placeGameObjectLeftOffset
movePerformMove:
@ -443,7 +443,7 @@ movePerformMove:
bra moveCleanup
moveParamsPlayer0:
lda #-6
lda #-(GAMEOBJECTWIDTH/2-2)
sta placeGameObjectRightOffset
lda #GAMEOBJECTWIDTH-2
sta placeGameObjectLeftOffset