so I get the idea of using a parameter in the function to set the global variable for squad number it is just the checking of how many enemies with that number are on screen is where I am failing
I am reading and rereading your code and I can't make heads nor tails out of it.
so I use pick by elevated but I can't seem to use the x command I know this is probably super basic stuff but it really is flying over my head