This will not work on multiple grounds as the IF is never being reached due to the RETURN ahead of it. The use of GUSUB requires RETURNS to terminate subroutines. It is also used as a GOTO instead of a GOSUB and completely unneccessary. Please make yourself familiar with IF-ENDIF and SELECT-CASe-ENDSELECt as explained int he KiXtart Manual.
_________________________
There are two types of vessels, submarines and targets.