pokemon while loop battle

new memberVariable, might be unnecessary if I get better with pointers