while(gLvl[Atkr] < MAXLEVELS - 1){ if(gExp[Atkr] > Levels[gLvl[Atkr]]) //Plyer leveled up else break }