André Bastos Dias
139e57e56a
Add test for Poison Puppeteer and Lum Berry interaction ( #11375 )
Node.js CI / build (18.x) (push) Has been cancelled
2025-08-27 12:22:41 -06:00
dot-Comfey
b27ddb4ae2
Add BDSP HOME relearner and fix BDSP event legality ( #11374 )
...
* Allow BDSP moves to be learned via HOME relearner
* Update team-validator.ts
Commented out my changes to see if this was causing a test to fail; turns out my code isn't at fault.
* Update team-validator.ts
* Don't get learnset for Pokemon that don't exist in BDSP
Without the isNonstandard check, the learnset will be taken from the base learnsets.ts file, which could result in detecting moves that are actually not from BDSP.
* Fix BDSP legality
* Update team-validator.ts
* Fix test and learnsets
* Update data.js
* Prevent illegal transfers to/from BDSP
Nincada from outside BDSP cannot be sent to BDSP, Nincada from BDSP cannot be sent to other Switch games, and Spinda cannot be sent from or to BDSP. Currently this has no effect in regular Gen 9, but it technically does in Gen 9 Natdex (I have no idea if anything changes), and it may affect future generations.
2025-08-27 12:15:59 -06:00
dot-Comfey
60a4698695
Allow past gen moves to be learned via HOME relearner ( #11362 )
2025-08-13 14:35:48 -06:00
André Bastos Dias
643d650c03
Remove console.log in test ( #11366 )
2025-08-13 14:35:32 -06:00
André Bastos Dias
73bf84e9b4
Fix OHKO moves in Gen 3 ( #11355 )
...
* Fix OHKO moves in Gen 3
* Fix lint
2025-08-11 14:16:09 -06:00
André Bastos Dias
0d9a9f3ef8
Fix Recycle in Gens 3-4 ( #11348 )
...
* Fix Recycle in Gens 3-4
* Revert refactor
* Add Recycle as a sourceEffect
2025-08-11 14:14:15 -06:00
André Bastos Dias
5eee238838
Fix Transform and Mimic PP in Gen 1 ( #11323 )
Node.js CI / build (18.x) (push) Waiting to run
2025-08-03 18:16:20 -07:00
André Bastos Dias
f24d648c8a
Fix accuracy of Gen 1 trapping moves ( #11305 )
...
* Fix accuracy of Gen 1 trapping moves
* Fix tests
* Update data/mods/gen1/scripts.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update data/mods/gen1stadium/scripts.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update data/mods/gen3/scripts.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-29 17:47:49 -06:00
André Bastos Dias
e27ae66ec6
Fix Burn Up thawing user when user does not have Fire type ( #11304 )
2025-07-28 18:56:51 -04:00
André Bastos Dias
05de0574b7
Add test for Gen 3 berries ( #11141 )
Node.js CI / build (18.x) (push) Waiting to run
2025-07-23 03:29:04 -07:00
André Bastos Dias
fd21559ba8
Refactor Gen 1 partial trapping ( #11189 )
2025-07-22 02:12:20 -07:00
André Bastos Dias
f74586f765
Implement Imprison disabling logic using Test Fight ( #11208 )
2025-07-22 02:09:45 -07:00
André Bastos Dias
53fe99a6ff
Fix interaction between Max Weather Ball and -ate Abilities ( #11138 )
...
Node.js CI / build (18.x) (push) Waiting to run
Publish to npm / test (push) Has been cancelled
Publish to npm / get-version (push) Has been cancelled
Publish to npm / npm-publish (push) Has been cancelled
* Fix interaction between Max Weather Ball and -ate Abilities
* Apply to the other moves
* Revert Normalize
* Revert "Revert Normalize"
This reverts commit e6f670daa8 .
2025-07-15 11:36:07 -06:00
André Bastos Dias
3b7b1d2864
Don't update the timer when an updated request is sent ( #11251 )
...
* Don't add time if there is a request update
* Ups
* Change prevRequest to updatedRequest
* Fix tests
* Refactor
* Fix tests
2025-07-13 15:38:58 -06:00
demir
2857a7b5ee
Add test for 35 Pokes banlist ( #11246 )
...
* Add test for 35 Pokes banlist
* Return if no 35 Pokes or no unbanlist
* Move Sneasel-Hisui to ND RU
* Update data/formats-data.ts
* Changed logic to use isBannedSpecies instead of legalTeam
* Simplify to comparing the accepted length
* Bring back `allowed`, use otherFormes
* Moved .length
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-11 01:30:15 -06:00
André Bastos Dias
6a44ac42b9
Fix Klutz's interaction with Fling ( #11203 )
2025-07-01 10:13:16 -04:00
André Bastos Dias
b598355b66
Gen 3: Fix Magnet Pull not trapping allies ( #11207 )
Node.js CI / build (18.x) (push) Waiting to run
2025-06-24 23:51:48 -04:00
zianwangs
d6e98c21fb
Fix typos ( #11200 )
2025-06-19 04:10:12 -07:00
André Bastos Dias
4435fc48b8
Fix Terastallization test ( #11195 )
2025-06-14 10:45:30 -06:00
Kris Johnson
acf0fb8a2e
Fix build
2025-06-13 22:40:34 -06:00
André Bastos Dias
0b6d2aa399
Fix tests for low‑BP Terastallized moves ( #11193 )
...
* Fix tests for Terastallized low‑BP moves
* Fix error messages
2025-06-13 14:46:03 -06:00
Dieter Reinert
fd1c2f1738
Dex: Prevent isName crash on null/undefined ( #11167 )
2025-06-02 16:00:40 -07:00
André Bastos Dias
eb3c1f6a39
Fix Magic Bounce in Free-For-All battles ( #11144 )
...
* Fix Magic Bounce in Free-For-All battles
* Fix test with unmodified speed
* Modify test name
* Fix test name
* Fix test
2025-06-01 02:00:26 -06:00
André Bastos Dias
3e9d498805
Implement genderless Pokemon in Hackmons ( #11161 )
...
* Implement genderless Pokemon in Hackmons
* Fix
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix 2
* Fix RNG test
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-06-01 01:56:12 -06:00
André Bastos Dias
6513f4b18a
Activate Wonder Guard if the target is immune ( #11130 )
...
* Activate Wonder Guard if the target is immune
* Lint
* Correctly check for immunities
* Refactor runImmunity
* Change all move.type to move
For example, this fixes Thousand Arrows vs Air Ballon Terapagos. Tera Shell was not activating.
* Remove unnecessary cast
2025-05-31 01:28:46 -06:00
André Bastos Dias
a2f2f14ada
Fix Echoed Voice's BP raise when there is no target ( #11139 )
...
* Echoed Voice's BP should raise even if there is no target
* Fix test description
2025-05-31 01:24:49 -06:00
skymin3
da9a5c4d8d
Update aliases ( #11120 )
...
---------
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-29 22:44:57 -07:00
André Bastos Dias
233c618f97
Fix Chatter's old gen mechanics ( #11140 )
2025-05-29 21:50:01 -07:00
André Bastos Dias
cf03724b91
Add test for Magician + Throat Spray ( #11145 )
2025-05-29 20:22:40 -07:00
ShivaD173
13578bce64
Add test for an Eject Pack interaction ( #10704 )
2025-05-28 17:22:01 -07:00
André Bastos Dias
859f5f5be8
Fix interaction between Pursuit and Follow Me ( #10991 )
2025-05-28 15:54:10 -04:00
Guangcong Luo
f616e48196
Validate mod capitalization
2025-05-26 16:30:06 -07:00
André Bastos Dias
0f663cd46f
Refactor White Herb activation ( #11133 )
2025-05-25 12:57:58 -07:00
André Bastos Dias
14b3c117b3
Fix Tera Blast's interaction with Unaware ( #10897 )
...
* Fix Tera Blast's interaction with Unaware
* Remove comment
* Update to ESLint 9
* Add Download + Simple test
2025-05-25 10:02:45 -06:00
Guangcong Luo
e07080ce5c
Support fuzzy searching /dt etc ( #11124 )
...
This add's the teambuilder's fuzzy matching to /dt and similar commands.
2025-05-23 00:26:23 -07:00
sunnytangg
34295c1f6b
Gen 4: Fix Haze not removing Focus Energy ( #11114 )
2025-05-20 19:39:41 -07:00
André Bastos Dias
99ff2921e5
Fix Mold Breaker interactions with abilities' Start events ( #10877 )
2025-05-20 19:06:22 -07:00
Guangcong Luo
803be601e6
Improve CompoundWordNames validation
Node.js CI / build (18.x) (push) Waiting to run
2025-05-19 11:16:50 -07:00
Guangcong Luo
a87a05fc7f
Update CompoundWordNames for gen 7-9
Node.js CI / build (18.x) (push) Waiting to run
2025-05-18 17:50:46 -07:00
Guangcong Luo
f54a9ed5e1
Make sure data files never import
Node.js CI / build (18.x) (push) Waiting to run
2025-05-18 15:19:34 -07:00
Guangcong Luo
99c69509ad
Port CompoundWordNames into data/aliases ( #11121 )
...
This is what lets you type "ww" or "wind" to find "whirlwind" in the
teambuilder (and PSdex) search.
These were previously in the client build scripts, where I think most
people didn't realize how to find or update them.
2025-05-18 13:39:06 -07:00
Guangcong Luo
7f51282b16
Fix build error
...
Ugh, this is incredibly annoying, I tested before pushing but committed
this into the wrong branch.
2025-05-18 13:18:42 -07:00
Guangcong Luo
ef9e1d23e2
Validate aliases in unit tests
2025-05-18 12:34:28 -07:00
André Bastos Dias
8158284427
Refactor fainted forme regression ( #10878 )
Node.js CI / build (18.x) (push) Waiting to run
2025-05-16 07:40:49 -07:00
André Bastos Dias
3db46c58eb
Implement White Herb and Eject Pack like Mirror Herb ( #10890 )
Node.js CI / build (18.x) (push) Waiting to run
2025-05-15 11:39:46 -07:00
André Bastos Dias
a4fbc8619b
Fix Gen 4 Snatch ( #10905 )
2025-05-14 08:26:15 -07:00
André Bastos Dias
d25aba9aff
Fix: Terastallize Ogerpon and Terapagos with different Tera types ( #10814 )
2025-05-13 14:44:46 -07:00
Andrew Huang
36fb26649a
Fix bug letting Gen-2 OHKO moves skip level check ( #11050 )
Node.js CI / build (18.x) (push) Waiting to run
2025-04-23 23:10:48 -07:00
André Bastos Dias
6b3d0eefbd
Fix Sparkling Aria's interaction with Shield Dust ( #10882 )
Node.js CI / build (18.x) (push) Waiting to run
2025-04-23 16:57:31 -07:00
Sergio Garcia
fc23103de1
Fix random typos ( #11020 )
Node.js CI / build (18.x) (push) Waiting to run
2025-04-13 23:59:36 -07:00