pokerogue/src
Mumble 58d40b905a
[Bug] Fixing Encore's interactions with other Move Restriction moves (#4805)
* Converted EncoreTag into a MoveRestrictionBattlerTag

* Wrote test and added documentation

* Added documentation describing EncoreTag as a whole

* Added PRE_MOVE lapse code to handle early tag expiration from PP-less encored move

* Replaced PRE_MOVE with CUSTOM for lapsing Encore in situations where the encored move has 0 PP

* Add encore tests

* fix overrides

* Apply suggestions from code review

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

* Update command-phase.ts

* Addressed failing eslint test

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-08 09:35:33 -08:00
..
@types [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
configs/inputs add new lint rules....again 2024-10-04 13:08:31 +08:00
data [Bug] Fixing Encore's interactions with other Move Restriction moves (#4805) 2024-11-08 09:35:33 -08:00
enums [Ability] Fully implement Synchronize (#4785) 2024-11-06 11:29:24 -05:00
events fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
field [Balance/Bug] Boss segments properly heal (#4819) 2024-11-07 23:09:25 -05:00
interfaces [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
modifier [Move][Ability] Implement Commander and Order Up (#4670) 2024-11-05 12:35:43 -05:00
phases [Bug] Fixing Encore's interactions with other Move Restriction moves (#4805) 2024-11-08 09:35:33 -08:00
pipelines [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
plugins [Dev] Remove logging for api requests outside of dev (#4804) 2024-11-07 15:30:49 -08:00
system [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
test [Bug] Fixing Encore's interactions with other Move Restriction moves (#4805) 2024-11-08 09:35:33 -08:00
typings/phaser centralize module typing overrides (#1786) 2024-08-24 12:46:16 -07:00
ui [Bug] Fixing Encore's interactions with other Move Restriction moves (#4805) 2024-11-08 09:35:33 -08:00
account.ts [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
battle-scene.ts [Misc] Adding Type, Current HP, Max HP, & Status to updateGameInfo() (#4756) 2024-11-06 11:42:39 -05:00
battle.ts [Refactor] Another Audio clean up (#4077) 2024-11-03 22:31:07 -05:00
constants.ts [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
debug.js ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
game-mode.ts Add eslint rule to enforce indenting of `case` statements (#4692) 2024-10-20 02:44:36 +01:00
inputs-controller.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
loading-scene.ts [Refactor] Miscellaneous code cleanup (#4596) 2024-11-03 22:23:51 -05:00
main.ts [Hotfix] Fix manifest getting loaded before the game is initialized (#4739) 2024-10-27 21:32:30 +01:00
messages.ts Add eslint rule to enforce indenting of `case` statements (#4692) 2024-10-20 02:44:36 +01:00
overrides.ts [Refactor] Miscellaneous code cleanup (#4596) 2024-11-03 22:23:51 -05:00
phase.ts [Misc] More complete phase logging (#4651) 2024-10-12 13:06:26 -07:00
scene-base.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
timed-event-manager.ts [Localization] Spanish modification form es to es-ES (#4753) 2024-10-31 21:54:05 +01:00
touch-controls.ts Add eslint rule to enforce indenting of `case` statements (#4692) 2024-10-20 02:44:36 +01:00
tutorial.ts [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
ui-inputs.ts Add eslint rule to enforce indenting of `case` statements (#4692) 2024-10-20 02:44:36 +01:00
utils.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
utils.ts [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
vite.env.d.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00