mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-13 03:42:18 +02:00
Fix Formatting
This commit is contained in:
parent
282db5e15f
commit
bc3fd217b7
@ -2224,7 +2224,6 @@ export class MovePhase extends BattlePhase {
|
||||
this.targets[0] = moveTarget.value;
|
||||
}
|
||||
|
||||
|
||||
if (this.targets.length === 1 && this.targets[0] === BattlerIndex.ATTACKER) {
|
||||
if (this.pokemon.turnData.attacksReceived.length) {
|
||||
const attacker = this.pokemon.turnData.attacksReceived.length ? this.pokemon.scene.getPokemonById(this.pokemon.turnData.attacksReceived[0].sourceId) : null;
|
||||
|
Loading…
Reference in New Issue
Block a user