pokerogue/src
Sirz Benjie 110fd2f0a1
[Refactor][Move] Refactor move effect phase (#5678)
* Add enum for hit check result

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Refactor parameter list for pokemon#getBaseDamage and pokemon#getAttackDamage

* Rewrite move phase

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Update tests to reflect move effect phase changes

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Fix pluck / bug bite

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Fix reviver seed ohko, remove leftover dead code

Co-authored-by: innerthunder <brandonerickson98@gmail.com>

* Cleanup jsdoc comments

* Remove hitsSubstitute check from postDefend abilities

* Fix improper i18nkey in moveEffectPhase#applyToTargets

* Cleanup comments

* Fix type issue with substitute test

* Move MYSTERY_ENCOUNTER_WAVES to constants.ts

* Update linkcode in damageparams to use proper tsdoc syntax

---------

Co-authored-by: innerthunder <brandonerickson98@gmail.com>
2025-04-23 00:10:27 +00:00
..
@types [Refactor] Refactor ability file part 1 (#5589) 2025-04-15 14:08:35 +00:00
configs/inputs [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
data [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
enums [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
events [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
field [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
global-vars [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
interfaces Revert "[Refactor] Move many interfaces and enums to their own file" (#5661) 2025-04-14 12:28:36 -04:00
modifier [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
phases [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
pipelines [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
plugins [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
sprites [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
system [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
typings/phaser centralize module typing overrides (#1786) 2024-08-24 12:46:16 -07:00
ui [Bug] Fix Login Screen Buttons can be Pressed While Animating (#5170) 2025-04-19 14:00:12 -07:00
utils [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
account.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
battle-scene.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
battle.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
constants.ts [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
debug.js [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
game-mode.ts [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
global-event-manager.ts [Misc] AFD Event (#5596) 2025-03-31 15:11:01 -07:00
global-scene.ts [Refactor] Create global scene variable (#4766) 2025-01-12 15:33:05 -08:00
inputs-controller.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
loading-scene.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
main.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
messages.ts [Ability] Implement Illusion (#3273) 2025-04-12 21:22:04 -04:00
overrides.ts [Dev] Fix imports in overrides.ts and illusion.test.ts (#5686) 2025-04-20 13:51:06 -05:00
phase.ts [Refactor] Align ability display with mainline (#5267) 2025-03-16 02:51:02 +00:00
scene-base.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
starter-colors.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
starting-wave.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
timed-event-manager.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
touch-controls.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
tutorial.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
ui-inputs.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
vite.env.d.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00