pokerogue/src/data
Scooom ee6115f49d
[Challenge] Flip Stats Challenge (#5087)
* Implement Flip Stat Challange

* Add Achivement

* Update challenge code to block other challenges.

* Add Achievment Image

* Add FLIP_STAT to enum ChallengeType

* Fix comment for FlipStatChallenge

* Add applyFlipStat override to Challenge Class, and add override inside of FlipStatsChallenge

* Add ChallengeType.FLIP_STAT case to export function applyChallenges (Master Switch Function)

* Properly block other challange achviements

* Change the way achivements are blocked by challenge modes to a more flexible method

* Adjust the image for Flip Stat, and add an additional achivement for completing both Flip and Inverse

* Fix FLIP_INVERSE achivement to check ALL challanges are met, not SOME

* Remove outdated image

* Fix FlipStat applyChallenges inside calculateBaseStats

* Update locales

---------

Co-authored-by: Scooom <na@na.na>
Co-authored-by: Scooom <jerry@hosterslice.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-01-15 01:55:14 -08:00
..
balance [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
mystery-encounters [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
ability.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
arena-tag.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
battle-anims.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
battler-tags.ts [Bug][Move] Refactor moves that call a random move (#3380) 2025-01-14 15:26:35 -08:00
berry.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
challenge.ts [Challenge] Flip Stats Challenge (#5087) 2025-01-15 01:55:14 -08:00
custom-pokemon-data.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
daily-run.ts [Balance][Bug] Fix off by one error in Generate random biome and Daily Mode now has its own function (#5121) 2025-01-14 15:45:11 -07:00
dialogue.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
egg-hatch-data.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
egg.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
exp.ts Add eslint rule to enforce indenting of case statements (#4692) 2024-10-20 02:44:36 +01:00
gender.ts Add eslint rule to enforce indenting of case statements (#4692) 2024-10-20 02:44:36 +01:00
move.ts [Bug] Fix Poltergeist message displaying before move use (#5040) 2025-01-15 00:53:16 -08:00
nature.ts [Refactor] Remove unnecessary re-exports (#4818) 2024-11-08 17:44:34 -05:00
pokeball.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
pokemon-forms.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
pokemon-species.ts [Bug] Fix #5034 removed unnecessary caught data block for certain forms (#5119) 2025-01-15 02:12:50 -07:00
splash-messages.ts Revert "[UI/UX] Refactor and enable seasonal splash messages (#5009)" (#5014) 2024-12-19 16:04:12 -08:00
status-effect.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
terrain.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
trainer-config.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
trainer-names.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
type.ts [Refactor] Remove unnecessary re-exports (#4818) 2024-11-08 17:44:34 -05:00
variant.ts Add eslint rule to enforce indenting of case statements (#4692) 2024-10-20 02:44:36 +01:00
weather.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00