mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 15:02:16 +02:00
Update moveHelper.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
3a560c60a8
commit
dd332e9a9f
@ -108,9 +108,9 @@ export class MoveHelper extends GameManagerHelper {
|
||||
const movePosition = this.getMovePosition(pkmIndex, move);
|
||||
if (movePosition === -1) {
|
||||
expect.fail(
|
||||
`MoveHelper.selectWithTera called with move '${toReadableString(MoveId[move])}' not in moveset!
|
||||
Battler Index: ${toReadableString(BattlerIndex[pkmIndex])};
|
||||
Moveset: [${this.game.scene
|
||||
`MoveHelper.selectWithTera called with move '${toReadableString(MoveId[move])}' not in moveset!` +
|
||||
`\nBattler Index: ${toReadableString(BattlerIndex[pkmIndex])}` +
|
||||
`\nMoveset: [${this.game.scene
|
||||
.getPlayerParty()
|
||||
[pkmIndex].getMoveset()
|
||||
.map(pm => toReadableString(MoveId[pm.moveId]))
|
||||
|
Loading…
Reference in New Issue
Block a user