pokerogue/src/locales/zh_CN
innerthunder 70295280da
[Move] Implement Substitute (#2559)
* Implement Substitute

Squashed commit from working branch

* Fix integration test imports

* Use Override Helper utils + Fix Baton Pass test

* Update src/test/moves/substitute.test.ts

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>

* Fix test imports + nits

* Document RemoveAllSubstitutesAttr

* Fix some strict-null issues

* more strict-null fixes

* Fix baton pass test

* Reorganized Substitute translation keys

* Added checks for substitute in contact logic

* Clean up Unseen Fist contact logic

* Remove misleading comment in Download attr

* RIP phases.ts

* Fix imports post-phase migration

* Rewrite `move.canIgnoreSubstitute` to `move.hitsSubstitute`

* Also fixed interactions with Shell Trap and Beak Blast

* Removed some leftover `canIgnoreSubstitute`s

* fix issues after beta merge

* Status move effectiveness now accounts for substitute

* More edge case tests (Counter test failing)

* Fix Counter + Trap edge cases + add Fail messagesd

* Fix leftover nit

* Resolve leftover test issues

* Fix Sub offset carrying over to Trainer fights

* Hide substitute sprite during catch attempts

* Make substitutes baton-passable again

* Remove placeholder locale keys and SPLASH_ONLY

* Fix imports and other nits

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

* ESLint

* Fix imports

* Fix incorrect `resetSprite` timing

* Fix substitute disappearing on hit (maybe?)

* More animation fixes (mostly for Roar)

---------

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-13 12:46:22 -04:00
..
ability-trigger.json [Localization] New translations batch locales (Move-disabling effects, abilities triggers, error messages and some misc ajustements) (#4068) 2024-09-08 13:57:17 +02:00
ability.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
achv.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
arena-flyout.json [Localization] Restoring "Safeguard" entries in arena-flyout.json of all locales where it existed (#4026) 2024-09-05 12:39:10 +00:00
arena-tag.json [Move] Implement Safeguard (#3447) 2024-09-02 00:26:20 -04:00
battle-info.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
battle-message-ui-handler.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
battle-scene.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
battle.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
battler-tags.json [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
berry.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
bgm-name.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
biome.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
challenges.json [Challenge] Inverse battle challenge (#3525) 2024-08-29 19:59:33 +01:00
command-ui-handler.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
common.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
config.ts [Localization] Use gender context for dialogues (all 3 files) (#3879) 2024-08-29 10:17:40 -07:00
dialogue-double-battle.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
dialogue-final-boss.json [Localization] Use gender context for dialogues (all 3 files) (#3879) 2024-08-29 10:17:40 -07:00
dialogue-misc.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
dialogue.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
egg.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
fight-ui-handler.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
filter-bar.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
game-mode.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
game-stats-ui-handler.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
growth.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
menu-ui-handler.json [Enhancement][UI] Merging Achievements and Vouchers into a single Page (#3424) 2024-08-25 00:36:18 +01:00
menu.json [Localization] New translations batch locales (Move-disabling effects, abilities triggers, error messages and some misc ajustements) (#4068) 2024-09-08 13:57:17 +02:00
modifier-select-ui-handler.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
modifier-type.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
modifier.json [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
move-trigger.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
move.json [Balance] Revert Zippy Zap back to its LGPE Implementation (#3495) 2024-08-25 11:35:58 -07:00
nature.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
party-ui-handler.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
pokeball.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
pokemon-form-battle.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
pokemon-form.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
pokemon-info-container.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
pokemon-info.json [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
pokemon-summary.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
pokemon.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
run-history.json adapt gender context logic to run-history (#3881) 2024-08-29 09:25:45 -07:00
save-slot-select-ui-handler.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
settings.json [P1 Bug][UI/UX] Address shop cursor target feedbacks (#4009) 2024-09-04 01:07:56 +00:00
splash-messages.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
starter-select-ui-handler.json [Localization] Localization batch - [Not meant to be merged until last minute] (#4127) 2024-09-11 13:46:26 -07:00
status-effect.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
terrain.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
trainer-classes.json [Feature] Implement Additional Evil Teams (#3290) 2024-08-27 19:45:58 +02:00
trainer-names.json [Feature] Implement Additional Evil Teams (#3290) 2024-08-27 19:45:58 +02:00
trainer-titles.json [Feature] Implement Additional Evil Teams (#3290) 2024-08-27 19:45:58 +02:00
tutorial.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
voucher.json [Localization] Migrate translation files to json (#3709) 2024-08-23 20:52:09 +01:00
weather.json [Localization] "Fake" translations cleanup (#3719) 2024-08-23 16:21:58 -07:00