Add comment justifying usage of runToSummon

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
Dobin Shin 2025-06-06 03:03:09 +09:00 committed by GitHub
parent fa22a7f3eb
commit 41b05f0ce3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ describe("Abilities - Rattled", () => {
});
it("should trigger and boost speed immediately after Intimidate attack drop on initial send out", async () => {
// `runToSummon` used instead of `startBattle` to avoid skipping past initial "post send out" effects
await game.classicMode.runToSummon([SpeciesId.GIMMIGHOUL]);
const playerPokemon = game.scene.getPlayerPokemon();