This commit is contained in:
Bertie690 2025-06-10 21:21:20 -04:00
parent c7b7579f60
commit caf3cc940f
2 changed files with 3 additions and 3 deletions

View File

@ -88,8 +88,8 @@ export interface Starter {
nature: Nature; nature: Nature;
moveset?: StarterMoveset; moveset?: StarterMoveset;
pokerus: boolean; pokerus: boolean;
nickname?: string; nickname?: string | undefined;
teraType?: PokemonType; teraType?: PokemonType | undefined;
} }
interface LanguageSetting { interface LanguageSetting {

View File

@ -28,7 +28,7 @@ describe("Abilities - Forecast", () => {
* @param form The expected form based on the active weather * @param form The expected form based on the active weather
* @param initialForm The initial form pre form change * @param initialForm The initial form pre form change
*/ */
const testWeatherFormChange = async (game: GameManager, weather: WeatherType, form: number, initialForm?: number) => { const testWeatherFormChange = async (game: GameManager, weather: WeatherType, form: number, initialForm: number) => {
game.override.weather(weather).starterForms({ [SpeciesId.CASTFORM]: initialForm }); game.override.weather(weather).starterForms({ [SpeciesId.CASTFORM]: initialForm });
await game.classicMode.startBattle([SpeciesId.CASTFORM]); await game.classicMode.startBattle([SpeciesId.CASTFORM]);