pokerogue/src/test
flx-sta 39b6a72517
[Bug] Fix #762: All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted (#4025)
* fix #762 by using slotIndex to add to party

for now the new pokemon was ALWAYS just pushed to the party array. Now it's put into the slot that was also previously selected as the mon to release

* add docs for `Pokemon.addToParty()`

* add simple tests for addToParty

* update `isBetween` docs. Remove `.js` imports
2024-09-09 01:10:47 -04:00
..
abilities fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
achievements [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
arena [P2 Bug] Underwater and underground Pokemond do not take sand/hail damage (#4047) 2024-09-06 14:15:15 -04:00
battle fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
battlerTags [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
eggs [Bug] Fix eggs having exploitable RNG (#3913) 2024-09-02 22:18:18 -04:00
field [Bug] Fix #762: All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted (#4025) 2024-09-09 01:10:47 -04:00
inputs [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
items [Item/Balance] Overhaul Lapsing Modifiers (#4032) 2024-09-06 22:54:54 -04:00
localization [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
moves [Bug] Fix incorrect defensive properties on Terastallized Pokemon (#4070) 2024-09-08 20:48:09 -07:00
phases [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
settingMenu [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
sprites [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
ui starter select defaults to shiny with highest variant again (#4001) 2024-09-04 08:58:39 +00:00
utils fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
account.spec.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
battle-scene.test.ts [Bug] Fix eggs having exploitable RNG (#3913) 2024-09-02 22:18:18 -04:00
boss-pokemon.test.ts [Test] Set boss Pokémon test timeout to 20 seconds instead of 2.5 seconds (#3992) 2024-09-03 00:59:51 -04:00
daily_mode.test.ts [Bug] Fix daily run generated movesets (#3519) 2024-08-13 21:48:56 +01:00
endless_boss.test.ts [Test] Add test for final boss fight phase switch (#3847) 2024-09-01 22:47:22 -04:00
escape-calculations.test.ts [Balance] Changed escape calculation (#3973) 2024-09-05 05:29:39 +00:00
evolution.test.ts [Bug] Let Shedinja relearn egg moves when evolved from a starter (#3915) 2024-09-02 19:10:33 -07:00
final_boss.test.ts [Test] Add test for final boss fight phase switch (#3847) 2024-09-01 22:47:22 -04:00
fontFace.setup.ts tests: add mock for FontFace and it to vitest setup (#1591) 2024-05-30 04:44:36 +01:00
game-mode.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
imports.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
internals.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
misc.test.ts [Test] Tests now default to using "Set" battle style (#3728) 2024-09-01 23:32:31 -04:00
pre.test.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
reload.test.ts [Bug] Fix reloads causing RNG inconsistencies, Moody and Acupressure use seeded RNG now (#3952) 2024-09-03 09:14:45 -04:00
vitest.setup.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00