mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-01 13:47:05 +00:00
696ff6eae3
* Initial challenge framework * Add type localisation * Change how challenges are tracked Also fixes the difficulty total text * MVP Renames challenge types, temporarily hides difficulty, and implements challenge saving. * Attempt to fix one legal pokemon in a double battle * Make monotype ignore type changing effects * Make isOfType correctly detect normal types * Try to fix double battles again * Make challenge function more like classic * Add helper function for fainted or not allowed * Add framework for fresh start challenge and improve comments * Try to fix evolution issues * Make form changing items only usable from rewards screen * Update localisation * Additional localisation change * Add achievements for completing challenges * Fix initialisation bug with challenge achievements * Add support for gamemode specific fixed battles Also make monogen challenges face the e4 of their generation * Add better support for mobile in challenges * Localise illegal evolution/form change message * Update achievement names * Make alternate forms count for monogen * Update monotype achievement icons * Add more comments * Improve comments * Fix mid battle form changes * Reorder mode list * Remove currently unused localisation entry * Add type overrides for monotype challenges Meloetta always counts for psychic and castform always counts for normal * Change how form changes are handled Now attempts a switch at the start of each turn instead of immediately * Add start button to challenge select screen * Make starter select back out to challenge screen if using challenges * Fix daily runs * Update tests to new game mode logic
82 lines
2.6 KiB
TypeScript
82 lines
2.6 KiB
TypeScript
import { ability } from "./ability";
|
|
import { abilityTriggers } from "./ability-trigger";
|
|
import { achv } from "./achv";
|
|
import { battle } from "./battle";
|
|
import { battleMessageUiHandler } from "./battle-message-ui-handler";
|
|
import { berry } from "./berry";
|
|
import { biome } from "./biome";
|
|
import { challenges } from "./challenges";
|
|
import { commandUiHandler } from "./command-ui-handler";
|
|
import {
|
|
PGFbattleSpecDialogue,
|
|
PGFdialogue,
|
|
PGFdoubleBattleDialogue,
|
|
PGFmiscDialogue,
|
|
PGMbattleSpecDialogue,
|
|
PGMdialogue,
|
|
PGMdoubleBattleDialogue,
|
|
PGMmiscDialogue
|
|
} from "./dialogue";
|
|
import { egg } from "./egg";
|
|
import { fightUiHandler } from "./fight-ui-handler";
|
|
import { gameStatsUiHandler } from "./game-stats-ui-handler";
|
|
import { growth } from "./growth";
|
|
import { menu } from "./menu";
|
|
import { menuUiHandler } from "./menu-ui-handler";
|
|
import { modifierType } from "./modifier-type";
|
|
import { move } from "./move";
|
|
import { nature } from "./nature";
|
|
import { pokeball } from "./pokeball";
|
|
import { pokemon } from "./pokemon";
|
|
import { pokemonInfo } from "./pokemon-info";
|
|
import { pokemonInfoContainer } from "./pokemon-info-container";
|
|
import { splashMessages } from "./splash-messages";
|
|
import { starterSelectUiHandler } from "./starter-select-ui-handler";
|
|
import { titles, trainerClasses, trainerNames } from "./trainers";
|
|
import { tutorial } from "./tutorial";
|
|
import { voucher } from "./voucher";
|
|
import { weather } from "./weather";
|
|
import { partyUiHandler } from "./party-ui-handler";
|
|
|
|
export const itConfig = {
|
|
ability: ability,
|
|
abilityTriggers: abilityTriggers,
|
|
achv: achv,
|
|
battle: battle,
|
|
battleMessageUiHandler: battleMessageUiHandler,
|
|
berry: berry,
|
|
biome: biome,
|
|
challenges: challenges,
|
|
commandUiHandler: commandUiHandler,
|
|
PGMdialogue: PGMdialogue,
|
|
PGFdialogue: PGFdialogue,
|
|
PGMbattleSpecDialogue: PGMbattleSpecDialogue,
|
|
PGFbattleSpecDialogue: PGFbattleSpecDialogue,
|
|
PGMmiscDialogue: PGMmiscDialogue,
|
|
PGFmiscDialogue: PGFmiscDialogue,
|
|
PGMdoubleBattleDialogue: PGMdoubleBattleDialogue,
|
|
PGFdoubleBattleDialogue: PGFdoubleBattleDialogue,
|
|
egg: egg,
|
|
fightUiHandler: fightUiHandler,
|
|
gameStatsUiHandler: gameStatsUiHandler,
|
|
growth: growth,
|
|
menu: menu,
|
|
menuUiHandler: menuUiHandler,
|
|
modifierType: modifierType,
|
|
move: move,
|
|
nature: nature,
|
|
pokeball: pokeball,
|
|
pokemon: pokemon,
|
|
pokemonInfo: pokemonInfo,
|
|
pokemonInfoContainer: pokemonInfoContainer,
|
|
splashMessages: splashMessages,
|
|
starterSelectUiHandler: starterSelectUiHandler,
|
|
titles: titles,
|
|
trainerClasses: trainerClasses,
|
|
trainerNames: trainerNames,
|
|
tutorial: tutorial,
|
|
voucher: voucher,
|
|
weather: weather,
|
|
partyUiHandler: partyUiHandler
|
|
};
|