mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Better aiming (lower tank position - more force)
This commit is contained in:
@@ -616,10 +616,15 @@ skipThisPlayer
|
||||
lda OptionsTable+2 ; selected gravity
|
||||
asl
|
||||
tay
|
||||
; force correction - lower tank Y position - higher possible force
|
||||
clc
|
||||
lda #screenheight
|
||||
sbc Ytankstable,x
|
||||
sta temp2
|
||||
clc
|
||||
lda AIForceTable,y
|
||||
sta RandBoundaryLow
|
||||
adc #60
|
||||
adc temp2
|
||||
sta RandBoundaryHigh
|
||||
lda AIForceTable+1,y
|
||||
sta RandBoundaryLow+1
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user