;Assassin V1.0 ;Completed March 8th 1999 ;Made by David Labbe ;E-mail: rodney999@hotmail.com ;This robot is designed to track nearby ennemy and follow them in ;their back(usually). He check at 0, 90, 180 and 270 degrees ;for ennemies to kill, then he turn to face them. Once he get close to ;a robot, he don't lose him and follow him in his back. An assassin! ;Good for: Center fight, moving in circle targets ;Not good for: Sides(He really suck in the top left corner) ; non-moving targets, 6 robots fights ;You may take any parts of this robot, but just don't copy it please and ;change 1-2 values. Thanks. #config scanner= 4 #config weapon= 3 #config armor= 2 #config engine= 2 #config heatsinks= 1 #config mines= 0 #config shield= 0 #def qqun #def ener #def ener_av #def touche #msg Die Low-Life!!! opo 17 8 opo 13 0 mov qqun 0 ipo 6 ener_av ;opo 18 1 :10 ;Check for damage gsb 4000 cmp touche 0 ;Are you hit? je 11 ;No, go man! opo 14 32 ;Emergency turn!!! opo 11 100 jmp 2 :11 ;Check for stop ipo 1 ax ;Stopped? cmp ax 0 jgr 1 ;Nope, move on opo 14 64 ;Turn 90 degrees opo 11 100 ;Speed 100 ipo 6 ener_av ;Change energy value so we are not hit jmp 10 :1 ;Check with sonar mov qqun 0 opo 11 100 ipo 16 ax ;Check with sonar cmp ax 0 ;Someone? jls 2 ;No.. mov qqun 1 gsb 2000 ;TURN! :2 ;Check with radar in front opo 13 0 ;Set the turret in front ipo 7 ax cmp ax 1000 ;Someone to shoot?? jgr 5 ;Nope ipo 8 dx ;Yeah Yeah!!! del 6 ;Get 2 accuracy so we can aim better ipo 8 cx ;At least we hope sub dx cx ;Sub it... sub cx dx ;Again.... gsb 1000 ;OK Kill him now! jmp 8 :5 ;Check in back opo 13 128 ;Set turret in back ipo 7 ax cmp ax 1000 ;Someone to shoot?? jgr 6 ;Nope ipo 8 dx ;Yeah Yeah!!! del 6 ;Get 2 accuracy so we can aim better ipo 8 cx ;At least we hope sub dx cx ;Sub it... sub cx dx ;Again.... gsb 1000 ;OK Kill him now! opo 14 128 ;Turn to face him opo 11 100 ;Full speed! jmp 8 :6 ;Check right opo 13 64 ;Set turret right i