| 549 | } |
| 550 | |
| 551 | bool Game_Interpreter::CheckGameOver() { |
| 552 | if (!Game_Battle::IsBattleRunning() && !Main_Data::game_party->IsAnyActive()) { |
| 553 | // Empty party is allowed |
| 554 | if (Main_Data::game_party->GetBattlerCount() > 0) { |
| 555 | Scene::instance->SetRequestedScene(std::make_shared<Scene_Gameover>()); |
| 556 | return true; |
| 557 | } |
| 558 | } |
| 559 | return false; |
| 560 | } |
| 561 | |
| 562 | void Game_Interpreter::SkipToNextConditional(std::initializer_list<Cmd> codes, int indent) { |
| 563 | auto& frame = GetFrame(); |
nothing calls this directly
no test coverage detected