Commit Graph

8803 Commits

Author SHA1 Message Date
Guangcong Luo
9985da5501 Fix other crash from #8195 2023-12-08 23:37:03 -05:00
Guangcong Luo
f6ed9e9ca5 Completely remove getLearnset 2023-12-07 20:41:07 -05:00
Guangcong Luo
e41de88d89 Refactor learnset checking
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-07 20:41:07 -05:00
Guangcong Luo
9713dc6db5 Fix crash in Rulesets
Crash introduced in #8195 and has been plaguing us with thousands of
crashes per month for the past two years, but 9cd64cba15 finally
let us track it down.

Special thanks to everyone who spent so much time and effort trying
to identify the source of this crash over the past few years. It's
over. It's finally over.
2023-12-07 16:34:51 -05:00
adrivrie
ea967d403a
Challenge Cup: Allow newer Pokemon to generate (#9940)
* Challenge Cup: Allow newer Pokemon to generate

* trailing whitespace why is it always trailing whitespace

* Update random-teams.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-12-06 17:36:17 -07:00
Karthik
c7dfa992f2
Fix Force Monotype rule on Challenge/Hackmons Cup formats (#9947) 2023-12-06 17:33:22 -07:00
Karthik
5da13b98a6
Fix issues with and clean up Modern Gen 1 (#9944)
* Fix issues with and clean up Modern Gen 1

* Apply suggestions from code review

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

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: urkerab <urkerab@users.noreply.github.com>
2023-12-05 17:46:33 -07:00
Yoshiblaze
66c56e69b4
Add New Pet Mods of the Season (#9919)
* Update formats.ts

* .

* Delete data/mods/gen3hoenngaiden directory

* Update rulesets.ts

* Delete data/mods/vaporemons/sprites directory

* Update abilities.ts

* Update items.ts

* Update moves.ts

* Update items.ts

* Update formats.ts

* Update moves.ts

* Update rulesets.ts

* Update abilities.ts

* Update abilities.ts

* Update abilities.ts

* Update formats-data.ts

* Update items.ts

* Update moves.ts

* Update abilities.ts

* Update items.ts

* Update moves.ts

* Update moves.ts

* Update rulesets.ts

* Update scripts.ts

* Update formats-data.ts

* Update formats-data.ts

* Update abilities.ts

* Update items.ts

* Update items.ts

* Update items.ts

* Update moves.ts

* Update moves.ts

* Update moves.ts

* Update items.ts

* Update moves.ts

* Update formats-data.ts

* Update formats-data.ts

* Update formats-data.ts

* Update formats-data.ts

* Update items.ts

* Update abilities.ts

* Update abilities.ts

* Update abilities.ts

* Update moves.ts

* Update abilities.ts

* Update abilities.ts

* Update formats.ts

* Update rulesets.ts

* Update moves.ts

* Update formats.ts

* Update moves.ts

* Update moves.ts

* Update moves.ts

* Update moves.ts

* adding hg back to hopefully remove that one error

* Update formats.ts

* Update rulesets.ts

* Update rulesets.ts

* Update formats.ts

* Update rulesets.ts

* Update rulesets.ts

* Update rulesets.ts

* Update abilities.ts

* Update scripts.ts

* Update scripts.ts

* Update scripts.ts

* Update scripts.ts

* Update moves.ts

* Update moves.ts

* Update rulesets.ts

* Update rulesets.ts

* Update formats.ts

* Update formats.ts

* Update formats-data.ts

* Update formats-data.ts

* .

* Update formats.ts

* Update scripts.ts

* Update abilities.ts

* Update scripts.ts

* Update abilities.ts

* Update abilities.ts

* Update scripts.ts

* Delete data/mods/gen3hoenngaiden directory

* Delete data/mods/gen8joltemons directory

* Update data/mods/moderngen1/scripts.ts

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

* Update config/formats.ts

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

* Update config/formats.ts

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

* Adding HG and JolteMons back to remove a build error

* Delete data/mods/gen3hoenngaiden directory

* Delete data/mods/gen8joltemons directory

* Update package.json

* Update package.json

* Update package.json

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-12-04 22:50:21 -07:00
Kris Johnson
d85fe5de9e National Dex: Ban Sneasler 2023-12-04 22:44:48 -07:00
Kris Johnson
13a58dbed2 PU: Update bans 2023-12-04 22:36:04 -07:00
adrivrie
8bdfad7b19
Gen 1 Challenge Cup: Fix pokemon getting the same move twice (#9920) 2023-12-04 20:18:00 -06:00
Distrib
700140d2ac
Learnsets: Fix typo (#9938) 2023-12-04 11:54:12 -06:00
Kris Johnson
ddba9ce523 CAP: Fix Revenankh's learnset 2023-12-03 21:23:41 -07:00
Kris Johnson
9b6e3e7ae1 ZU: Update bans 2023-12-03 17:45:48 -07:00
Kris Johnson
b58329766f ZU: Ban Rotom-Fan 2023-12-02 23:33:10 -07:00
Kris Johnson
7676bda796 NU: Update bans 2023-12-02 23:32:25 -07:00
Hisuian Zoroark
f6b6670865
Sharing is Caring: Fix Mechanics and Booster Energy (#9933) 2023-12-02 20:23:44 -07:00
Kris Johnson
48eeb35e4b Add December 2023 tier shifts 2023-12-01 10:44:36 -07:00
Hisuian Zoroark
e2d676c325
Sharing is Caring: Fix bugs (#9925)
* Fix Sharing is Caring

* lint and etc.

* I dont actually need these

* Fix crash

* Fix crashes and refactor item text activation

* Apply suggestions from code review

* Update data/mods/sharingiscaring/scripts.ts

* Update data/mods/sharingiscaring/scripts.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-12-01 01:14:00 -07:00
ACakeWearingAHat
dea9fbc875
Randomized format set updates (#9926)
* Randomized format set updates

* lint

* lint 2

* doubles stuff

* more changes

* combine level updates to this pr

* missed wug change

* Add chillysight slowking set 3

---------

Co-authored-by: Kelvin Liu <115855253+livid-washed@users.noreply.github.com>
2023-12-01 00:08:13 -07:00
Kris Johnson
b43fb07a54 Add December 2023 OMotM/RoA Spotlight 2023-12-01 00:07:24 -07:00
Kris Johnson
73f644ecb3 Move Vivillon to PUBL 2023-11-26 21:48:54 -07:00
Hisuian Zoroark
a955a54b89
Partners in Crime: Fix bugs (#9917) 2023-11-24 15:13:05 -07:00
Kris Johnson
ea9cbc205b Add alias for Ubers UU 2023-11-24 15:01:54 -07:00
Kris Johnson
e5dfd61d02 CAP: Add Crescedion and update old gens 2023-11-20 22:41:49 -07:00
pyuk-bot
1dfb40558b
Challenge Cup: Fix inheriting from prevo movepools (#9904)
* Challenge Cup: Fix prevo movepool inheritance

* Fix indentation

* Simplify learnsetSpecies id reference
2023-11-20 12:39:58 -07:00
LightningThunder1
b4ccd31711
Fix typos (#9871)
* Update scripts.ts

Typo.

* Update data/mods/gen1stadium/scripts.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-11-19 11:45:19 -07:00
Kris Johnson
51c99c4112 Move Lilligant-Hisui to RUBL 2023-11-19 11:41:32 -07:00
Kris Johnson
515a584cf5 Move Sneasler to Ubers 2023-11-18 22:09:41 -07:00
Kris Johnson
433861e81a Gen 6-8: Make Pikachu's tiers consistent 2023-11-17 17:12:15 -07:00
Kris Johnson
55a38d445e Add proper ZU support for old gens 2023-11-17 13:59:18 -07:00
Leonard Craft III
8cc8228095 Fix interaction of Tar Shot vs Terastallized targets 2023-11-15 22:51:26 -06:00
Karthik
92e13d06a8
Fix Egg Moves on Ursaluna-Bloodmoon and Greninja-Bond (#9888) 2023-11-15 20:32:42 -06:00
ACakeWearingAHat
b778f0d3aa
Randomized format set updates (#9902) 2023-11-15 20:05:13 -06:00
pyuk-bot
f1a8a86e57
Encore: End if the target no longer knows the move (#9898) 2023-11-15 19:55:03 -06:00
pyuk-bot
8e47521d77
Fix Neutralizing Gas ending vs. Embody Aspect (#9903) 2023-11-15 19:54:40 -06:00
Karthik
191cb7d7c5
Fix height of several Gmax formes (#9897) 2023-11-15 19:32:32 -06:00
Kris Johnson
3a8818fe70 Ivy Cudgel: Show animations for different types 2023-11-14 01:45:46 -07:00
livid washed
beae0ccfe9
Gen 1-2 Random Battles update (#9894)
* Gen 1 set updates

* Gen 2 level update
2023-11-12 18:01:17 -07:00
Kris Johnson
0a4cf94c86 Move Gliscor to Ubers 2023-11-11 23:41:58 -07:00
Karthik
f82aa012ca
Partners In Crime: Fix Transform (#9893) 2023-11-11 22:52:22 -07:00
Kris Johnson
ed81f3c8ce GSC: Add PU tier support 2023-11-09 12:57:02 -07:00
Kris Johnson
edbb38ef37 ADV: Move some PU Pokemon to ZUBL 2023-11-09 12:51:36 -07:00
Kris Johnson
febe90b21c National Dex: Ban Baxcalibur and Ursaluna-Bloodmoon 2023-11-09 12:39:47 -07:00
Sergio
f488bc3c84
Update Neutralizing Gas's description (#9887) 2023-11-07 21:12:44 -06:00
Kris Johnson
fc4f64d04c Move Magneton to PUBL 2023-11-05 18:40:22 -07:00
livid washed
84ac9e9e3e
Revamp [Gen 4] Random Battle (#9883) 2023-11-05 17:28:02 -06:00
livid washed
609161e538
Gen 9 Random Battle: fix Bulky Attacker Slowbro-Galar's role name (#9885) 2023-11-05 17:27:40 -06:00
ACakeWearingAHat
1cb7479418
Randomized format set updates (#9882)
* Randomized format set updates

* jirachi stuff

* oopsie

* revert ribo for now
2023-11-05 15:30:25 -07:00
Smudge
836c51762a
National Dex UU: Ban Gyarados (#9876) 2023-11-04 12:38:26 -06:00