| 88 | } |
| 89 | |
| 90 | static std::vector<std::string> GetEnemyTargetNames() { |
| 91 | std::vector<std::string> commands; |
| 92 | |
| 93 | std::vector<Game_Battler*> enemies; |
| 94 | Main_Data::game_enemyparty->GetActiveBattlers(enemies); |
| 95 | |
| 96 | for (auto& enemy: enemies) { |
| 97 | commands.push_back(ToString(enemy->GetName())); |
| 98 | } |
| 99 | |
| 100 | return commands; |
| 101 | } |
| 102 | |
| 103 | void Scene_Battle_Rpg2k::CreateBattleTargetWindow() { |
| 104 | auto commands = GetEnemyTargetNames(); |
no test coverage detected