Fixed the things

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-20 15:33:18 -04:00 committed by GitHub
parent 80f968b6d8
commit 46214f7c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -444,7 +444,7 @@ export default class GameManager {
/**
* Check if the player has won the battle.
* @returns whether the player has won the battle (all opposinc Pokemon have been fainted)
* @returns whether the player has won the battle (all opposing Pokemon have been fainted)
*/
isVictory() {
return this.scene.currentBattle.enemyParty.every(pokemon => pokemon.isFainted());
@ -462,7 +462,7 @@ export default class GameManager {
/**
* Checks if the current mode matches the target mode.
* @param mode - The target {@linkcode Mode} to check.
* @param mode - The target {@linkcode UiMode} to check.
* @returns Whether the current mode matches the target mode.
*/
isCurrentMode(mode: UiMode) {