mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 22:12:16 +02:00
* Refactor evo conditions and descriptions * Fix test * Fix Shedinja * Simplify Gimmighoul evolution * Primeape and Stantler evolve by using their move 10 times * Basculin white stripe evolves by taking 294 recoil damage * Primeape and Stantler use modifiers for tracking * Basculin uses modifier too * Remove evo count from pokemon data * No more evo counter data, Gallade/Froslass * Fix allmoves import * Clamperl * Struggle shouldn't count for Basc recoil * Change to nicer type * Apply Benjie's suggestions Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> * Address formatting * Undo new evolution changes * Remove unused imports * Fix speciesid * Fixed up descriptions a little * Change a key name * Fix Gimmighoul * Apply Biome * Apply Biome unsafe fixes * Review suggestions - Convert `EvoCondKey` enum to `const` object - Use early returns in `SpeciesEvolutionCondition#description` and `SpeciesFormEvolution#description` - Replace `!!x.find` with `x.some` and `y.indexOf() > -1` with `y.includes()` - Implement `coerceArray` - Fix Shelmet evolution condition checking for Shelmet and not Karrablast - Remove unnecessary type casting in `battle-scene.ts` * Remove leftover enforce func loop * Fix circular imports issue - `getPokemonSpecies` moved to `src/utils/pokemon-utils.ts` - `allSpecies` moved to `src/data/data-lists.ts` --------- Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> |
||
---|---|---|
.. | ||
a-trainers-test-encounter.test.ts | ||
absolute-avarice-encounter.test.ts | ||
an-offer-you-cant-refuse-encounter.test.ts | ||
berries-abound-encounter.test.ts | ||
bug-type-superfan-encounter.test.ts | ||
clowning-around-encounter.test.ts | ||
dancing-lessons-encounter.test.ts | ||
delibirdy-encounter.test.ts | ||
department-store-sale-encounter.test.ts | ||
field-trip-encounter.test.ts | ||
fiery-fallout-encounter.test.ts | ||
fight-or-flight-encounter.test.ts | ||
fun-and-games-encounter.test.ts | ||
global-trade-system-encounter.test.ts | ||
lost-at-sea-encounter.test.ts | ||
mysterious-challengers-encounter.test.ts | ||
part-timer-encounter.test.ts | ||
safari-zone.test.ts | ||
teleporting-hijinks-encounter.test.ts | ||
the-expert-breeder-encounter.test.ts | ||
the-pokemon-salesman-encounter.test.ts | ||
the-strong-stuff-encounter.test.ts | ||
the-winstrate-challenge-encounter.test.ts | ||
trash-to-treasure-encounter.test.ts | ||
uncommon-breed-encounter.test.ts | ||
weird-dream-encounter.test.ts |