| 142 | } |
| 143 | |
| 144 | void Scene_Battle_Rpg2k::RefreshCommandWindow() { |
| 145 | if (Player::IsRPG2k3() && Feature::HasRpg2kBattleSystem() && !lcf::Data::system.easyrpg_use_rpg2k_battle_commands) { |
| 146 | int index = command_window->GetIndex(); |
| 147 | auto commands = GetBattleCommandNames2k3(active_actor); |
| 148 | command_window->ReplaceCommands(std::move(commands)); |
| 149 | command_window->SetIndex(index); |
| 150 | } else { |
| 151 | command_window->SetItemText(1, active_actor->GetSkillName()); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | void Scene_Battle_Rpg2k::SetState(Scene_Battle::State new_state) { |
| 156 | previous_state = state; |
nothing calls this directly
no test coverage detected