pokerogue/src/data
Leo Kim c112abbcd2
[Challenge] Inverse battle challenge (#3525)
* add inverse battle challenge. refactoring type.ts for inverse battle challenge

* update type integer -> number

* add inverse battle condition to thunder wave, conversion 2.

* add inverse_battle test code, add checking gameMode in runToSummon not to overwrite gameMode to CLASSIC always

* update startBattle with isClassicMode default = true

* add inverse achievement

* fix achv validation condition

* remove unnecessary new line

* update defaultWidth 160 -> 200

* update locales

* fix korean translation

* fix korean translation2

* Update src/locales/de/achv.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/challenges.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/challenges.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* resize challenge description 96 -> 84

* update challenge select UI size.

* revert font size to 84. update de translation

* Update src/locales/fr/challenges.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/achv.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/es/challenges.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/fr/challenges.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/achv.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/es/achv.ts

Co-authored-by: Asdar <asdargmng@gmail.com>

* Update src/locales/fr/achv.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* shrink de font size on achivement

* set middle align to achv title

* Update src/locales/zh_CN/achv.ts

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/zh_TW/achv.ts

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/zh_CN/challenges.ts

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/zh_TW/challenges.ts

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* fix zh_TW ahiv.ts

* fix import code on inverse battle test for updated phase

* Update src/data/type.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* update requested changes

* Update src/locales/pt_BR/achv.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/achv.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/pt_BR/challenges.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* [draft] update inverse battle apply function

* change the way how to use applyChallenge for inverse type

* resolve confilct

* fix test codes

* remove unnecessary multiplier variable and break codes

* update getTypeDamageMultiplier argument type from `number` to `Type`

* Fix inverse types tests (#1)

* Fix Inverse Battle tests

* Add timeout parameter to tests

* update requested changes

* update requested changes

* update requested changes2

* update comments

* Update src/test/utils/helpers/challengeModeHelper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/test/utils/helpers/challengeModeHelper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* fix mis pasted code

* revert loadChallenge code for  FreshStartChallenge

* code refactoring

* restore challenge.json lost translations

* revert UI changes

* revert unreverted newlines

* Run History inclusion

* requested changes from torranx

* update WaterSuperEffectTypeMultiplierAttr for inverse battle matchup.

* fix test code. adding flying press test code

* update requested change from xavion3

* updated requested change from xavion 2

* update requested changes from xavion 3

* remove exception code which is not valid

* attach partial mark to Freeze dry. requested by xavion

* add missing game over phase code when we delete old phases.ts

* fix test codes

* merge conflict

* fix achv condition

* updated achv block condition. we don't want to change desc now

* resolve conflict

* Eternatus Moveset Tinkering

* Cleaning it up

---------

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: frutescens <info@laptop>
2024-08-29 19:59:33 +01:00
..
ability.ts [Ability][Move] Rewrite Type Resolution and Effectiveness Calculation Functions (#3704) 2024-08-25 19:11:01 -07:00
arena-tag.ts [Bug] Fix some damage formulas processed with ceil instead of floor (#3557) 2024-08-21 22:39:11 -07:00
battle-anims.ts [Refactor][QoL] Game Audio + New Settings (#3527) 2024-08-25 17:40:14 +01:00
battle-stat.ts [QoL] IV scanner update to hide the prompt and let you see the stats mid battle on the stats screen (#3285) 2024-08-08 01:04:12 -04:00
battler-tags.ts [Bug] Fix some damage formulas processed with ceil instead of floor (#3557) 2024-08-21 22:39:11 -07:00
berry.ts [Bug] Fix some damage formulas processed with ceil instead of floor (#3557) 2024-08-21 22:39:11 -07:00
biomes.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
challenge.ts [Challenge] Inverse battle challenge (#3525) 2024-08-29 19:59:33 +01:00
daily-run.ts [Balance] Make sure trainers are using fully evolved Pokémon by gym 3 (#3499) 2024-08-26 23:05:16 +02:00
dialogue.ts [Feature] Implement Additional Evil Teams (#3290) 2024-08-27 19:45:58 +02:00
egg-moves.ts [Balance] Balance Hotfixes for August 17 Update (#3594) 2024-08-17 20:48:16 +01:00
egg.ts [Balance] Egg and Starter Adjustments (increase HA chance, decrease candy costs) (#3419) 2024-08-12 16:27:33 -04:00
exp.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
gender.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
move.ts [Challenge] Inverse battle challenge (#3525) 2024-08-29 19:59:33 +01:00
nature.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
pokeball.ts [Refactor][QoL] Game Audio + New Settings (#3527) 2024-08-25 17:40:14 +01:00
pokemon-evolutions.ts Clearly define the pichu evolutions (this does not change the behaviour just makes it clea in the code!) (#3781) 2024-08-26 22:20:55 +02:00
pokemon-forms.ts [Ability] Implement Forecast (#3534) 2024-08-25 17:23:09 +08:00
pokemon-level-moves.ts [Balance] Give Partner Eevee and G-Max Eevee access to their signatures / Fix G-Max Pikachu Learnset (#2474) 2024-08-25 15:26:19 -07:00
pokemon-species.ts [Bug] Show variant icons when forms share masterlist entry (#3767) 2024-08-27 13:25:36 -07:00
pokemon-stat.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
splash-messages.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
status-effect.ts [Bug] Fix DNA splicers broken from the strictnull check (#3454) 2024-08-09 09:33:31 -04:00
temp-battle-stat.ts [Localization] Localized the statname in the X Item description (#2264) 2024-06-15 21:54:53 -04:00
terrain.ts [Enhancement] Add support for simulated calls to Abilities (#3529) 2024-08-21 18:29:21 -07:00
tms.ts [Balance] More TM fixes including Acid Spray, Expanding Force 2024-08-25 01:46:45 -07:00
trainer-config.ts [Feature] Implement Additional Evil Teams (#3290) 2024-08-27 19:45:58 +02:00
trainer-names.ts [Misc] Update eslint.config.js for space after commas (#3649) 2024-08-23 16:36:10 +08:00
type.ts [Challenge] Inverse battle challenge (#3525) 2024-08-29 19:59:33 +01:00
variant.ts [QOL] UI Improvement - Shiny Icon (#2372) 2024-06-25 13:48:48 -04:00
weather.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00