mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-22 07:19:28 +02:00
Updates to consistency in syntax/deprecated code
This commit is contained in:
parent
c3bb874909
commit
ceea897c1d
@ -36,9 +36,7 @@ describe("Abilities - Imposter", () => {
|
||||
});
|
||||
|
||||
it("should copy species, ability, gender, all stats except HP, all stat stages, moveset, and types of target", async () => {
|
||||
await game.startBattle([
|
||||
Species.DITTO
|
||||
]);
|
||||
await game.classicMode.startBattle([ Species.DITTO ]);
|
||||
|
||||
game.move.select(Moves.SPLASH);
|
||||
await game.phaseInterceptor.to(TurnEndPhase);
|
||||
@ -78,9 +76,7 @@ describe("Abilities - Imposter", () => {
|
||||
it("should copy in-battle overridden stats", async () => {
|
||||
game.override.enemyMoveset([ Moves.POWER_SPLIT ]);
|
||||
|
||||
await game.startBattle([
|
||||
Species.DITTO
|
||||
]);
|
||||
await game.classicMode.startBattle([ Species.DITTO ]);
|
||||
|
||||
const player = game.scene.getPlayerPokemon()!;
|
||||
const enemy = game.scene.getEnemyPokemon()!;
|
||||
|
@ -36,9 +36,7 @@ describe("Moves - Transform", () => {
|
||||
});
|
||||
|
||||
it("should copy species, ability, gender, all stats except HP, all stat stages, moveset, and types of target", async () => {
|
||||
await game.startBattle([
|
||||
Species.DITTO
|
||||
]);
|
||||
await game.classicMode.startBattle([ Species.DITTO ]);
|
||||
|
||||
game.move.select(Moves.TRANSFORM);
|
||||
await game.phaseInterceptor.to(TurnEndPhase);
|
||||
@ -78,9 +76,7 @@ describe("Moves - Transform", () => {
|
||||
it("should copy in-battle overridden stats", async () => {
|
||||
game.override.enemyMoveset([ Moves.POWER_SPLIT ]);
|
||||
|
||||
await game.startBattle([
|
||||
Species.DITTO
|
||||
]);
|
||||
await game.classicMode.startBattle([ Species.DITTO ]);
|
||||
|
||||
const player = game.scene.getPlayerPokemon()!;
|
||||
const enemy = game.scene.getEnemyPokemon()!;
|
||||
|
Loading…
Reference in New Issue
Block a user