; ******************* Gunman v1.0 ****************** ; written by GreatGeorge ; ; this bot is at the moment quite simple ; i am just looking how he is doing... ; ************************************************** #config scanner=3 #config weapon=2 #config armor=2 #config engine=2 #config heatsinks=3 #def scanarc #def desang mov ax, 1 int I_KEEPSHIFT !flip mov scanarc, 64 opo P_STEERING, 4 opo P_TROTATE, 128 !scan opo P_THROTTLE, 100 opo P_ARC, scanarc ipo P_SCAN, dx, cmp dx, 1500 jb !shrink cmp scanarc, 64 jae !flip shl scanarc, 1 jmp !scan !shrink mov bx, scanarc mpy bx, @3 sar bx, 1 opo P_TROTATE, bx opo P_FIRE, @3 mov bx, @1 add bx, desang ipo P_COMPASS, ax add ax, @2 and ax, 255 sub ax, bx opo P_STEERING, ax mov desang, dx shr desang, 4 cmp scanarc, 2 jb !scan shr scanarc, 1 jmp !scan