Commit Graph

6235 Commits

Author SHA1 Message Date
Marty-D
2aae13ff62 Fix Round and Pledge move interaction with Z- and Max Moves 2020-03-31 16:33:42 -04:00
Marty-D
76da207659 Update Metronome again 2020-03-31 12:04:28 -04:00
Kris Johnson
9274833be4
LC: Ban Cutiefly (#6505) 2020-03-30 22:27:58 -07:00
The Immortal
52f93689dc Update format aliases 2020-03-30 21:40:11 +04:00
Marty-D
87838fb207 Update Metronome 2020-03-30 12:12:22 -04:00
Marty-D
1488b63482 Update Copycat, Instruct, and Sleep Talk 2020-03-30 11:30:57 -04:00
Guangcong Luo
47b55f96bc Refactor dragIn to delegate to switchIn
dragIn and switchIn being two separate functions is a weird historical
quirk that leads to inconsistencies in implementation.

The only reason they need to be separated is a Mold Breaker quirk:
1da65efb12

(This is now done with an `if` statement.)

This should fix a lot of Roar/Whirlwind mechanics issues from `dragIn`
being on outdated mechanics compared to `switchIn`.
2020-03-30 05:25:20 -07:00
Guangcong Luo
2d78044604 Fix activeTurns/activeMoveActions bugs
`activeTurns` was previously a horrible hack, used for "first full turn
only" effects like Speed Boost as well as "first move action" effects
like Fake Out.

In addition to being a huge hazard for API users such as OMs, this also
means weird bugs such as Speed Boost not working if you get hit by
Sky Drop on your first turn.

This commit fixes them by splitting these counters into two - an
`activeTurns` counter for Speed Boost, and an `activeMoveActions`
counter for Fake Out.
2020-03-30 04:07:05 -07:00
The Immortal
de2d80663e Random Battle improvements 2020-03-29 02:36:41 +04:00
The Immortal
f72f37d704 Fix Mega Rayquaza Clause 2020-03-27 23:42:48 +04:00
The Immortal
659a878e5d Random Battle updates 2020-03-27 22:58:10 +04:00
The Immortal
d412c97e17 Update event data 2020-03-27 22:44:12 +04:00
Leonard Craft III
933eb9a137
Species -> name in Gen 1 (#6495) 2020-03-26 20:03:48 -07:00
Kris Johnson
c7038cc1b8
Fix MissingNo.'s learnset (#6493) 2020-03-26 18:58:02 -07:00
The Immortal
a5e15818fa Fix MissingNo.'s learnset 2020-03-26 22:12:35 +04:00
The Immortal
f8c801e76e Fix Metronome mechanics 2020-03-26 21:05:44 +04:00
The Immortal
81891546b9 Rename Missingno. to MissingNo. 2020-03-26 18:37:35 +04:00
Kris Johnson
ea1b028950
Rename cosmeticFormeName to forme (#6492) 2020-03-26 18:13:31 +04:00
Kris Johnson
994fc60aed
Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
Guangcong Luo
91e278d22d Fix Blunder Policy Sheer Cold 2020-03-25 16:58:45 -07:00
The Immortal
483aba6876 Gen 1 Random: Fix Omanyte 2020-03-25 15:34:13 +04:00
Guangcong Luo
b7ed1e0908 Clarify Pickpocket 2020-03-24 23:55:54 -07:00
Kris Johnson
0e0bd0502a
Gen 6: Fix Floette-Eternal's tier (#6487) 2020-03-24 20:36:43 -07:00
Kris Johnson
bafea519c4
Gen 5: Fix Combusken's tier (#6486) 2020-03-24 20:36:34 -07:00
Kris Johnson
ec503fa8e5
Move Scrafty to NUBL (#6483)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/#post-8398979
2020-03-22 21:02:20 -07:00
Marty-D
5ea76bd947
Descriptions: Update Gen 8 items 2020-03-22 16:32:15 -04:00
The Immortal
eeed18ca0c Challenge Cup: Use inheritsFrom
And prevent Eternamax as it should only be legal in Hackmons Cup.
2020-03-23 00:09:15 +04:00
Marty-D
41c126fc8b
Descriptions: Update Gen 8 Abilities 2020-03-22 15:16:36 -04:00
Marty-D
3b9bde44cd
Descriptions: Update G-Max Moves 2020-03-22 12:14:01 -04:00
The Immortal
8a5a2f8ea1 Spirit Break is a contact move 2020-03-22 17:54:46 +04:00
The Immortal
acfd8f8808 Fix CC again 2020-03-22 17:18:58 +04:00
The Immortal
2fede78e62 Fix Challenge Cup 2020-03-22 17:04:15 +04:00
The Immortal
f465c20ed1 Random Battle updates 2020-03-22 16:16:42 +04:00
Kris Johnson
ff0968bdc9
Scalemons: Move stat formula to rulesets (#6481) 2020-03-22 05:44:47 +04:00
The Immortal
6dc9cb5e4f Gen 7: Fix broken entries in Formats-Data 2020-03-22 05:06:18 +04:00
Kris Johnson
01769c1ca7
Update Custom Rules documentation and implementation (#6477) 2020-03-22 04:11:17 +04:00
Marty-D
d764555f39
Descriptions: Update for Gen 8 moves 2020-03-21 19:55:17 -04:00
Marty-D
0af4a07da4 Descriptions: Update move disabling effects 2020-03-21 12:11:45 -04:00
The Immortal
7878f01ea1 Cotton Down does activate on Pokemon before they faint 2020-03-21 17:22:12 +04:00
Kris Johnson
770f1a3f7c
Add support for (NU) (#6475) 2020-03-20 20:50:14 -07:00
The Immortal
ca8870c64e Update Cotton Down activation 2020-03-21 00:20:47 +04:00
The Immortal
a94b9ba5c9 Mirror Armor activates for each boost 2020-03-20 23:15:10 +04:00
Marty-D
c228bdedfa
Gen VI: Fix Parting Shot drops 2020-03-20 14:39:29 -04:00
The Immortal
2ad5525e8b Fix Parting Shot mechanics 2020-03-20 21:23:33 +04:00
Marty-D
0eb0c47eea
Revert Cramorant's forme when Dynamaxing 2020-03-19 13:33:48 -04:00
Marty-D
ca91a54a91 Explicitly block Yawn's effect with Electric/Misty Terrain 2020-03-19 10:12:50 -04:00
The Immortal
d7348167a9 Formats-Data: Do not inherit in older gens
It was used to inherit `eventPokemon` so as to not have duplicated data. Event data is now in Learnsets so this inheriting is unneeded.
2020-03-19 16:59:11 +04:00
Christopher Monsanto
3dfa720113 Fix isNonstandard on Genesect formes 2020-03-18 22:53:42 -04:00
The Immortal
1765d9fbfa Improve bbb4da013 2020-03-19 02:06:10 +04:00
The Immortal
c09044a777 Move gen property to Pokedex 2020-03-18 23:09:45 +04:00