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
..
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-08 02:33:33 +01:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-05 08:44:22 +00:00
2024-09-13 12:46:22 -04:00
2024-09-13 12:46:22 -04:00
2024-09-08 02:45:30 -04:00
2024-09-12 10:33:36 -04:00
2024-09-10 14:23:13 +01:00
2024-09-03 09:14:45 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-04 17:56:57 +00:00
2024-09-07 21:37:37 -07:00
2024-08-25 17:40:14 +01:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-08-25 17:40:14 +01:00
2024-09-07 21:37:37 -07:00
2024-09-06 17:23:19 +00:00
2024-09-07 21:37:37 -07:00
2024-09-11 07:29:18 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-08-19 03:23:52 +01:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-10 10:13:16 -04:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-02 22:12:34 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-13 12:46:22 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-11 07:29:18 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-02 22:12:34 -04:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-07 21:37:37 -07:00
2024-09-10 22:34:50 +02:00