Update moveHelper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-07-02 12:25:46 +02:00 committed by GitHub
parent 3a560c60a8
commit dd332e9a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,9 +108,9 @@ 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.selectWithTera called with move '${toReadableString(MoveId[move])}' not in moveset! `MoveHelper.selectWithTera called with move '${toReadableString(MoveId[move])}' not in moveset!` +
Battler Index: ${toReadableString(BattlerIndex[pkmIndex])}; `\nBattler Index: ${toReadableString(BattlerIndex[pkmIndex])}` +
Moveset: [${this.game.scene `\nMoveset: [${this.game.scene
.getPlayerParty() .getPlayerParty()
[pkmIndex].getMoveset() [pkmIndex].getMoveset()
.map(pm => toReadableString(MoveId[pm.moveId])) .map(pm => toReadableString(MoveId[pm.moveId]))