MCPcopy Create free account
hub / github.com/EasyRPG/Player / CheckWin

Method CheckWin

src/game_battle.cpp:131–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool Game_Battle::CheckWin() {
132 return !Main_Data::game_enemyparty->IsAnyActive();
133}
134
135bool Game_Battle::CheckLose() {
136 // If there are active characters, but all of them are in a state with Restriction "Do Nothing" and 0% recovery probability (including death), it's game over

Callers

nothing calls this directly

Calls 1

IsAnyActiveMethod · 0.80

Tested by

no test coverage detected