mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Fixed fail comment
This commit is contained in:
parent
9c9e7fbbb9
commit
b9ffd03165
@ -64,7 +64,7 @@ export class MoveHelper extends GameManagerHelper {
|
|||||||
const movePosition = this.getMovePosition(pkmIndex, move);
|
const movePosition = this.getMovePosition(pkmIndex, move);
|
||||||
if (movePosition === -1) {
|
if (movePosition === -1) {
|
||||||
expect.fail(
|
expect.fail(
|
||||||
`MoveHelper.select called with move ${toReadableString(MoveId[move])} not in moveset; Battler Index: ${BattlerIndex[pkmIndex]}`,
|
`MoveHelper.select called with move ${toReadableString(MoveId[move])} not in moveset;\nBattler Index: ${BattlerIndex[pkmIndex]};\nMoveset: ${this.game.scene.getField()[pkmIndex].getMoveset()}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user