pokerogue/src
Stophles 314b7dba43
Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing
2024-04-05 20:42:30 -04:00
..
data Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44) 2024-04-05 20:42:30 -04:00
enums Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
field Endure updated 2024-04-05 18:50:10 -04:00
modifier Lower Master Ball weight 2024-04-05 12:34:35 -04:00
pipelines Make trainer switch AI aware of arena traps 2024-03-31 12:00:54 -04:00
plugins Add cache busting 2024-03-31 23:58:03 -04:00
system Level up sound no longer pauses BGM 2024-04-04 17:43:37 -04:00
test Add unit testing support with vitest (#18) 2024-03-30 20:47:47 -04:00
ui Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
account.ts Add ""title"" screen and save data slots 2024-03-14 21:49:49 -04:00
battle-scene.ts Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
battle.ts Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
debug.js Convert included JS files to modules 2024-03-25 16:10:43 -04:00
egg-hatch-phase.ts Fix duplicate transition at the end of batch hatching 2024-04-05 17:53:36 -04:00
evolution-phase.ts Properly implement Last Resort 2024-03-21 23:05:47 -04:00
form-change-phase.ts Minor adjustment for final boss 2024-04-05 14:11:21 -04:00
game-mode.ts Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
loading-scene.ts Add monotype icons 2024-04-04 12:27:41 -04:00
main.ts Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
messages.ts Fix prefixing player Pokemon with 'Foe' during final battle 2024-03-30 01:37:54 -04:00
phase.ts Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
phases.ts Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44) 2024-04-05 20:42:30 -04:00
scene-base.ts Implement variation of loading screen by @rationality6 2024-04-01 19:56:46 -04:00
touch-controls.js Convert included JS files to modules 2024-03-25 16:10:43 -04:00
tutorial.ts Add a much needed additional tutorial by popular demand 2024-04-01 22:50:00 -04:00
utils.test.ts Add unit testing support with vitest (#18) 2024-03-30 20:47:47 -04:00
utils.ts Re-implement fixed moveset generation with fix 2024-04-02 00:48:13 -04:00