void RegularBattleScene::onShiftSpots(int player, int spot1, int spot2, bool) { updatePoke(data()->spot(player, spot1)); updatePoke(data()->spot(player, spot2)); gui.zone->updatePoke(data()->spot(player, spot1)); gui.zone->updatePoke(data()->spot(player, spot2)); pause(); QTimer::singleShot(500, this, SLOT(unpause())); }
void RegularBattleScene::onPokeballStatusChanged(int player, int poke, int) { updateBallStatus(player, poke); if (poke < data()->numberOfSlots()/2) { updatePoke(data()->spot(player, poke)); } }
void TB_TeamBody::updateTeam() { changeGeneration(trainerTeam()->team().gen().num); for(int i=0; i < 6; i++) { updatePoke(i); } }