mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +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);
|
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]))
|
||||||
|
Loading…
Reference in New Issue
Block a user