Commit Graph

229 Commits

Author SHA1 Message Date
Andrew Werner
c1eeb7ecfe Fix Cloud Nine/Air Lock not re-activiating if the pokemon swaps back in
I plan to write a more comprehensive patch for abilities ending later, but for now this fixes the abilities.
2024-03-18 08:34:34 -04:00
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
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
pyuk-bot
20dead22c9
Fix more Dragon Darts interactions (#10161) 2024-02-12 22:53:36 -06:00
Leonard Craft III
a4cd445952
Fix Tera Shift not updating HP (#10159) 2024-02-10 15:56:07 -07: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
Karthik
06d88748a5
Refactor STAB (again) (#10099) 2024-01-13 23:48:47 -06:00
Kris Johnson
9705b0f723 Poison Puppeteer only works for Pecharunt 2024-01-11 10:20:12 -07: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
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
Kris Johnson
c9000e9025 Fix Teraform Zero 2023-12-27 13:50:21 -07:00
Karthik
2238bf630e
Fix Tera Shell (#9968) 2023-12-15 23:04:26 -07:00
Karthik
d1c77c9480
Show messages for Tera Shift (#9967) 2023-12-15 22:48:00 -07:00
ACakeWearingAHat
cd3eb2cfd6
Random Battles: Indigo Disk update (#9964)
* Random Battles: Indigo Disk update

* linting 1

* Update data/random-teams.ts

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

* dedge komala

* Update data/random-teams.ts

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

* Update data/random-teams.ts

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

* malignant chain makes toxic suck

* throat chop ursaring

* make skarm not weak armor

* prevent moody smeargle

* lint

* cm virizion destruction

* fix registeel

* flip turn enforcement

* doom desire nostab

* alphabet + flamigo

* fix psyfangs enforcement

* lint 3

* magearna changes + lint

* Fix build

---------

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-12-15 22:46:40 -07:00
Kris Johnson
8f8b16306b Fix Tera Shell 2023-12-15 22:44:35 -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
Hisuian Zoroark
f6b6670865
Sharing is Caring: Fix Mechanics and Booster Energy (#9933) 2023-12-02 20:23:44 -07: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
Alexander B
c77aed8877
Add Illusion Level Mod (#9859) 2023-10-31 10:12:02 -06:00
Karthik
ea3004ecab
Fix Syrup Bomb messages with stat drop blocking effects (#9847) 2023-10-20 00:18:33 -05:00
ACakeWearingAHat
64a4e4cef3
Randomized format set updates (#9837) 2023-10-15 12:01:26 -05:00
Karthik
e406ca3abe
Syrup Bomb fixes (#9836) 2023-10-14 23:37:36 -05:00
pyuk-bot
af287e37e6
Make Insomnia and Vital Spirit block Yawn (#9812) 2023-10-07 11:32:13 -04:00
Leonard Craft III
9bccea624f
Fix Commander's interaction with Ability suppression (#9800) 2023-09-24 22:56:50 -05:00
Leonard Craft III
2e21a2740d Update bike legend Ability mechanics 2023-09-22 21:25:40 -05:00
Kris Johnson
5b4050d10f Illuminate acts like Keen Eye 2023-09-21 22:17:40 -06:00
Karthik
4ab657de3c
More Ogerpon fixes (#9784) 2023-09-16 17:27:27 -04:00
Kris Johnson
eae8a52f4e Embody Aspect only works on Ogerpon 2023-09-15 12:21:33 -06:00
Leonard Craft III
31fbc87450
Fix Heatproof's modifier location (#9782) 2023-09-15 13:46:02 -04:00
Kris Johnson
7fac813952 Hunger Switch doesn't trigger when Morpeko is terastallized 2023-09-14 19:00:07 -06:00
Kris Johnson
d2ec4fdf0b Supersweet Syrup only triggers once per battle 2023-09-14 18:57:52 -06:00
Karthik
c714207091
Fix Hospitality (#9768) 2023-09-14 11:18:53 -05:00
Karthik
468fa67f3c
Fix Illusion interaction with Ogerpon (#9765) 2023-09-13 22:16:38 -04: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
Alexander B
9a97e75ad5
Make Wind Rider and Guard Dog breakable + tests (#9734) 2023-08-27 23:01:52 -05:00
Leonard Craft III
dfc38b06ff Fix Commander mechanics with Transform and Multi Battles 2023-08-13 22:35:10 -05:00
Hisuian Zoroark
2ce6563b7a
Improve tracking Intrepid Sword and Dauntless Shield boosts (#9680) 2023-07-31 00:35:15 -05:00
ACakeWearingAHat
b47b40345a
Gen 9 randomized format set updates (#9653)
* Gen 9 Randomized format set updates

* Update data/random-teams.ts

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

* Update random-doubles-sets.json

* Update random-sets.json

* fix dudunsparce three segment

---------

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
2023-07-14 13:56:15 -05:00
Marty-D
09da0f530d
Fix Eject Pack interaction with Magician 2023-07-01 22:56:49 -04:00
Kris Johnson
f6e1cfe19e
Refactor Ash-Greninja (#9606) 2023-06-18 22:51:02 -05:00
Leonard Craft III
30e1c2dfc3 Fix Intrepid Sword/Dauntless Shield at +6
Thanks Zaggyo!
2023-06-15 22:38:27 -05:00
Karthik
47d4aa4cd9
Use correct modifier for Transistor (#9586) 2023-06-04 12:58:48 -06:00
Kris Johnson
bf2bf13a03 Transistor is a 1.3x multiplier 2023-06-03 20:07:52 -06:00
Kris Johnson
b04b3d7eb0
Add Pokemon HOME 3.0.0 changes (#9573)
* Add Pokemon HOME 3.0.0 changes

* oop

* a

* OWOWOWOWOWWO
2023-05-30 09:08:02 -06:00
pyuk-bot
6a04694a20
Make Hadron Engine and Orichalcum Pulse permanent (#9543) 2023-04-28 22:47:48 -05:00
ACakeWearingAHat
650ad5685f
Random Battles updates (#9510) 2023-04-09 11:53:18 -07:00