| 400 | } |
| 401 | |
| 402 | void Scene_Battle::AttackSelected() { |
| 403 | Main_Data::game_system->SePlay(Main_Data::game_system->GetSystemSE(Main_Data::game_system->SFX_Decision)); |
| 404 | |
| 405 | if (active_actor->HasAttackAll()) { |
| 406 | active_actor->SetBattleAlgorithm(std::make_shared<Game_BattleAlgorithm::Normal>(active_actor, Main_Data::game_enemyparty.get())); |
| 407 | ActionSelectedCallback(active_actor); |
| 408 | } else { |
| 409 | SetState(State_SelectEnemyTarget); |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | void Scene_Battle::DefendSelected() { |
| 414 | Main_Data::game_system->SePlay(Main_Data::game_system->GetSystemSE(Main_Data::game_system->SFX_Decision)); |
nothing calls this directly
no test coverage detected