mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-27 17:59:28 +02:00
Testing
Commented these log statements out, but may add them back later
This commit is contained in:
parent
9d968917f5
commit
ff40f56992
@ -293,10 +293,12 @@ export function playerPokeName(scene: BattleScene, index: integer | Pokemon | Pl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (typeof index == "number") {
|
if (typeof index == "number") {
|
||||||
|
//console.log(scene.getParty()[index], species, dupeSpecies)
|
||||||
if (dupeSpecies.includes(scene.getParty()[index].name))
|
if (dupeSpecies.includes(scene.getParty()[index].name))
|
||||||
return scene.getParty()[index].name + " (Slot " + (index + 1) + ")"
|
return scene.getParty()[index].name + " (Slot " + (index + 1) + ")"
|
||||||
return scene.getParty()[index].name
|
return scene.getParty()[index].name
|
||||||
}
|
}
|
||||||
|
//console.log(index.name, species, dupeSpecies)
|
||||||
if (dupeSpecies.includes(index.name))
|
if (dupeSpecies.includes(index.name))
|
||||||
return index.name + " (Slot " + (scene.getParty().indexOf(index as PlayerPokemon) + 1) + ")"
|
return index.name + " (Slot " + (scene.getParty().indexOf(index as PlayerPokemon) + 1) + ")"
|
||||||
return index.name
|
return index.name
|
||||||
@ -320,10 +322,12 @@ export function enemyPokeName(scene: BattleScene, index: integer | Pokemon | Ene
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (typeof index == "number") {
|
if (typeof index == "number") {
|
||||||
|
//console.log(scene.getEnemyParty()[index], species, dupeSpecies)
|
||||||
if (dupeSpecies.includes(scene.getEnemyParty()[index].name))
|
if (dupeSpecies.includes(scene.getEnemyParty()[index].name))
|
||||||
return scene.getEnemyParty()[index].name + " (Slot " + (index + 1) + ")"
|
return scene.getEnemyParty()[index].name + " (Slot " + (index + 1) + ")"
|
||||||
return scene.getEnemyParty()[index].name
|
return scene.getEnemyParty()[index].name
|
||||||
}
|
}
|
||||||
|
//console.log(index.name, species, dupeSpecies)
|
||||||
if (dupeSpecies.includes(index.name))
|
if (dupeSpecies.includes(index.name))
|
||||||
return index.name + " (Slot " + (scene.getEnemyParty().indexOf(index as EnemyPokemon) + 1) + ")"
|
return index.name + " (Slot " + (scene.getEnemyParty().indexOf(index as EnemyPokemon) + 1) + ")"
|
||||||
return index.name
|
return index.name
|
||||||
|
Loading…
Reference in New Issue
Block a user