Small change

This commit is contained in:
Pecusx
2023-08-02 12:55:58 +02:00
parent 0c5f2616ca
commit f17e081ec2
2 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -452,9 +452,10 @@ ItIsHuman
clc
adc Energy,y ; if robotank energy=energy+100 (100 or 0 from PreferHumansFlag)
cmp temp2 ; lowest
beq lowestIsEqual
bcc lowestIsHigher
; lower or equal
bne lowestIsLower
; if lower
lowestIsEqual
; if equal then select random (of two tanks)
bit RANDOM
bmi lowestIsLower