for (Slot slot : this) {
if (!slot.leader().awake()) {
if (slot.party().awake() > 0) {
if (slot.trainer() instanceof Player) {
log(slot.trainer().id() + " must swap on the next turn");
PlayerManager.addActivity((Player) slot.trainer(), new BuildSwapTurnActivity(this));
}
else {
addTurn(SwapTurn.autoSwapTurn(this, slot));
}
}