mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fixed TR signature
This commit is contained in:
parent
a5389960ff
commit
69e78f1b40
@ -49,8 +49,7 @@ function sortBySpeed<T extends Pokemon | hasPokemon>(pokemonList: T[]): void {
|
||||
|
||||
/** 'true' if Trick Room is on the field. */
|
||||
const speedReversed = new BooleanHolder(false);
|
||||
globalScene.arena.applyTags(ArenaTagType.TRICK_ROOM, false, speedReversed);
|
||||
|
||||
globalScene.arena.applyTags(ArenaTagType.TRICK_ROOM, speedReversed);
|
||||
if (speedReversed.value) {
|
||||
pokemonList.reverse();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user