Try adding:

WHILE (syn_male_fire_mutant == NULL) {WAIT (1);}

before the invisible = ON instead of the WAIT(1).

Credit Ronny for that little nugget.