mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-07 00:42:16 +02:00
Fixed the things
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
80f968b6d8
commit
46214f7c8a
@ -444,7 +444,7 @@ export default class GameManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the player has won the battle.
|
* 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() {
|
isVictory() {
|
||||||
return this.scene.currentBattle.enemyParty.every(pokemon => pokemon.isFainted());
|
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.
|
* 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.
|
* @returns Whether the current mode matches the target mode.
|
||||||
*/
|
*/
|
||||||
isCurrentMode(mode: UiMode) {
|
isCurrentMode(mode: UiMode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user