@fight Aiattack=rnd(2) ←sets ai attack to random If Aiattack==0 then Youhealth=Youhealth-5 locate 0,0print "average hit" If Aiattack==1 then Youhealth=Youhealth-10 locate 0,0print "critical hit"goto @youattack i'll do more later :)