mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
Fix merge issues
This commit is contained in:
parent
da1aa0d985
commit
04bb1c4c09
@ -243,7 +243,7 @@ export const FieryFalloutEncounter: MysteryEncounter = MysteryEncounterBuilder.w
|
||||
queueEncounterMessage(`${namespace}:option.2.target_burned`);
|
||||
|
||||
// Also permanently change the burned Pokemon's ability to Heatproof
|
||||
applyAbilityOverrideToPokemon(chosenPokemon, Abilities.HEATPROOF, false);
|
||||
applyAbilityOverrideToPokemon(chosenPokemon, AbilityId.HEATPROOF, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -246,14 +246,14 @@ describe("Clowning Around - Mystery Encounter", () => {
|
||||
|
||||
const leadPokemon = scene.getPlayerParty()[0];
|
||||
// offer Prankster abiliy for winning the battle
|
||||
const abilityToTrain = Abilities.PRANKSTER;
|
||||
const abilityToTrain = AbilityId.PRANKSTER;
|
||||
|
||||
game.onNextPrompt("PostMysteryEncounterPhase", UiMode.MESSAGE, () => {
|
||||
game.scene.ui.getHandler().processInput(Button.ACTION);
|
||||
});
|
||||
|
||||
// Give fto the first Pokemon the Prankster ability
|
||||
vi.spyOn(leadPokemon, "getAbility").mockReturnValue(allAbilities[Abilities.PRANKSTER]);
|
||||
vi.spyOn(leadPokemon, "getAbility").mockReturnValue(allAbilities[AbilityId.PRANKSTER]);
|
||||
|
||||
// Run to ability train option selection
|
||||
const optionSelectUiHandler = game.scene.ui.handlers[UiMode.OPTION_SELECT] as OptionSelectUiHandler;
|
||||
@ -284,7 +284,6 @@ describe("Clowning Around - Mystery Encounter", () => {
|
||||
|
||||
// Stop next battle before it runs
|
||||
await game.phaseInterceptor.to(NewBattlePhase, false);
|
||||
//game.override.ability(Abilities.PRANKSTER);
|
||||
|
||||
expect(leadPokemon.getAbility().id).toBe(abilityToTrain);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user