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 clc
adc Energy,y ; if robotank energy=energy+100 (100 or 0 from PreferHumansFlag) adc Energy,y ; if robotank energy=energy+100 (100 or 0 from PreferHumansFlag)
cmp temp2 ; lowest cmp temp2 ; lowest
beq lowestIsEqual
bcc lowestIsHigher bcc lowestIsHigher
; lower or equal ; if lower
bne lowestIsLower lowestIsEqual
; if equal then select random (of two tanks) ; if equal then select random (of two tanks)
bit RANDOM bit RANDOM
bmi lowestIsLower bmi lowestIsLower
BIN
View File
Binary file not shown.