Commit Graph

610 Commits

Author SHA1 Message Date
Karthik
59c846c86b
Fix Rattled boosting Speed when Intimidate fails (#10211) 2024-03-16 21:14:19 -06:00
Andrew Werner
c2a033ba1e Fix weather suppression abilities suppressing weather while ending
Fixes a few issues with protosynthesis as well.
2024-03-15 22:33:32 -04:00
Andrew Werner
4e1b3de4b1 Protosynthesis should ignore weather supressing abilities 2024-03-15 15:19:38 -04:00
Leonard Craft III
5d8be885c6 Fix paralysis Speed modifier timing 2024-03-14 21:40:07 -05:00
Karthik
44541b30d0
Fix Tera Stellar interaction with multihit moves (#10185) 2024-02-24 00:14:29 -06:00
Leonard Craft III
2bd62dba8d
Fix some more Terapagos mechanics (#10184)
* Fix some more Terapagos mechanics

* Update data/moves.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-02-23 22:55:06 -07:00
Leonard Craft III
9f743177e2
Separate Ally Switch from standard protection counters (#10171) 2024-02-19 22:25:55 -06:00
pyuk-bot
20dead22c9
Fix more Dragon Darts interactions (#10161) 2024-02-12 22:53:36 -06:00
Leonard Craft III
e40cec7700 Add test for Rage Fist and Dragon Darts 2024-02-05 21:30:50 -06:00
Kris Johnson
10e6529eeb Revert "Redo #8134"
This reverts commit 1e8c0c183f.
2024-01-31 09:48:15 -07:00
Karthik
8344a1da71
Fix Commander invulnerability check (#10137) 2024-01-30 14:33:12 -06:00
Leonard Craft III
553e577205
Fix interaction of Court Change, Sticky Web, and Defiant or Competitive (#10131) 2024-01-30 14:32:57 -06:00
Guangcong Luo
1e8c0c183f Redo #8134
We usually do data changes in scripts rather than in Dex, so the
changes in #8134 were a nonstandard approach. I think I just
was not thinking when I merged that PR.
2024-01-29 12:35:24 +09:00
Leonard Craft III
834df75545
Improve VGC 2009 support (#10120) 2024-01-19 16:25:02 -07:00
Kris Johnson
10b041561d Fix build 2024-01-11 10:17:44 -07:00
Leonard Craft III
4e15b260e9 Fix interaction of Me First and Assault Vest 2024-01-10 16:27:50 -06:00
Leonard Craft III
8a5bbbd255
Implement Ability flags (#10048)
* Add AbilityFlags interface

* Add flags to abilities data (Karthik's script)

* Convert isBreakable to its new flag

* Convert most of isPermanent to its new flag

* Convert Trace to its new flag

* Convert Skill Swap to its new flag

* Convert Wandering Spirit to the failskillswap flag

* Update miscelleneous descriptions that depend on cantsuppress

* Convert Entrainment to its flag

* Convert Receiver/PoA to its flag

* Convert Role Play to its flag

* Implement Doodle failure conditions

* Various cleanup

* Breakable fixes

* How did I manage to do this

* Allow LightningRod to be breakable in Gen 3

* Implement notransform flag

* Tera Shell oopsie

* Fix more things after the rebase

* And fix Teraform Zero

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/mods/partnersincrime/abilities.ts

* Update data/abilities.ts

* Update data/mods/sharedpower/abilities.ts

* Update abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-01-02 23:55:17 -07:00
singiamtel
acd02f8efd
Fix Prankster info leak (#10065)
* Fix prankster hint so it doesn't leak info

* Fix condition

* Add unit test to verify there's no hint
2024-01-02 22:49:13 -07:00
Leonard Craft III
3cc0a87282
Fix interaction of Tera Stellar and Transform (#10066)
* Fix interaction of Tera Stellar and Transform

* Update test/sim/moves/transform.js

Co-authored-by: pyuk-bot <msaimrkon@gmail.com>

---------

Co-authored-by: pyuk-bot <msaimrkon@gmail.com>
2024-01-02 15:17:50 -07:00
dot-Comfey
6bd57f6fde
Fix Unown forme validation in Gen 2 (#10040)
* Fix Unown forme validation in Gen 2

https://www.smogon.com/forums/threads/bug-reports-v4-read-original-post-before-posting.3663703/post-9907946

* Update sim/team-validator.ts

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>

* Update sim/team-validator.ts

Co-authored-by: urkerab <urkerab@users.noreply.github.com>

* Update sim/team-validator.ts

Co-authored-by: urkerab <urkerab@users.noreply.github.com>

---------

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: urkerab <urkerab@users.noreply.github.com>
2023-12-29 12:23:54 -07:00
TomOfTomKat
b608103806
Lock Tera Shell effect to Terapagos (#10012)
* Lock Tera Shell effect to Terapagos Stellar

https://www.smogon.com/forums/threads/scarlet-violet-battle-mechanics-research.3709545/page-48#post-9898594

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/abilities.ts

* Resolve null target error

* Apply suggestions from code review

* Update terashell.js

* Update test/sim/abilities/terashell.js

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

* Fix typo

* Without the debug print

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2023-12-27 23:48:41 -07:00
Vinesh Kannan
3d067139ac
Add unit tests for Tera Blast (#10029) 2023-12-27 10:14:33 -06:00
Kris Johnson
0bec14e1f6 Fix build 2023-12-15 21:57:30 -07:00
Kris Johnson
a0f10ffa51
Add DLC2 data (#9963)
* DLC2 returning Pokemon

* Returning legendaries too

* Partially add Raging Bolt and Iron Crown (#10)

* Add remaining Pre-DLC2 event data

* Fix tests

* Last event before DLC + split learnset files

* Learnsets + secret returning pokemon

* Some DLC 2 stuff (#12)

* Add New Mons

* Add Electro Shot

* Give Dipplin Dex Evo

* Update data/moves.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* More tweaks

* formats

* Revealed moves (#11)

* Add Hard Press

* Add Psychic Noise

* Add Upper Hand

* Apply suggestions from code review

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* more things

* Fix typo

* a lot of other things

* MOVES! kinda

* b

* fickle beam confirmed chance

* Evo Item Undexit + Metal Alloy + Move Fixes (#19)

* Update move data

* Update Item Data

* Apply suggestions from code review

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add message for Fickle Beam BP double (#18)

* Add some tests and implement Tera Shell (#15)

* add some tests and draft of tera shell

* add text

* .

* add improvements from feedback, change behavior of terashell

* use AfterMove instead of AfterMoveSecondary

* add confirmation to multi-hit interaction

* improve based on feedback and general cleanup

* Apply suggestions from code review

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Tera Shift and Teraform Zero (#16)

* Add Tera Shift and Teraform Zero

* Add short descriptions

* fixes

* More move changes

* Update unSketchable moves

List from Anubis

* more move things

* oops

* Implement new Neutralizing Gas/Paradox ability interaction (#17)

* Implement new Neutralizing Gas/Paradox ability interaction

* add test

* revert in dlc

* ok

* Update pastgens for Sketch (#20)

* Implement Stellar type (#13)

* Implement Stellar type

* stuff from research

* pain

* add tests for Dragon Cheer (#22)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update move flags (#23)

* Fix flags for new moves

* update old moves

* remove sparkling aria changes

* update metronome description

* update other move descriptions

* more formatz stuff

* Add Poison Puppeteer (#24)

* Add Poison Puppeteer

* i'm bad

* still bad

* Fix build

* oops

* Update data/moves.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Update data/moves.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Update data/items.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Update data/moves.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Fix Terapagos dex entries (#25)

* Update data/pokedex.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Update data/pokedex.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* Update data/pokedex.ts

Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

* FIX BUILD

* Fix Regulation E formats (#26)

* Fix Regulation E formats

* add move bans

* nevermind

* Add Regulation F formats (#27)

* Fix interaction between Adaptability and Tera Stellar (#28)

* reg f bo3 ladder

* Update config/formats.ts

Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>

---------

Co-authored-by: Smudge <smudgerox@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: tofa <79044321+im-tofa@users.noreply.github.com>
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2023-12-15 21:35:01 -07:00
Guangcong Luo
eb60769cd3
Refactor learnset checking (#9951)
After seeing fifty different ways we use `getLearnset`, most of which
are just "haphazardly assemble a movepool", I decided to write
`getFullLearnset` and `getMovePool`, which centralizes the
implementations and prevents weird bugs like 9713dc6db5 which
we spent two years trying to figure out.
2023-12-08 22:45:47 -06:00
Leonard Craft III
8cc8228095 Fix interaction of Tar Shot vs Terastallized targets 2023-11-15 22:51:26 -06:00
Leonard Craft III
4a63ad2081 Fix build 2023-11-15 21:11:29 -06:00
Karthik
92e13d06a8
Fix Egg Moves on Ursaluna-Bloodmoon and Greninja-Bond (#9888) 2023-11-15 20:32:42 -06:00
pyuk-bot
a8c4f4dcf6
Fix when Ogerpon's ability should change on Tera (#9863) 2023-11-15 19:57:18 -06:00
pyuk-bot
8e47521d77
Fix Neutralizing Gas ending vs. Embody Aspect (#9903) 2023-11-15 19:54:40 -06:00
pyuk-bot
edbb640783
Neutralizing Gas: Don't restart Shielded abilities (#9862) 2023-11-01 21:32:28 -05:00
pyuk-bot
5624137e43
Make Booster Energy wait for hazards (#9844) 2023-10-17 21:36:45 -05:00
Leonard Craft III
f666f89564 Improve Fusion move combo tests 2023-10-16 23:00:46 -05:00
Kris Johnson
0fae2dfc9d Fix build 2023-10-15 11:09:57 -06:00
Karthik
e406ca3abe
Syrup Bomb fixes (#9836) 2023-10-14 23:37:36 -05:00
Leonard Craft III
ba2a5e31f2 Fix Commander with Neutralizing Gas after Dondozo faints 2023-09-26 19:02:29 -05:00
Leonard Craft III
9bccea624f
Fix Commander's interaction with Ability suppression (#9800) 2023-09-24 22:56:50 -05:00
dot-Comfey
6bcb9147bf
Fix egg move validation for female-only Pokemon (#9796) 2023-09-24 12:16:31 -04:00
dot-Comfey
fd655af323
Fix egg move legality with past gen tutor moves (#9759) 2023-09-17 20:34:56 -05:00
pyuk-bot
980ed5663e
Fix more bugs related to transforming into Ogerpon (#9783) 2023-09-16 17:31:11 -04:00
pyuk-bot
98d026a7d1
Pokemon transformed into Ogerpon cannot Tera (#9774) 2023-09-14 20:39:59 -05:00
Kris Johnson
6bb3879e3a
Add Teal Mask DLC data (#9762)
Co-authored-by: Karthik99999 <bandagondak0217@gmail.com>
Co-authored-by: smudgerox <smudgerox@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
2023-09-13 21:08:01 -04:00
Leonard Craft III
3933c2198d
Fix Poison Touch's interaction with Pledge Rainbow (#9756) 2023-09-10 20:57:48 -05:00
dot-Comfey
8d14455fdc
Add recursive chainbreeding (#9751) 2023-09-10 18:54:10 -05:00
Alexander B
8fcff27fd5
Past gens: Fix old move/new Ability compatibility (#9750) 2023-09-08 18:53:59 -05:00
Leonard Craft III
84bd530423
Fix interaction of Pollen Puff and Heal Block (#9732) 2023-09-06 20:13:05 -05:00
Alexander B
9a97e75ad5
Make Wind Rider and Guard Dog breakable + tests (#9734) 2023-08-27 23:01:52 -05:00
Alexander B
1cb555fba9
Fix Ability Shield interaction with Transform (#9733) 2023-08-27 22:40:26 -05:00
dot-Comfey
cbfca624cf
Fix Pomeg glitch for event eggs (#9716) 2023-08-17 00:25:04 -05:00
Leonard Craft III
8133e4d084 Add tests for behavior of Pollen Puff and Heal Block 2023-08-14 01:23:22 -05:00