Commit Graph

7793 Commits

Author SHA1 Message Date
ivanlonel
ff24f6dce1
Fix typo in Thunder Punch (#7412) 2020-09-24 03:12:35 +04:00
The Immortal
f893ba8b39 Revert "Fix exploit with Slowbro-Galar and Slowbronite"
This reverts commit 65de865040.
2020-09-24 03:08:52 +04:00
Kris Johnson
65de865040 Fix exploit with Slowbro-Galar and Slowbronite 2020-09-23 17:02:25 -06:00
Marty-D
355c2e7868 Add Galarica Cuff
Closes #7408
2020-09-22 22:56:31 -04:00
ivanlonel
763e6a8f66
Fix typo in Dubious Disc (#7410)
It's already spelled correctly in data/items.ts and data/text/items.ts.
2020-09-22 19:10:55 -07:00
The Immortal
0d71ec82c3 Random Battle improvements 2020-09-22 11:56:21 +04:00
lotuspirate
7604acefd8
Update GSC NU Pokémon (#7405)
Changing tier for NU-viable Pokemon to NU from NFE/LC. Based loosely on GSC NU Viability Ranking.
2020-09-22 07:25:30 +04:00
Kris Johnson
b1dbbb7934
Move Bouffalant and Klinklang to PUBL
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/page-2#post-8603331
2020-09-19 21:18:52 -06:00
The Immortal
f32b7c3b4f Gen 3: Random Battle fixes 2020-09-20 03:16:20 +04:00
Leonard Craft
34a526796c Mark Spotlight as past-generation only 2020-09-19 17:14:03 -05:00
urkerab
5d714fbb56
Replace @ts-ignore with type assertions or other less unsafe constructs (#7390) 2020-09-19 02:07:48 -07:00
Quinton Lee
bbfacd3ab4
Fix Flipped Mod (#7386) 2020-09-18 00:45:28 -06:00
PartMan
d929928291
Fix Typo in Electirizer (#7378) 2020-09-18 00:08:36 +04:00
urkerab
90a94bc343
Improve spread damage return value check (#7363) 2020-09-14 17:04:08 -07:00
ACakeWearingAHat
e3b9b95283
Random Battles updates (#7358) 2020-09-14 01:29:48 +04:00
The Immortal
067eee77ea Update CAP 1v1 sets 2020-09-14 01:17:35 +04:00
Marty-D
35033203e8 CAP: Update Equilibra line's Abilities 2020-09-13 12:56:47 -04:00
Marty-D
b74b7131b1
NU: Ban Drampa, Toxicroak, and Vikavolt
https://www.smogon.com/forums/posts/8596727/
2020-09-13 08:43:20 -04:00
Kris Johnson
735a9733eb STABmons: Don't gain moves from battle-only formes 2020-09-11 10:28:02 -06:00
Marty-D
206696f553
Text: Update Levitate descriptions 2020-09-10 17:54:40 -04:00
TheMezStrikes
dcc863558c
Fix gen 8 fossil descriptions (#7348) 2020-09-10 13:56:31 -07:00
Kris Johnson
e44af38da7 Fix typo 2020-09-09 23:29:09 -06:00
urkerab
bcc6fddff5
Remove duplicate fail message from Encore (#7339) 2020-09-09 04:32:28 +04:00
Strahm, Jeffrey S.(S&T-Student)
188426490b Rename FormatsData to FormatData
(The name FormatsData is inconsistent with how we name other things;
especially since it's supposed to be data for a single format. It was
probably originally a typo. -Zarel)
2020-09-07 19:35:14 -07:00
urkerab
1bf873018c
Remove outdated getAwakeningValues function (#7331) 2020-09-07 17:00:53 -07:00
Instruct
c5b6622bc6
SSB: Remove Ashe (#7332) 2020-09-07 16:59:59 -07:00
Kris Johnson
43ec001996
CAP: Nerf Equilibra (#7328) 2020-09-06 22:15:05 -07:00
Kris Johnson
28c981b949
Move Silvally-Water to PUBL (#7329)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8590185
2020-09-06 22:14:53 -07:00
Guangcong Luo
ea8f52ce97
Move descriptions to data/text/ files (#7036)
This adds some new `data/text/` files, which are the new home for
item/move/ability descriptions, as well as in-game messages, in one
place for ease of translation.
2020-09-06 22:00:11 -07:00
Kris Johnson
271a28c9e7
Move Tauros, Exeggutor-Alola, and Haunter to NUBL (#7321)
https://www.smogon.com/forums/threads/np-nu-stage-3-rain-on-me-bans-post-30.3669764/page-2#post-8589192
2020-09-06 16:26:47 +04:00
Ocean-ey
5c34d6997b
Update Instruct's longdesc (#7272) 2020-09-05 17:17:28 -04:00
Kris Johnson
8656d633ac
Format volatiles consistently (#7314) 2020-09-05 08:12:24 -07:00
Kris Johnson
c5d68ce16c
Megamax: Add newest updates (#7313)
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season-ladder-tour-post-408.3658623/page-16#post-8571322
2020-09-04 21:44:42 -04:00
Kris Johnson
391d022d50
Move Chansey to UU (#7299)
https://www.smogon.com/forums/threads/np-ss-uu-stage-6-lucky-star-jirachi-banned-chansey-unbanned.3668911/page-3#post-8586804
2020-09-03 03:31:11 +04:00
Kris Johnson
fb36d5275d
Remove Gen 7 Mix and Mega (#7298) 2020-09-03 01:15:59 +04:00
The Immortal
d25ec1cbca BF/CAP 1v1: Move sets loading outside constructor 2020-09-02 15:44:34 +04:00
The Immortal
78d85c6790 Gen 3: Fix Lightning Rod rating 2020-09-02 12:43:12 +04:00
Instruct
ae471abb84
RU: Ban Heracross (#7296)
https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out-september-shifts-heracross-banned.3666733/page-5#post-8586090
2020-09-02 07:57:07 +04:00
The Immortal
99f292f681 Move Turtonator and Sigilyph to NUBL 2020-09-01 22:37:46 +04:00
The Immortal
dcef3f0a5b Implement NU unbans 2020-09-01 19:35:48 +04:00
The Immortal
12bd69fa36 September tier update 2020-09-01 19:33:36 +04:00
The Immortal
5f93b4bd28 Random Battle improvements 2020-09-01 17:16:52 +04:00
Kris Johnson
5535b7405f
Move Jirachi to UUBL (#7289) 2020-09-01 03:07:56 +04:00
The Immortal
0ab31bc395 Doubles OU: Ban Volcarona 2020-09-01 01:22:39 +04:00
Marty-D
edcbf6a483 Gens 4-6 OU: Put consistently low usage Pokemon in OU by technicality
https://www.smogon.com/forums/posts/8525878/
2020-08-29 10:41:55 -04:00
ACakeWearingAHat
d02ee67d03
Random Doubles Updates (#7270) 2020-08-28 15:20:27 +04:00
The Immortal
965cb43cf2 Random Battle: Improve Rillaboom 2020-08-27 00:04:56 +04:00
ACakeWearingAHat
80c16d7818
Random Doubles: Fix Moxie (#7259) 2020-08-26 01:12:38 +04:00
Marty-D
3e565bd561 Add new event Pokemon
and general cleanup
2020-08-25 16:00:29 -04:00
The Immortal
d2c351059f Add Gastrodon-East event 2020-08-24 16:53:00 +04:00
The Immortal
29b410b8de Random Battle updates 2020-08-24 15:56:34 +04:00
Kris Johnson
324ad0425a
Fix various GSC/ADV mechanics (#7247) 2020-08-22 01:29:41 -07:00
Kirk Scheibelhut
39c14e0868 Remove EBC staleness from abilities upon switching 2020-08-17 12:59:10 -07:00
The Immortal
05bb230ef8 Revert "Add LC suspect notice (#7119)"
This reverts commit f70864aefa.
2020-08-17 14:43:42 +04:00
Annika
49e9d8adda
Display G-Max moves properly in /details (#7117) 2020-08-15 17:57:27 -07:00
Marty-D
7b3023c236 Fix Stuff Cheeks
Thanks EeveeTrainer and DaWoblefet
2020-08-15 15:46:19 -04:00
ACakeWearingAHat
af14081afd
Random Doubles Updates (#7210) 2020-08-15 13:01:23 +04:00
Kris Johnson
afa104925e
Move Urshifu to DUber (#7208) 2020-08-14 13:45:03 +04:00
Kris Johnson
5e255012bc
Add a 'bst' property to Species (#7138) 2020-08-12 12:06:09 -07:00
Kris Johnson
db6f5fd5a1
Add new Amoonguss event (#7186) 2020-08-10 16:29:13 +04:00
Kris Johnson
03326bf0a0
Fix crash caused by missed instance of toID (#7193) 2020-08-10 00:18:19 -07:00
Kris Johnson
4dba9e44e3
Move Linoone, Sharpedo, and Zoroark to RUBL (#7189)
https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out-linoone-sharpedo-and-zoroark-banned.3666733/page-4#post-8562763
2020-08-09 18:18:02 -07:00
Kris Johnson
c3196aa0d1
CAP: Nerf Astrolotl (#7188) 2020-08-09 18:17:00 -07:00
The Immortal
f73cc1fa65 Add gen 8 event Pokemon 2020-08-09 14:47:37 +04:00
Marty-D
529fdaaa68 Pokedex: Update canHatch data 2020-08-08 17:20:27 -04:00
ACakeWearingAHat
2c4eda8798
Random Doubles fixes (#7177) 2020-08-08 15:58:22 +04:00
Mia
deeed6c789
Remove sim/ and data/'s globals (#7091) 2020-08-07 06:44:15 -07:00
Kris Johnson
5fb36bcc62
SSB: Remove Flare (#7170) 2020-08-07 12:36:12 +04:00
The Immortal
5293f99d76 Add missing gen 7 Pokemon events 2020-08-07 01:09:08 +04:00
The Immortal
e8131db9b0 Event Celebi is shiny 2020-08-07 00:23:55 +04:00
Leonard Craft III
9e82f05ebb
Gen 3-4: Fix Camouflage to change to Normal-type (#7130) 2020-08-06 14:54:57 -04:00
The Immortal
5db7175118 Add Zarude and Celebi events 2020-08-06 18:05:55 +04:00
Kris Johnson
f96ec4fb05
Add strict types to tiers (#7135) 2020-08-06 00:41:42 -07:00
Annika
8f92852fd3
Shorten the description of Steel Roller (#7153)
This is getting cut off, a la
2020-08-05 22:09:03 -07:00
Kris Johnson
38a74d7a9e
Move Magearna and Cinderace to Ubers (#7154)
smogon.com/forums/threads/ss-ou-suspect-process-round-5-voting.3668286/page-7#post-8558727
smogon.com/forums/threads/cinderace-is-now-banned-from-ou.3668320
2020-08-05 17:16:34 -07:00
The Immortal
ca983630c1 Add Ripen activation for berries 2020-08-03 20:11:47 +04:00
The Immortal
4d0dd49a11 Leftovers activates Ripen 2020-08-03 18:29:18 +04:00
The Immortal
840a89a3d7 Remove duplicated learnsets for Cosplay Pikachu formes 2020-08-03 15:44:50 +04:00
Kris Johnson
04e88a9f3c
Move Flapple/Thievul to PUBL, Gourgeist-XL to PU (#7134)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8555593
2020-08-02 21:07:44 -07:00
Kris Johnson
5b51274c3d
Drop Pokemon down to RU from RUBL (#7133) 2020-08-03 04:06:48 +04:00
The Immortal
d8bbe74b45 Random Battle: Improve Pheromosa 2020-08-02 15:18:07 +04:00
The Immortal
55b615b97f Move Lucario, Reuniclus, and Sirfetch'd to RUBL 2020-08-02 15:17:17 +04:00
The Immortal
8a74898c1c Mamoswine is UU 2020-08-02 15:08:29 +04:00
Kris Johnson
c607cb0b62
Mamoswine should be RU (#7125) 2020-08-02 02:23:28 -07:00
Kris Johnson
9952709171
Add some QoL improvements for Pet Mods (#7118) 2020-08-01 23:20:26 -07:00
Kris Johnson
7f06b4dff8
Move Pikachu formes to ZU (#7120) 2020-08-01 21:24:34 -07:00
Kris Johnson
f70864aefa
Add LC suspect notice (#7119) 2020-08-01 21:07:05 -07:00
Kris Johnson
4776d729e1
Add remaining tier changes (#7113) 2020-08-01 22:25:56 +04:00
The Immortal
8098848ac4 Revert ""Drop" Gigantamax to Doubles OU for testing"
This reverts commit 5f3cca0470.
2020-08-01 22:06:40 +04:00
The Immortal
f37aa00613 Usage-based tier update for August 2020-08-01 22:03:49 +04:00
Marty-D
592abc0525
Fix Rising Voltage Max Move power 2020-08-01 11:15:43 -04:00
The Immortal
1360f7d06d Random Battle updates 2020-08-01 17:31:16 +04:00
Kris Johnson
274e5ef267
Add August OM and RoA Spotlight ladders (#7111) 2020-08-01 16:46:04 +04:00
The Immortal
1fc691e232
Move Venusaur and Diggersby to UUBL 2020-08-01 16:29:30 +04:00
Leonard Craft III
95243cdb00
Don't leak target of two-turn charge moves (#7104) 2020-07-31 17:55:28 -07:00
Marty-D
7e33b3647a
Gen I: Fix Sludge poison chance 2020-07-31 20:07:18 -04:00
Annika
05a9f9a1e5
Minor code quality improvements based on LGTM (#7092) 2020-07-30 14:24:37 -07:00
Kris Johnson
70edfaa64c
Add support for more OMs (#7084) 2020-07-30 05:22:21 +04:00
Marty-D
2e04ede83d Add latest CAP prevos
and swap Kitsunoh's types, per https://www.smogon.com/forums/posts/8550327/
2020-07-29 16:41:18 -04:00
The Immortal
d2430525b3 Fix Scalemons command crash 2020-07-28 17:47:26 +04:00
The Immortal
62317e14b2 UU: Unban Diggersby & Venusaur 2020-07-27 19:58:19 +04:00
Marty-D
6b7076fce2
End the Minimize effect when Dynamaxing
Thanks Zaggyo!
2020-07-27 11:32:59 -04:00
Guangcong Luo
4d09f7acde Rename more instances of Effect to Condition 2020-07-26 11:26:23 -07:00
Kris Johnson
e7a72680f3
Fix G-Max Fireball's name (#7059) 2020-07-25 15:45:19 -07:00
The Immortal
32f82125d4 Xerneas-Neutral is not a Gigantamax 2020-07-25 15:40:21 +04:00
ACakeWearingAHat
2f6dba6d72
Random Doubles Updates (#7052) 2020-07-25 15:34:26 +04:00
Kris Johnson
e042c81310
Fix Gigantamaxing (#7054) 2020-07-24 15:40:27 -07:00
Guangcong Luo
2f805c93a2
Remove "Battle" prefix from data exports (#7039)
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.

I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.

`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.
2020-07-24 12:42:26 -07:00
The Immortal
e4e375b19b Random Battle updates 2020-07-24 17:41:05 +04:00
Instruct
6214d79067
Random Doubles updates (#7034) 2020-07-24 17:39:43 +04:00
Kris Johnson
00b88b521d
Handle Gigantamaxing properly (#7001) 2020-07-23 13:27:42 -07:00
TheMezStrikes
ce5f636755
Add bde alias for Baby-Doll Eyes (#7037) 2020-07-23 07:19:29 -07:00
Marty-D
d1e91acb6f
Fix Protean interaction with Sucker Punch
and other assorted things
2020-07-22 12:33:18 -04:00
Marty-D
10e4ecdc84 Clean up event priorities 2020-07-21 10:43:12 -04:00
Kris Johnson
4b22301e5d
Silver Powder has a space in its name in Gen 8 (#7028) 2020-07-21 03:27:40 +04:00
The Immortal
13e6eac46f Revert "NatDex: Correct Hidden Power/Judgment Max Power (#7014)"
This reverts commit c604df0312.
2020-07-21 03:08:18 +04:00
Marty-D
654d701e4c Update accuracy modifier chaining
Based on an understanding of Gen 4's system. Possibly not fully correct, but certainly less incorrect!
2020-07-20 15:00:54 -04:00
PartMan
356c06593b
Update Damp (#7025) 2020-07-20 09:58:49 -04:00
The Immortal
10bf212816 Battle Factory: Fix Raikou 2020-07-20 13:54:33 +04:00
The Immortal
89315b7cee Random Battle improvements 2020-07-20 13:50:49 +04:00
LegoFigure11
32338ec705
Add Armor Beginnings Online Competition (#7024)
* Add Isle of Armor Validator Rule

* Add new Online Competition

Armor Beginnings https://battle.pokemon-home.com/regulation/000000104/en
2020-07-20 13:38:31 +04:00
Kris Johnson
9594abb75a
Move Exeggutor, Ninjask, and Perrserker to PUBL (#7023)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8543010
2020-07-20 13:36:54 +04:00
Kris Johnson
d54985c70f
Optimons: Add new optimizations (#7022) 2020-07-20 13:36:28 +04:00
Kris Johnson
6b657c92e1
Move Machamp to RUBL (#7021)
https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out-machamp-banned.3666733/page-2#post-8542624
2020-07-20 13:35:56 +04:00
Kris Johnson
4a3c07184e
Move Durant to UUBL (#7019)
https://www.smogon.com/forums/threads/np-ss-uu-stage-5-change-is-gonna-come-mamoswine-unbanned.3666248/page-8#post-8542265
2020-07-19 21:35:21 +04:00
The Immortal
5e250e7e86 Gen 6: Update Random Battle 2020-07-19 18:43:14 +04:00
The Immortal
4d22a0f87e Move Magikarp's Revenge to NEXT mod 2020-07-19 15:00:40 +04:00
Marty-D
085dba6d1f
Descriptions: Update Shell Side Arm 2020-07-18 17:58:08 -04:00
Kris Johnson
c604df0312
NatDex: Correct Hidden Power/Judgment Max Power (#7014) 2020-07-18 15:10:59 +04:00
The Immortal
5312943a2f Random Battle updates 2020-07-18 14:53:14 +04:00
Marty-D
cad644bd84
Gen I: Add Counter short description 2020-07-17 14:00:33 -04:00
Guangcong Luo
9f4122d6c4
Improve Gravity description
Thanks Finland for helping with the description.
2020-07-17 03:37:57 -07:00
Guangcong Luo
e14c327f4e
Fix typo in SSB set 2020-07-16 05:14:07 -07:00
urkerab
bd28810ba6
Copycat and Encore should fail against a Z move (#7008) 2020-07-16 02:28:47 -07:00
Kris Johnson
1a92b731a0
Pet Mods: Add new buffs/QoL improvements (#7002) 2020-07-13 21:09:12 -07:00
The Immortal
059c9c1d26 UU: Unban Durant and Mamoswine 2020-07-13 20:06:52 +04:00
The Immortal
342a8da614 Random Battle improvements 2020-07-13 19:22:04 +04:00
Kris Johnson
028797257c
Add SM Mix and Mega (#6997) 2020-07-13 15:03:35 +04:00
Kris Johnson
25af31372f
Fix /dt interaction with Galar starters' Gmax moves (#6994) 2020-07-12 23:37:59 -07:00
Kris Johnson
f742e2cf2c
Move Butterfree and Kangaskhan to PUBL (#6999)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8535959
2020-07-12 22:02:24 -07:00
The Immortal
3250252983
Move Linoone to RUBL 2020-07-13 00:34:02 +04:00
The Immortal
abc6d738af
Move Scolipede to UUBL 2020-07-13 00:32:41 +04:00
Kris Johnson
0b08de687d
Move Gallade to NUBL (#6992)
https://www.smogon.com/forums/threads/np-nu-stage-2-dont-start-now-gallade-banned.3666717/#post-8533561
2020-07-10 19:36:41 -07:00
Jacob McLemore
30e420204a
Fix Fusion Bolt + Fusion Flare interaction when first move fails (#6991) 2020-07-10 16:29:53 -07:00
Slayer95
0afd86221b
Linked: Fix priority of linked moves (#6990)
Second move in a chain ignores Gen 8 dynamic turn-order mechanic.
2020-07-09 23:17:28 -07:00
The Immortal
79684d0937 Multi-Attack's max move is 95 bp 2020-07-09 23:43:37 +04:00
Kris Johnson
49acf8ddc4
Move Orbeetle and Rotom-Frost to PUBL (#6978)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8530565
2020-07-07 21:57:10 -07:00
Kris Johnson
255cd33635
Fix Megamax and NatDex BH (#6977) 2020-07-07 15:33:48 -07:00
urkerab
09350a01bf
Centralise the check for a restricted species (#6973) 2020-07-07 15:30:37 -07:00
Annika
2037764dd4
Porygon doesn't learn Defense Curl in Gen 2 (#6976) 2020-07-07 17:25:07 -04:00
Kris Johnson
4703cb76f3
Megamax: Add Hone Claws to Grimmsnarl (#6969)
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season.3658623/page-11#post-8525900
2020-07-06 17:15:26 -07:00
Kris Johnson
4043f6e118
Fix bugs from recent restrictions update (#6967) 2020-07-06 15:54:14 -07:00
Marty-D
ef9bd7faf4 Add Doubles OU Dynamax Level 0 ladder 2020-07-06 14:33:47 -04:00
The Immortal
4a1173aff8 Fix MBH alias 2020-07-06 16:02:13 +04:00
ACakeWearingAHat
f9699c1be0
Random Doubles Updates (#6962) 2020-07-06 12:48:48 +04:00
Kris Johnson
12440ba25d
Update UUBL and RUBL (#6964)
* Move Aegislash, Conkeldurr, and Gengar to UUBL

https://www.smogon.com/forums/threads/smogon-happenings-post-here-for-publicity-yes-you.3520642/page-212#post-8528621

* Move Drampa, Indeedee-F, Virizion, Raichu-Alola, and Ninetales to RUBL

https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out.3666733/#post-8528629
2020-07-05 23:43:09 -04:00
Kris Johnson
947a055e47
Megamax: Add new nerfs (#6963)
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season.3658623/page-11#post-8528007
2020-07-06 02:36:56 +04:00
urkerab
6fb5b4e90d
Allow custom formats (e.g. for tours) to modify format restrictions (#6958) 2020-07-05 14:32:30 -07:00
The Immortal
b2387ad20d Gen 3: Random Battle updates 2020-07-05 19:34:41 +04:00
Kris Johnson
6e05586846
Add the other Pet Mod formats (#6960) 2020-07-04 21:10:41 -07:00
Spandan Punwatkar
6b30367410
Update Aliases (#6956)
@TheImmortal
2020-07-04 21:17:33 +04:00
The Immortal
7f0e211855 Cap Pikachu learn egg moves 2020-07-04 15:52:44 +04:00
The Immortal
45329dd44c Gen 3: Random Battle updates 2020-07-03 14:30:12 +04:00
The Immortal
6c6ac6c433 Update tiers
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/post-8525079
2020-07-03 01:11:16 +04:00
The Immortal
735c59199f Move Tauros and Vanilluxe to NUBL 2020-07-03 00:27:21 +04:00
The Immortal
a77059c0ef Random Battle: Fix Heracross and Clawitzer 2020-07-02 23:23:09 +04:00
Kris Johnson
bf21d8fd0a
Add new Pet Mod of the Season (#6939) 2020-07-02 14:37:20 +04:00
Guangcong Luo
8fd572f1f6 Refactor BattleQueue to wrap Array
The old decision to make it extend Array was wrong, as clearly
illustrated by the problems with slice/splice.
2020-07-01 16:37:36 -07:00
The Immortal
a77c0e5034 RU: Unban Centiskorch 2020-07-02 02:27:07 +04:00
The Immortal
4bca7daea5 Update Random Battle levels 2020-07-01 23:14:38 +04:00
Kris Johnson
68fe8ba9e4
July tier shifts (#6941) 2020-07-01 11:00:14 -07:00
The Immortal
734edb3c61 Randoms: Improve Altaria/Lugia and fix Hitmonlee 2020-07-01 15:30:45 +04:00
Kris Johnson
f126b5aa6f
Fix typo (#6937) 2020-07-01 15:27:18 +04:00
Kris Johnson
7010e0286f
Add OMotM and RoA Spotlight for July 2020 (#6936) 2020-07-01 12:59:10 +04:00
The Immortal
10d62518cc Correct f119d911e 2020-07-01 02:34:32 +04:00
Marty-D
5f3cca0470
"Drop" Gigantamax to Doubles OU for testing
They are still actually banned via Dynamax Clause
2020-06-30 13:30:30 -04:00
Marty-D
f037a0da85
Add Dynamax level mod for testing in Doubles OU
and fix the current HP calculation
2020-06-30 10:56:15 -04:00
urkerab
97d4d973bb
Adjust fractional priority for very latest research (#6931) 2020-06-30 07:51:01 -07:00
The Immortal
f119d911e7 Add shiny Zeraora event 2020-06-30 13:25:19 +04:00
urkerab
17e4cb49a4
Adjust fractional priority for latest research (#6928) 2020-06-29 12:09:10 -07:00
The Immortal
f739d546f7 Alolan Exeggutor learns Draco Meteor in gen 8 2020-06-29 21:48:58 +04:00
The Immortal
25198a6917 Randoms: Fix Miltank, Stoutland, and Rillaboom 2020-06-29 18:30:21 +04:00
Kris Johnson
2035ec27e6
Move Thievul to PUBL (#6924)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8520811
2020-06-29 02:17:25 +04:00
The Immortal
36cac2339a Random Battle updates 2020-06-29 00:05:46 +04:00
The Immortal
4769823d25 Revert part of 0e0ad1f3d8 2020-06-29 00:02:34 +04:00
Marty-D
b972fada6d Learnsets: Applin learns Grassy Glide 2020-06-27 11:20:09 -04:00
Marty-D
2cf9631ed5 Update some descriptions
and fix Corrosive Gas interaction with Sticky Hold
2020-06-27 11:15:40 -04:00
The Immortal
7bf8639ae9 Fix Galarian Slowbro's types 2020-06-26 17:38:09 +04:00
urkerab
f69ebf4f77
Fix Gen 3 Metal Coat's description (#6919) 2020-06-26 04:52:42 -07:00
Kris Johnson
28a4a9a91e
Fix STABmons Move Legality (#6918) 2020-06-25 16:12:57 -07:00
Marty-D
910bdaf1e2
Update Quick Draw 2020-06-25 10:53:51 -04:00
ACakeWearingAHat
e0ce96fa46
Random Doubles Update (#6909) 2020-06-25 14:55:24 +04:00
The Immortal
8550766299 Learnsets: Add missing tutor moves 2020-06-25 12:43:53 +04:00
Kris Johnson
0e0ad1f3d8
Fix some National Dex mechanics (#6914) 2020-06-24 15:23:05 -07:00
Marty-D
508650fb7e
Fix DLC moves and update descriptions 2020-06-24 16:19:19 -04:00
The Immortal
2e1ae4d4ea Add alias for Urshifu-Rapid-Style 2020-06-24 16:29:59 +04:00
Kris Johnson
42abd49d27
LC: Unban Vulpix (#6908) 2020-06-24 10:02:29 +04:00
Marty-D
a6216eb6cb
Fix Poltergeist 2020-06-23 18:29:02 -04:00
The Immortal
aa906d0f68 Add missing move data 2020-06-23 15:05:08 +04:00
The Immortal
d842f89e92 Pikachu-World is unreleased 2020-06-23 15:02:15 +04:00
The Immortal
1da571af74 Cap Pikachu learn Rising Voltage 2020-06-23 15:02:00 +04:00
Marty-D
263380ae03
Fix Gen 8 starters' G-Max Move powers 2020-06-22 18:16:04 -04:00
Kris Johnson
06971ebdd9
RBY: Move Clefairy to NFE (#6904)
Clefairy isn't available at or below level 5 from RBY or from trading back from GSC
2020-06-23 01:25:42 +04:00
Marty-D
65d2bb5d0c
Fix Shell Side Arm 2020-06-22 15:02:48 -04:00
The Immortal
fb2ac9502a Random Battle updates 2020-06-22 15:24:43 +04:00
The Immortal
d5f86cad02 Fix Surging Strikes' Max move power 2020-06-22 13:36:32 +04:00
The Immortal
8897d90c7f Dynamax doesn't end Illusion 2020-06-22 13:14:39 +04:00
Instruct
bec4f81fad
Ban Indeedee-M from RU (#6902) 2020-06-21 23:45:55 -07:00
Kris Johnson
676554b757
Update tiering (#6901)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8513440
2020-06-21 23:45:41 -07:00
Kris Johnson
12f69bcd4e
Update tiers for various Pokemon (#6899)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-indeedee-f-and-porygon2-banned.3660646/page-3#post-8512853
2020-06-21 22:57:54 -04:00
Kris Johnson
2f4c792b32
The Alolan Sandshrew line learns Steel Beam (#6898) 2020-06-21 19:21:16 -04:00
fart
357e4764a3
Fix Rising Voltage (#6895) 2020-06-21 19:19:53 -04:00
fart
e559d49ece
Fix Kubfu evolution method (#6894) 2020-06-21 19:19:18 -04:00
The Immortal
e706503015 Fix build 2020-06-21 19:04:52 +04:00
The Immortal
572d3b1ca0 Hide Urshifu forme in Team Preview
https://www.smogon.com/forums/threads/sword-shield-battle-mechanics-research.3655528/post-8511700
2020-06-21 16:10:09 +04:00
fart
50797c8c54
Rising Voltage boost applies if target is grounded (#6886) 2020-06-20 20:16:33 -07:00
ACakeWearingAHat
baf04e8315
Add shorter alias for Galarian Zen Darm (#6888) 2020-06-21 04:25:11 +04:00
The Immortal
ed7cb06d22 Random Battle improvements 2020-06-20 14:26:42 +04:00
Kris Johnson
caf3c1045d
Fix Terrain Pulse and Expanding Force (#6884) 2020-06-20 11:53:03 +04:00
The Immortal
8071b8dac8 Correct Poltergeist mechanics
Also changed Aura Wheel to use `onTry` as this is consistent with other moves such as Hyperspace Fury.
2020-06-20 11:26:07 +04:00
The Immortal
faea375c2f Fix Gallade's learnset 2020-06-20 11:17:40 +04:00
The Immortal
4c93edee77 Terrain Pulse is boosted by Mega Launcher 2020-06-20 09:21:15 +04:00
Kris Johnson
4efb4b61f3
Move Chansey to UUBL (#6882)
https://www.smogon.com/forums/threads/np-ss-uu-stage-5-change-is-gonna-come-chansey-banned.3666248/#post-8510094
2020-06-20 08:15:19 +04:00
The Immortal
5018792e23 Correct Magearna-Original's learnset 2020-06-20 01:14:57 +04:00
Marty-D
baed323713
Pass determined priority to Max Moves 2020-06-19 10:39:08 -04:00
The Immortal
58206586e5 Random Battle updates 2020-06-19 18:00:51 +04:00
Marty-D
0ebf03ee82
Fix Max Guard interaction with Unseen Fist 2020-06-19 09:59:49 -04:00
The Immortal
d26e8bc1af Learnsets: Add missing Draco Meteor 2020-06-19 17:16:49 +04:00
The Immortal
13fcaca463 Magearna-Original is DUber 2020-06-19 16:55:31 +04:00
The Immortal
6ef15d4a9b Fix Adrenaline Orb 2020-06-19 16:52:56 +04:00
Kris Johnson
9981b8ecfe
HA Boltund, Thievul, Greedent, Dubwool (#6877) 2020-06-19 00:12:52 -07:00
Marty-D
a50f63078a
Fix Coaching target 2020-06-18 18:31:09 -04:00
Kris Johnson
813a84349e
Fix Quick Draw (#6872) 2020-06-18 18:20:52 -04:00
fart
7d10ed89e7
Fix Steel Roller (#6870) 2020-06-18 17:54:12 -04:00
Marty-D
8035c72259
Fix Scale Shot 2020-06-18 16:42:42 -04:00
The Immortal
3aacc62d0a Fix Poltergeist 2020-06-19 00:28:51 +04:00
The Immortal
0e86997b01 Expanding Force has 10 PP 2020-06-18 22:15:59 +04:00
The Immortal
95dd496556 Move Magearna to Doubles Uber 2020-06-18 21:40:02 +04:00
fart
37dd971753
Add Venusaur-Gmax's Gmax Move (#6869)
Right now Venusaur-Gmax isn't considered a Gmax Pokemon because its move hasn't been specified.
2020-06-18 21:05:41 +04:00
The Immortal
47e1402633 Add missing tutor moves 2020-06-18 18:32:20 +04:00
The Immortal
fad340bcb9 Add new PU bans 2020-06-18 17:45:44 +04:00
The Immortal
8817ca88c7 Move unreleasedHidden and maleOnlyHidden to Pokedex 2020-06-18 17:44:44 +04:00
ACakeWearingAHat
e72b3ae165
Gen 7 Random Doubles Battle Updates (#6810) 2020-06-18 16:33:41 +04:00
The Immortal
7ece1f3ef3 Update Magearna-Original event data 2020-06-18 15:45:27 +04:00
The Immortal
489f266c43 Add missing tutor moves 2020-06-18 15:33:29 +04:00
The Immortal
a2393dfd2a Fix learnsets 2020-06-18 15:26:40 +04:00
Instruct
2c1b52a40c
Fix Cosmog's learnset (#6864) 2020-06-18 15:12:40 +04:00
Ocean-ey
9f4b261f5a
Fix Shell Side Arm (#6863)
Shell Side Arm's currently states and functions as "Physical if target Def > Sp. Def.", contrary to the ingame description that it will use whichever stat is more effective. (If it was physical when Def was higher, the damage would be LESS effective than if Sp. Def was used.)
2020-06-18 14:10:22 +04:00
LegoFigure11
79f5664f71
Fix Kubfu Base Stats (#6866)
See datamine: 3cb6be3fbd/Pokemon%2520-%2520Sword%25201.2.0.txt
2020-06-18 14:09:12 +04:00
Kris Johnson
875630560b
Move Chansey to RUBL (#6865) 2020-06-18 14:07:21 +04:00
Kris Johnson
4156eef05d
Fix various Isle of Armor DLC moves (#6862) 2020-06-18 00:25:26 -07:00
Kris Johnson
ed98d2bbcf
Move Chansey to NUBL (#6861) 2020-06-17 20:54:51 -07:00
HoeenHero
b61afa2cde Readd Kubfu event level & mis comments 2020-06-17 23:26:14 -04:00
Kris Johnson
45ed6205f0
Fix Zarude-Dada, Galarian Slowpoke, and Galarian Slowbro (#6859) 2020-06-17 22:42:58 -04:00
HoeenHero
6878d839dd Fix accidental learnset merges 2020-06-17 22:40:00 -04:00
Kris Johnson
6162c850cb
Fix Poltergeist and Triple Axel (#6857) 2020-06-17 18:44:02 -07:00
Kris Johnson
817a3dd556
Prevent Megas from appearing in teambuilder (#6856) 2020-06-17 21:08:14 -04:00
Kris Johnson
c34010c00f
Fix Kubfu's legality (#6855) 2020-06-17 20:59:37 -04:00
Kris Johnson
61a58739f0
Fix Scale Shot and Triple Axel (#6853) 2020-06-17 17:38:36 -07:00
HoeenHero
e2d332f32c
Isle of Armor: Update Learnsets (#6854) 2020-06-17 17:38:04 -07:00
Kris Johnson
dbb397bfb6
Correct some of the DLC moves (#6852) 2020-06-17 16:09:37 -07:00
Kris Johnson
4a80a56193
Update evolution methods (#6851) 2020-06-17 15:53:47 -07:00
Kris Johnson
e20178d69d
Isle of Armor: Pokemon (#6839) 2020-06-17 23:37:14 +04:00
The Immortal
a48a0e502f Add Magearna-Original event data 2020-06-17 22:35:06 +04:00
The Immortal
f37d7471c3 Random Battle: Set improvements 2020-06-17 22:09:03 +04:00
The Immortal
d80416d6d2 Correct Pokemon tiers
- New Pokemon start in DOU as well
- Scyther and Tangela are banned from LC
- Mageara-Original is legal
2020-06-17 22:07:43 +04:00
Kris Johnson
774c9bae34
Isle of Armor: Abilities (#6840) 2020-06-17 22:05:55 +04:00
Kris Johnson
6b8826df58
Isle of Armor: Moves (#6841) 2020-06-17 22:02:25 +04:00
The Immortal
567451a73c Update available Pokemon in Sw/Sh
And add Random Battle moves for them as well.
2020-06-17 20:51:34 +04:00
The Immortal
98e9bd2f8e Add new data for Slowpoke lines 2020-06-17 19:21:35 +04:00
The Immortal
472688ef33 Update moves usable in Sw/Sh 2020-06-17 18:45:20 +04:00
Kris Johnson
b33c6a85ba
LC: Remove suspect notice and ban Chlorophyll (#6850) 2020-06-17 08:14:52 +04:00
Enigami
21685eb661
Fix various Stadium issues (#6838) 2020-06-16 14:27:09 -07:00
Enigami
832887402f
Implement Stadium Sleep Clause (#6834) 2020-06-14 19:14:21 -07:00
The Immortal
24b2228009 Update CAP 1v1 sets 2020-06-14 10:23:18 +04:00
Kris Johnson
3228f91fbc
Fix uncommon evolution methods (#6830) 2020-06-13 12:46:21 -07:00
Marty-D
382ca76f2c Add CAP 27 Astrolotl 2020-06-12 14:30:40 -04:00
TheMezStrikes
589b92cd9e
CAP: Volkraken and Volkritter are gen 6 (#6829) 2020-06-12 10:08:20 -07:00
The Immortal
c7fdeb9867 Random Battle updates 2020-06-11 13:11:44 +04:00
Mia
6839a1f4db
Add a library for utility functions (#6817) 2020-06-09 22:06:43 -07:00
Kris Johnson
4908ee1343
Move Melmetal to DUber and remove suspect notice (#6818)
* Move Melmetal to DUber and remove suspect notice

https://www.smogon.com/forums/threads/ss-dou-melmetal-voting.3665737/post-8495347

* Update formats.ts
2020-06-08 11:03:58 +04:00
Kris Johnson
86f7aafc6b
Move Galarian Rapidash and Golurk to PUBL (#6816)
https://www.smogon.com/forums/threads/np-pu-stage-1-la-devotee-golurk-and-gapidash-banned.3661966/page-4#post-8494713
2020-06-07 16:58:11 -07:00
DeltaCoderr
f447333bdd
SSB: Batch Update (#6797) 2020-06-07 12:12:18 -07:00
urkerab
32d84a1d1a
Correctly attribute target with full HP (#6807) 2020-06-06 05:11:27 -07:00
Guangcong Luo
287743c83b Fix Pumpkaboo CC1v1 crash
This will probably need to be less hardcoded in the future, but
for now this is fine.

A better solution would involve revising `getLearnsetData` to be
able to do these things.
2020-06-04 12:21:25 -04:00
The Immortal
a258a24ff9 Challenge Cup: Fix Pumpkaboo-Super and Zygarde-10% 2020-06-04 20:18:16 +04:00
urkerab
a21c64fd10
Back out erroneous change from 1fa9e14 to fix After You regression (#6799) 2020-06-04 06:52:55 -07:00
The Immortal
390e8b8d4f Random Battle updates 2020-06-04 17:02:34 +04:00
The Immortal
0199852386 Gen 3: Random Battle improvements 2020-06-04 16:57:55 +04:00
Kris Johnson
ff1a7bcc1a
Fix crash from adding Two vs Two to triples formats (#6801) 2020-06-04 16:11:34 +04:00
The Immortal
f9791abba9 Random Battles: Fix cosmetic formes 2020-06-04 03:06:07 +04:00
ACakeWearingAHat
f797cdd98b
Update Gen 5 Random Battle (#6773) 2020-06-04 02:57:35 +04:00
Kris Johnson
73a84a43ec
Fix remaining learnsets inconsistencies (#6795) 2020-06-02 21:31:48 -07:00
The Immortal
e239688e2f Prevent crash with One vs One rule in random doubles 2020-06-03 00:33:43 +04:00
The Immortal
71d31692af Random Battle updates 2020-06-03 00:31:07 +04:00
Kirk Scheibelhut
89968b315e Ban Haxorus from UU and remove suspect notice
https://www.smogon.com/forums/threads/ss-uu-suspect-process-stage-4-haxorus.3665399/page-3#post-8488182
2020-06-02 09:48:07 -07:00
PartMan
e1a26fc0ef
Hidden Ability Starters (#6790)
Libero is gonna be fun.
2020-06-02 20:00:10 +04:00
Guangcong Luo
4f790cf04f Validate learnset order 2020-06-02 01:02:01 -07:00
Guangcong Luo
36941fe898 Add Learnsets validator
I didn't have time to fix all the errors the validator found, but I
fixed half of them.
2020-06-02 00:38:56 -07:00
PartMan
c8a471963e
Fix Gourgeist / Type: Null Doubles Sets (#6788)
(i) Gourgeist can't learn Shadow Claw.
(ii) I was also asked by A Cake Wearing A Hat to remove Type: Null's entry from Doubles.
2020-06-02 11:34:09 +04:00
Kris Johnson
960721aef6
Fix Mandibuzz's Gen 5 tier (#6785) 2020-06-01 22:21:34 -07:00
Kris Johnson
2d2d15018d
Add June 2020 OMotM, RoA Spotlight, and Tier Shifts (#6783) 2020-06-01 21:00:44 +04:00
Kris Johnson
4db979a313
Fix misspelled instances of facade in learnsets (#6779) 2020-05-31 10:22:57 -07:00
Kris Johnson
5f724397fc
Make Species#nfe work for previous generations (#6776) 2020-05-30 21:36:47 -07:00
SSlayer9
7f3b464bc2
Update Heal Bell interaction with Soundproof (#6771) 2020-05-30 16:04:57 -04:00
ACakeWearingAHat
8e509a8f83
Random Singles & Doubles updates (#6769) 2020-05-30 12:30:08 +04:00
Guangcong Luo
54974b8d56 Improve Pursuit desc 2020-05-29 19:04:12 -07:00
urkerab
fc6e4b82ae
Disguise breaking prevents critical hits (#6766) 2020-05-29 18:57:39 -07:00
urkerab
d3a3666e85
Fix bugs caused by not specifying effectiveness priority (#6765)
Inverse Mod needs to go first, to calculate the negated effectiveness.
Disguise goes second, to suppress effectiveness.
Delta Stream goes third, to weaken moves super-effective against Flying types.
Tar Shot goes last, to make its victim weak to Fire type moves.

This allows the existing test for Delta Stream with Tar Shot to pass.
Additionally a new test for Delta Stream with Inverse Mod now passes.
A test for Flying Press with Inverse Mod is also included.
2020-05-29 16:55:42 -07:00
ACakeWearingAHat
5a867d2feb
Random Battle: Fix Aegislash-Blade (#6763) 2020-05-30 01:24:02 +04:00
urkerab
7dd6e8bd64
Fix doubled effectiveness for victims of Tar Shot (#6566) 2020-05-29 01:27:53 -07:00
The Immortal
4091fe65ce Random Battle updates 2020-05-29 03:16:24 +04:00
Kirk Scheibelhut
adfc77246b EBC: Entrainment/Skill Swap inflicts staleness 2020-05-28 12:05:16 -07:00
The Immortal
2f4c728b69 Random Battle improvements 2020-05-28 06:49:00 +04:00
The Immortal
d8364dc952 Gen 3: Random Battle updates 2020-05-28 02:08:28 +04:00
ACakeWearingAHat
527815bfcc
Random Doubles Update (#6741) 2020-05-28 01:31:12 +04:00
HoeenHero
148570ddb5 Fix Emergency Exit Bug
Fixes 0450e8cb65
2020-05-27 10:11:04 -04:00
Sigmatecture
18b8d019ed
Set Random Battle singles levels by species (#6706) 2020-05-27 00:31:41 +04:00
Kris Johnson
437dc16aa9
Gmax Meowth is available from raids (#6746) 2020-05-26 01:47:42 -07:00
fart
0450e8cb65
Fix Life Orb + Emergency Exit interaction (#6738) 2020-05-25 14:14:59 -07:00
Marty-D
324a5bfa1a Gen III-IV: Fix Abilities' interaction with 0 damage
Thanks BKC for pointing out Rough Skin
2020-05-23 11:52:52 -04:00
PartMan
775f1e4945
Update Howl flags (#6727) 2020-05-22 14:49:10 -04:00
The Immortal
f8ecce8096 Gen 3: Random Battle improvements 2020-05-21 22:45:38 +04:00
Nol
fecb2f3cb8
SSB: Batch Update (#6594)
* SSB: Name change Salamander to Instruct

* Promote Kipkluif and Psynergy to Driver

* Demote xfix to voice

* Demote Pluviometer to voice
2020-05-20 12:39:32 -07:00
Leonard Craft III
3496491d4f
Fix Farfetch'd / Sirfetch'd with new apostrophe (#6721)
Also fixes Stick's behavior
2020-05-19 21:56:35 -07:00
Kris Johnson
7d85771d05
Gmax Eevee is no longer event-only (#6719) 2020-05-19 18:41:51 +04:00
Leonard Craft III
c263038197
Fix Trace's interaction with Neutralizing Gas (#6712) 2020-05-18 09:19:11 -07:00
Kris Johnson
f43f5ffcf2
Move Inteleon and Slurpuff to RUBL (#6713)
https://www.smogon.com/forums/threads/np-ru-stage-1-i-lost-something-in-the-hills-inteleon-and-slurpuff-banned-see-post-104.3659533/page-5#post-8470839
2020-05-18 05:51:35 +04:00
Kirk Scheibelhut
8a6797da07
Correct the Farfetch’d's line's names (#6682)
From Anubis and Marty's research, Farfetch’d should be using U+2019.
With the exception of Gen 5 and Pokemon Home it seems like it was
always meant to be the 'smart quote' symbol (though using a custom
encoding scheme in earlier gens).
2020-05-16 09:53:40 -07:00
Guangcong Luo
381bd7508a Clarify species limit and requiredItem errors 2020-05-16 12:30:41 -04:00
Konrad Borowski
b0f0cb28a8
Gen I: Add HP hint for Rest (#6701) 2020-05-16 08:34:22 -07:00
The Immortal
1fd32a0dac CAP 1v1: Fix Cawmodore's EVs 2020-05-16 10:46:57 +04:00
The Immortal
77bd8d7366 CAP 1v1: Set corrections 2020-05-16 09:50:51 +04:00
The Immortal
4fb3bc7d98 Fix Hackmons Cup 2020-05-16 09:27:45 +04:00
The Immortal
f8065cc9bb Improve ec4bb6cb4
Removed the unnecessary arrays in moves. Also fixed the thread link.
2020-05-16 08:45:18 +04:00
The Immortal
36d8d9b45a Fix typo in CAP 1v1 sets 2020-05-16 08:31:02 +04:00
The Immortal
ab1565c136 Fix Xerneas-Neutral crashes 2020-05-16 08:22:07 +04:00
The Immortal
0e80285a5e Gen 3 Random Battle: More improvements 2020-05-16 08:13:27 +04:00
The Immortal
ec4bb6cb4d Add CAP 1v1 format 2020-05-16 08:11:54 +04:00
Marty-D
0d8c840ce2
Fix Taunt interaction with Me First
The better implementation would be a check for zero `basePower`, but that's for another refactor.
2020-05-15 17:27:54 -04:00
Marty-D
dd53650f78 Fix G-Max Centiferno/Sandblast binding
+1 Anubis/DaWoblefet
2020-05-15 16:25:19 -04:00
Marty-D
6311dd7f0b Fix Binding Band implementation 2020-05-15 16:20:59 -04:00
Marty-D
4f325648af
Fix Eject Pack interaction with Parting Shot
+1 SadisticMystic
2020-05-15 11:37:03 -04:00
Marty-D
31ed3f33ec
Gen VII: Fix Skill Swap description 2020-05-15 11:33:39 -04:00
Marty-D
1b62902b5c
Fix Mirror Armor interaction with minimum stat stages
+1 DaWoblefet
2020-05-15 09:21:46 -04:00
Kirk Scheibelhut
2159785579
Correct Xerneas formeOrder oversight (#6683)
Add Xerneas-Neutral forme missed in #6669
2020-05-14 16:19:17 -07:00
The Immortal
0227db4ba4 Gen 3: Random Battle fixes 2020-05-15 01:12:20 +04:00
Marty-D
c8c048a645 Update Curse targeting 2020-05-14 13:23:37 -04:00
The Immortal
fba8410985 One vs One: Prevent crash 2020-05-14 19:35:10 +04:00
The Immortal
4dfb21c2e8 Random Doubles: Fix rejections 2020-05-14 08:48:35 +04:00
Kirk Scheibelhut
7d5975b8c7 Correct Lightning Rod's number 2020-05-13 21:26:09 -07:00
The Immortal
8be031bb6d Gen 3 Random Battle: Overhaul set generation 2020-05-14 07:58:36 +04:00
The Immortal
1810c8e7b7 Random Battle: Improve Toxicroak 2020-05-14 07:51:35 +04:00
ACakeWearingAHat
54fb0bea04
Random Doubles updates (#6654) 2020-05-14 01:42:04 +04:00
The Immortal
cecff54e00 Add Two vs Two rule
And change One vs One rule to allow any number of Pokemon in Team Preview.
2020-05-14 00:25:45 +04:00
The Immortal
d085c30856 Fix Struggle recoil under Dynamax 2020-05-13 22:47:24 +04:00
The Immortal
ae24249628 Add One vs One rule 2020-05-13 22:21:27 +04:00
HoeenHero
f9c8c025f5 Correct when Magnemite learns Magnet Bomb in Gen 5 2020-05-13 00:37:02 -04:00
The Immortal
073672962c Gen 3: Update random battle moves
This is the first part of the gen 3 random battle overhaul. A complete rewrite of the set generator will follow.
2020-05-12 07:44:47 +04:00
Kris Johnson
56fbb0201a
Pikachu-Gmax is now available from raids (#6679)
* Pikachu-Gmax is now available from raids

* Volt Tackle is legal on Gmax Pikachu now
2020-05-12 06:14:57 +04:00
Kris Johnson
e44b0c9211
Move Appletun, Silvally-Fighting, and Silvally-Poison to PUBL (#6676)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8464064
2020-05-11 17:06:59 -04:00
Marty-D
da377cdd05 Add latest Eevee and Pikachu events 2020-05-11 16:58:40 -04:00
Kris Johnson
9f5d1bc681
Fix Dynamax Clause validation (#6674) 2020-05-10 14:42:53 -07:00
Kirk Scheibelhut
fa65ed4979
Add alt form index data to dex (#6669)
AltForm index info obtained from kwsch/PKHeX's FormConverter.cs (thanks Kurt).
Thanks to @Lusamine (Anubis) for help with the peculiarities.
2020-05-10 12:20:40 -07:00
Guangcong Luo
3a1fe75b13 Remove isViable from moves
It's a judgment call that doesn't belong among the other factual
information in `moves.ts`.

The information is still around; in the client's `battle-dex-search.ts`
in `BattleMoveSearch#moveIsNotUseless`. But now it's all in one place.

fb18721e82
2020-05-08 19:25:51 -07:00
Guangcong Luo
79091f6362 SSB: Fix Next Level Strats
Fixes #6663
2020-05-08 18:06:49 -07:00
Marty-D
1bc6ed4bf4
Gen IV: Fix Griseous Orb interaction with Ability manipulation
Thanks Snackhound!
2020-05-07 16:27:49 -04:00
AnnikaCodes
a46d0a9844
Update move descriptions to account for Teleport's Gen 8 behavior (#6660) 2020-05-07 14:24:24 -04:00
Marty-D
339f516a2b Gen II: Fix residual damage when opponent is KOed 2020-05-06 15:41:18 -04:00
fart
8efbbda576
Fix Glitch Out bug (#6656) 2020-05-05 18:49:19 -07:00
fart
fa9775bcf9
Fix Glitzer Popping bug (#6655) 2020-05-05 16:16:00 -07:00
Kirk Scheibelhut
2af7040270
Group zMove and maxMove attributes (#6652)
This mostly serves to provide cleaner and more consistent field
naming. maxMove currently doesn't have boosts or effects to group
together but who knows what will be thrown at us via DLC, and being
symmetrical with zMoves is a nice.
2020-05-04 20:21:27 -07:00
Kris Johnson
8faaa45eb8
Gen 8 CAP learnset updates (#6636) 2020-05-04 19:05:28 +04:00
Leonard Craft III
04e40f0864
Update Struggle's Gen 4 description (#6651) 2020-05-03 17:35:12 -07:00
Guangcong Luo
e20a71206e Fix Struggle recoil rounding in Gen 4
Thanks to DaWoblefet for finding this mechanic.
2020-05-03 16:56:37 -07:00
Kris Johnson
66b9ebe189
Move Linoone to NUBL (#6649)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/page-2#post-8453880
2020-05-03 15:58:22 -07:00
The Immortal
c40d9dfd99 Fix Struggle interaction with Dynamax
https://twitter.com/Sibuna_Switch/status/1256055062469607426?s=20
2020-05-04 01:00:59 +04:00
The Immortal
281106bac1 Random Doubles updates 2020-05-03 02:50:01 +04:00
The Immortal
fc62da963a Random Battle: Adjust Pokemon rates 2020-05-03 02:31:15 +04:00
The Immortal
71e9f94c5d Meowstic-F is PU 2020-05-03 02:05:20 +04:00
Guangcong Luo
6c1992b067 Fix Metronome blacklists 2020-05-02 00:16:55 -07:00
Guangcong Luo
5aa5f53089 Fix Shields Down for cosmetic formes 2020-05-01 23:30:04 -07:00
urkerab
1eff20a530
Fix G-Max Chi Strike's effect on Crit Ratio (#6639) 2020-05-01 21:14:01 -07:00
Kris Johnson
6ee3826d75
Add missed May tier changes (#6638) 2020-05-02 01:18:59 +04:00
The Immortal
7cc55fc1cb Usage-based tier update for May 2020-05-02 01:06:30 +04:00
Guangcong Luo
23b59de881 Fix Metronome 2020-05-01 13:22:16 -07:00
The Immortal
864bddfaf2 Challenge Cup: Fix Hidden Power check 2020-05-01 21:11:13 +04:00
Guangcong Luo
7aa42b1212 Remove Dex.getOutOfBattleSpecies
Literally every current use is a bug.
2020-04-30 23:29:20 -07:00
The Immortal
6d2aa411ed Gen 7: Fix formatting inside randomSet 2020-05-01 09:08:59 +04:00
Guangcong Luo
e0f6453b60 Refactor data definitions
- `Modded[Effect]Data` are now correctly defined: they must either have
  `inherit: true` and be partial, or not have `inherit: true` and be a
	complete `[Effect]Data` entry

- `id` is no longer allowed; instead, it's calculated directly from
  `toID(name)`. The one exception, Hidden Power, gets a `realMove`
	property to track this (it's still used to set `.id`, though;
	TODO: really fix it properly).

- `num` is still required in `data/pokedex.ts` (dex number),
  `data/moves.ts` (move index number, for Metronome), and
	`data/items.ts` (minisprite sprite-sheet location). It's still not
	required for mod-only items and moves.

- `num` is no longer allowed for PureEffects (in `statuses.ts`) where
  it's always been meaningless.

- `color` and `heightm`, being completely flavor, are still not
  required for `pokedex.ts` in mods. They're still required in the base
	pokedex.
2020-04-30 21:39:29 -07:00
The Immortal
9bb97f0228 Random Battle: Update forme generation 2020-05-01 08:18:29 +04:00
Guangcong Luo
826e544b65 Refactor random set generation
The whole `checkBattleForme` system, introduced in 4410843e5a
and currently used in Gen 6 and 7, seems to have always been bugged.

As TI mentions in #5970, we already use `getPokemonPool` for alternate
forme handling.

I've replaced it with a roll for cosmetic formes.
2020-04-30 17:52:04 -07:00
Guangcong Luo
2b83a5ed51 Support Unown formes
This adds Unown formes as true cosmetic formes, and also applies word
filters to them.
2020-04-30 14:16:56 -07:00
Marty-D
294a44b943 Gen II: Don't check for secondary effects if the target fainted
This includes self-boost secondaries like Metal Claw.

Thanks again, UPC!
2020-04-30 13:33:21 -04:00
Kirk Scheibelhut
4afdd7b947 Fix otherFormes capitalization in gen7/pokedex.ts 2020-04-29 23:31:45 -07:00
Kirk Scheibelhut
edddcb5c38
Correct Self-Destruct and Explosion base power (#6630)
As confirmed by SadisticMystic, base power cannot be above 255, so
this move data is clearly incorrect and results in downstream users
of the data files such as the Smogon or PS dex or the tooltips
displaying misleading information.
2020-04-29 14:59:59 -07:00
Kris Johnson
8b9f24e8c1
Remove redundant code from mods/gen1/pokedex.ts (#6629) 2020-04-28 22:17:07 -07:00
Guangcong Luo
8884e9d377 Fix Alcremie cosmetic forme names 2020-04-28 17:40:41 -07:00
Guangcong Luo
1e9d9ef7c3 Update FORMES.md documentation for changesFrom
(Also clarify Gigantamax information.)
2020-04-28 17:40:23 -07:00
Guangcong Luo
800d8bd8f3 Remove Dex.getForme etc
The server now uses the same approach as the client of treating
cosmetic formes as real formes, as documented in `FORMES.md`.

This eliminates the need for the `.forme` and `.speciesid` properties
of `Pokemon`.

`pokemon.id` has also been removed: useful, since it turns out half
of its uses were bugs that should have used `pokemon.species.id`.
2020-04-28 17:38:54 -07:00
Guangcong Luo
42f949a0ed Remove egg group info from Gen 1 Pokédex 2020-04-28 16:25:35 -07:00
Kris Johnson
1bb842e099
Convert evos/prevo/etc from IDs to names (#6625) 2020-04-28 16:02:50 -07:00
urkerab
1ede5508aa
Moxie and Beast Boost should have one combined boost for all fainted Pokémon. (#6557)
In addition, they should not activate for a spread move that ends the game.
(This contrasts with Soul-Heart, which will activate until the last target.)
2020-04-27 15:44:33 -07:00
Kris Johnson
839c835752
Move Venusaur to UUBL (#6626)
https://www.smogon.com/forums/threads/np-ss-uu-stage-3-as-the-world-falls-down-mamoswine-banned.3661513/page-5#post-8445057
2020-04-27 16:47:11 -04:00
urkerab
8476a24318
Shell Trap should not power up if hit by a Z- or Max move (#6622) 2020-04-27 08:04:49 -07:00
Guangcong Luo
e8e3493c40 Fix Struggle activation conditions
PS wasn't correctly detecting `disabled: 'hidden'` moves as disabled
for the purposes of detecting Struggle activation. This has been fixed.

Thanks to DaWoblefet for unit tests!

Fixes #6620
2020-04-26 17:52:06 -07:00
Guangcong Luo
bfe651bd12 Fix Gen 1 gender
It was apparently broken by the TypeScript refactor.
2020-04-26 17:52:06 -07:00
Kris Johnson
f7053eb7cd
Update Defog's description (#6624) 2020-04-26 16:27:43 -07:00
Kris Johnson
979be98574
Refactor inheritsFrom to changesFrom (#6611) 2020-04-26 14:44:25 -07:00
ACakeWearingAHat
c7431fb8cd
Random Doubles update (#6618) 2020-04-26 06:01:10 +04:00
Guangcong Luo
c5faebd739 Remove extraneous properties from BasicEffect
BasicEffect always had a `status` property to support the pattern of
testing it to see if it's a move that sets status directly.

This is just a situation that TypeScript is bad at.

Another possibility would be to set `status: undefined` on PureEffect,
Ability, Item, and Species, but I think that's also ugly. Casting to
Move is probably the best approach, so that's what we do now.
2020-04-25 12:57:46 -07:00
Guangcong Luo
549ef7edb1 Fix MoveData interface definition
For historical reasons, move property definitions have been very blurry
across `EffectData`. Fortunately, recent refactors have made it
possible to put them all where they're supposed to be.
2020-04-25 12:57:46 -07:00
Kirk Scheibelhut
c8b4213e16
Change Clangorous Soul self damage from 1/3 -> 33% (#6608)
Per SadisticMystic:

"https://docs.google.com/spreadsheets/d/15r_-iUngMDoA9ux7tCkUJLJVBeQhpIzEH7rju9fgWOQ/edit
the "Moves" tab is a dump of move data from the game, CS has a "-33"
listed under the Heal% field, just like Double-Edge has under
Drain%"
2020-04-25 13:33:16 -04:00
urkerab
554cb570a7
Dancer should not activate if the holder fainted (#6613) 2020-04-25 09:55:13 -04:00
Kirk Scheibelhut
66e4bac94c
Give Struggle 10 PP in Gen 1 (#6609) 2020-04-25 09:53:58 -04:00
The Immortal
d2bd85aede Random Battle improvements 2020-04-25 16:14:50 +04:00
The Immortal
7441eb6ea6 Random Doubles: Update level formula 2020-04-25 15:03:18 +04:00
Kris Johnson
0b014096f9
Weezing's hidden ability is released (#6610) 2020-04-25 05:32:52 +04:00
HoeenHero
a8903eeec0 STABmons: Prevent infinite loop when validating moves 2020-04-24 21:08:29 -04:00
Guangcong Luo
31a81a91a2 Fix @type in .ts files
Some JSDoc type assertions failed to get converted during various .ts
refactors. This commit takes care of them.
2020-04-24 14:19:08 -07:00
Kris Johnson
1cbaeef826
PU: Ban Silvally-Flying, Drought, and Heat Rock (#6606)
* PU: Ban Silvally-Flying, Drought, and Heat Rock

* Update formats.js

https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8440324
2020-04-24 13:52:21 -07:00
Marty-D
abe7b58419
Fix Steel Beam description
Nice catch @scheibo!
2020-04-24 15:51:02 -04:00
Marty-D
e03d6e9020
Gen III: Remove obsolete code 2020-04-24 15:03:04 -04:00
The Immortal
f77432d7fc Random Battle: Improve Raichu-Alola 2020-04-24 21:58:03 +04:00
Literally who
4ea14070b9
Gen 8 Random Doubles Update (#6596) 2020-04-24 21:45:59 +04:00
The Immortal
3925dc304d Increase Punk Rock's rating 2020-04-24 20:58:12 +04:00
The Immortal
a59bf5e270 Random Battle: Fix Noctowl 2020-04-24 20:07:05 +04:00
The Immortal
f7e1a1d253 Hackmons Cup: Fix G-Max moves being rolled 2020-04-24 01:57:53 +04:00
The Immortal
171233b6de Random Battle: Reject Steadfast 2020-04-24 01:29:44 +04:00
Guangcong Luo
5d63b16d4d Fix botched merge in data/.ts refactor
The data/.ts refactor left a few .js files in, which weren't deleted
between 13 and 3 days ago:

c85f5bccb0

Because of this, the corresponding `.ts` files were considered new,
rather than renamed, and changes to the `.js` files got deleted rather
than merged.

Fortunately, this only affected `moves.js`, which has now been manually
re-merged with the changes.
2020-04-23 11:22:21 -07:00
Kris Johnson
28bf388b98
Typescript data (#6553) 2020-04-23 09:16:09 -07:00
The Immortal
46b4ad4768 Move Rufflet to LC Uber 2020-04-20 21:41:12 +04:00
Luc Moussiegt
be4ff58260
Fix Sky Drop Wonder Guard interaction (#6593) 2020-04-20 12:14:37 -04:00
Marty-D
4997963c8b Gen I & Stadium: Fix accuracy calculations 2020-04-19 15:02:04 -04:00
penpexgit
5e13bc2432
Improve FORMES.md (#6590) 2020-04-19 10:48:17 -07:00
Nol
a3b8db05f7
SSB: Update several ranks (#6556) 2020-04-18 22:03:42 -07:00
Leonard Craft III
c376c1f80d
Fix Max Move base move source from leaking (#6592) 2020-04-18 19:00:08 -07:00
Marty-D
d9d345d8df Correct power modifier priorities
Thanks @dawoblefet!
2020-04-18 20:33:13 -04:00
Luc Moussiegt
4a749aff3e
Fix Technician interaction with Battery/Auras/PowerSpot (#6587) 2020-04-18 12:46:19 -04:00
The Immortal
8fce5ef798 Parental Bond doesn't affect Max moves 2020-04-18 17:22:48 +04:00
Guangcong Luo
286246da82 Push Dynamax ending to as late as possible 2020-04-17 00:31:59 -07:00
scoopapa
c32997cb51
Roulettemons: Update movepools (#6551) 2020-04-16 04:36:40 -07:00
Guangcong Luo
80634c6918 Fix Dazzling
I don't like using Bulbapedia as a source, but our researchers are all
asleep and TI said this was high-priority.
2020-04-16 03:12:40 -07:00
Guangcong Luo
6884c7ee81 Remove unnecessarily quoted keys in data/
(By pulling this out from the rest of the TypeScript refactor, this
should make the diffs for the TypeScript refactor more readable.)
2020-04-16 01:32:18 -07:00
Kris Johnson
712b7e0e8e
Add "seejong" as an alias for Sealeo (#6585)
The entire Pokemon Games room refers to Sealeo as Seejong and it has significant meme value. Additionally, Seejong is Sealeo's German name.
2020-04-16 00:20:07 -07:00
Leonard Craft III
c1bf933e31
Fix Neutralizing Gas + ability changing effects (#6581) 2020-04-15 20:36:46 -07:00
Kirk Scheibelhut
78151fad79 Fix 32e193b2 to rely on isMax instead of Nonstandard 2020-04-15 16:15:19 -07:00
Leonard Craft III
3842e03d60
Fix residual order for G-Max Volcalith / Wildfire (#6565) 2020-04-15 12:20:27 -04:00
Kris Johnson
608deb3d8d
Move Gmax formes to (DUber) (#6578) 2020-04-14 15:18:21 -07:00
Kris Johnson
209c95891f
Move Noctowl, Silvally-Fire, and Silvally-Ground to PUBL (#6576)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8428752
2020-04-14 01:07:02 -07:00
timbosu
4f0bf449b0
Prevent Crafty Shield from blocking Perish Song (#6573) 2020-04-14 01:06:40 -07:00
urkerab
19be262793
Fix Pastel Veil mechanics (#6571)
Makes Pastel Veil pass the tests from #6568
2020-04-13 15:18:14 -07:00
urkerab
9c8c1e1468
Fix Fell Stinger after redirection (#6572) 2020-04-13 14:20:37 -07:00
The Immortal
32e193b2b9 Prevent G-Max moves from being used in Hackmons 2020-04-13 19:41:54 +04:00
Kris Johnson
98b0e98098
Move Barraskewda and Centiskorch to RUBL (#6569)
https://www.smogon.com/forums/threads/np-ru-stage-1-i-lost-something-in-the-hills-barraskewda-and-centiskorch-banned-see-post-71.3659533/page-3#post-8427541
2020-04-12 23:05:38 -07:00
fart
9fda11310a
Fix activeMoveActions bug (#6570)
Bar Fight is supposed to act like Fake Out and only work on turn 1. This line added in this PR was missing from the runMove function, so Bar Fight and Fake Out were usable past turn 1.
2020-04-12 22:28:39 -07:00
Guangcong Luo
7c0a6a9c60
Update FORMES.md 2020-04-12 22:25:45 -07:00
Guangcong Luo
b9e25acbbf
Document forme data formats 2020-04-12 21:55:49 -07:00
The Immortal
af353fa46f Update BW LC 2020-04-12 17:16:12 +04:00
Kirk Scheibelhut
ca69c8e6e3
Fix Minior-Meteor forme not being allowed in Gen 7 (#6563) 2020-04-12 16:25:13 +04:00
The Immortal
c60df55907 Gen 6 Randoms: Fix Trick Pokemon
And remove outdated priority rejection.
2020-04-12 00:07:51 +04:00
The Immortal
b99c238b20 Gen 5 Randoms: Fix Medicham 2020-04-12 00:05:07 +04:00
The Immortal
5202df1921 Gen 5 Randoms: Fix NFE level 2020-04-11 10:20:00 +04:00
HoeenHero
3458bdd454 Gen 5: Normal Gem should inherit from base data. 2020-04-10 22:15:16 -04:00
urkerab
9b3a51da14
Fix accuracy of Hurricane and Thunder against holder of Uility Umbrella (#6558) 2020-04-10 16:20:52 -07:00
The Immortal
e6682bfb07 Gen 5 Randoms: Fix Mandibuzz 2020-04-11 03:05:06 +04:00
scoopapa
86d8495522
Roulettemons move legality and update cont'd (#6540) 2020-04-09 11:46:15 -07:00
urkerab
d32aa6f8d6
Properly override onFractionalPriority in past gens (#6542) 2020-04-08 15:31:39 -07:00
Guangcong Luo
0fb601f7f2 Don't allow arrays in battle.add
A bug in Mimicry happened because someone put an array into
`battle.add`. This shouldn't happen.

(Also add a hint for Mimicry.)
2020-04-08 11:17:48 -07:00
scoopapa
5ba6b3ee2d
Add Roulettemons final pokemon (#6539) 2020-04-08 10:48:01 -07:00
Guangcong Luo
26a6c9e075 Fix Standard NatDex 2020-04-08 10:47:02 -07:00
charizard8888
02aa306d0a
Add rulesets directly in Roulettemons formats.js (#6538)
* Add Standard Pet Mods Clause in mods/roulettemons

For Standard Pet Mods Clause which was earlier in mods/csm

https://github.com/smogon/pokemon-showdown/blob/master/data/rulesets.js#L851
standardpetmod: {
		effectType: 'ValidatorRule',
		name: 'Standard Pet Mod',
		desc: "Holds all custom Pet Mod ruleset validation",
		// Implemented in mods/[petmod]/rulesets.js
	},

Rulesets weren't in there before https://replay.pokemonshowdown.com/gen8petmodroulettemons-1092931925

* Add rulesets in Roulettmons

* Delete rulesets.js

* Remove Standard Pet Mod Clause
2020-04-08 18:18:33 +04:00
The Immortal
2db59a70e3 Update Pet Mod aliases 2020-04-08 07:25:30 +04:00
The Immortal
8a38da0023 Delete Clean State Micro mod 2020-04-08 07:24:11 +04:00
charizard8888
d759fb1b0d
Add new PMOTS: Roulettemons (#6508) 2020-04-08 07:22:57 +04:00
The Immortal
c5ff9b634a Random Battle: Fix Malamar 2020-04-08 06:00:04 +04:00
Guangcong Luo
5abdb88e55 Refactor EventListener
Renames:
- .status -> .effect
- .statusData -> .state
- .thing -> .effectHolder

`thing` was always a really weird "I don't know what to call this"
variable name, but it's been renamed `effectHolder`, which should be
much clearer. `status` -> `effect` is I think the last remnant of old
PS code which called all effects "statuses". `statusData` -> `state`,
on the other hand, is the very first step in an initiative to calling
less things "data".
2020-04-07 17:05:19 -07:00
The Immortal
90b1597548 Gen 5/6 Randoms: Update levels 2020-04-08 02:06:37 +04:00
Guangcong Luo
40783b7dc6 Fix spread moves vs Unaware 2020-04-07 10:56:20 -07:00
Guangcong Luo
33fa9d56ef Fix mega evolving into self
A hacked-in Megazard X can mega evolve into Megazard Y, but not into
Megazard X.
2020-04-07 10:56:19 -07:00
The Immortal
f8f27efabd Move Mamoswine to UUBL 2020-04-07 20:44:25 +04:00
Leonard Craft III
dd566f3eeb
Ban Hidden Abilities unreleased in VGC17 (#6533) 2020-04-06 21:39:42 -07:00
fart
de036ae9e2
Additional fix for NatDex validation (#6529)
This fix re-introduces Arceus plates.
2020-04-07 01:33:03 +04:00
The Immortal
1e07e2aa1c Fix NatDex validation 2020-04-07 00:56:04 +04:00
The Immortal
5d6a8a5f10 Random Battle: Update Xerneas 2020-04-06 23:02:55 +04:00
The Immortal
634658a5ba Refactor unreleased Pokemon
Pokemon that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the Pokemon no longer works in the current generation. 'Unobtainable' indicates that the Pokemon works but can only be obtained through hacking.
2020-04-06 20:53:03 +04:00
Marty-D
3c7d1d3b02
Make Dynamax ending the last end-of-turn effect
This is not a complete fix for 296c308e62, but fixes probably 99% of cases so is good enough for now.
2020-04-06 12:44:02 -04:00
The Immortal
78fde78f19 Refactor unavailable moves
Moves that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the item no longer works in the current generation. 'Unobtainable' indicates that the item works but can only be obtained through hacking.
2020-04-06 20:26:10 +04:00
The Immortal
441d2961dc VGC17: Fix items 2020-04-06 20:25:22 +04:00
The Immortal
2b17e3bb92 Gen 5 Randoms: Fix Zangoose 2020-04-06 03:41:37 +04:00
The Immortal
6a057e733c Gen 5 Random: Fix Belly Drum 2020-04-06 03:01:42 +04:00
The Immortal
9db0c00375 Use double quotes 2020-04-06 00:09:07 +04:00
The Immortal
387dd7ce2d Refactor unavailable items
Items that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the item no longer works in the current generation. 'Unobtainable' indicates that the item works but can only be obtained through hacking.

Credit to @lusamine for testing many of these items in Sw/Sh.
2020-04-05 23:54:57 +04:00
Marty-D
ff3ca6783a Fix Imposter activation 2020-04-05 14:56:42 -04:00
The Immortal
d39e90d1f7 Move Haunter & Sneasel to NUBL 2020-04-05 21:42:05 +04:00
The Immortal
4aefa160b5 Random Battle: Improve Latios & Ninetales-A 2020-04-05 21:41:20 +04:00
Leonard Craft III
64d42624b8
Mark Plates (except Pixie Plate) as past gen items (#6524) 2020-04-05 11:09:16 -04:00
The Immortal
ec6561633b Random Battle: Fix Metagross & Lanturn 2020-04-05 15:16:59 +04:00
Kris Johnson
2f1419bd38
Shared Power and ORAS Doubles: Update bans (#6527) 2020-04-05 09:56:31 +04:00
The Immortal
cc6e81a410 Random Battle: Fix Marshadow & Pangoro 2020-04-05 09:51:23 +04:00
Kirk Scheibelhut
8cab3be4c4 Update Alcremie aliases to match cosmetic forme ids 2020-04-04 19:48:49 -07:00
Guangcong Luo
20e7e604eb Unify more switch-in code
This removes the redundant 'SwitchOut' code, and continues to ensure
that switching and dragging share as much code as possible, which
should help avoid bugs where they previously were different for no
reason.
2020-04-03 19:08:54 -07:00
Kris Johnson
327f30baad
Silvally, Swoobat, Arctovish, and Arctozolt are PUBL (#6518) 2020-04-03 17:35:31 +04:00
Kris Johnson
d938d567b0
Fix Rapidash and Gardevoir's doubles tiers (#6516) 2020-04-02 13:27:33 +04:00
The Immortal
e2c21407b1 Move Dynamax Ubers Clause to rulesets 2020-04-02 06:03:43 +04:00
Kris Johnson
83e97e2282
Fix tiers, add ZU (#6512) 2020-04-02 01:05:13 +04:00
The Immortal
b5d9829e0e Random Battle improvements 2020-04-01 23:06:19 +04:00
The Immortal
172a2010cd April tier shift 2020-04-01 19:59:11 +04:00
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
The Immortal
51ccfd844d Fix Arceus items in past gens 2020-03-18 22:30:55 +04:00
The Immortal
da856e67bd Fix crowned formes learnsets 2020-03-18 15:25:03 +04:00
The Immortal
bbb4da0131 Refactor forme data 2020-03-18 15:17:55 +04:00
Kris Johnson
3e26318758
Refactor learnsets.js (#6466) 2020-03-18 00:59:29 -07:00
The Immortal
7e802c3268 Formats: Remove BS Doubles & update aliases 2020-03-18 11:13:47 +04:00
The Immortal
90ef9c6619 Doubles: Fix Doublade's tier 2020-03-18 11:03:19 +04:00
The Immortal
922a58de89 Random Battle: Update Electivire and Celebi 2020-03-17 14:24:17 +04:00
The Immortal
ffc88e833f Random Battle: Improve error handling 2020-03-17 14:23:38 +04:00
Kris Johnson
4090d2baac
SSB: Remove Raid (#6465) 2020-03-17 12:18:50 +04:00
The Immortal
f4ae5b435f Correct Forme Clause 2020-03-16 23:21:11 +04:00
The Immortal
fc04f3e25e Random Battle: Fix Solgaleo 2020-03-16 23:20:44 +04:00
Kris Johnson
83ebdb27da
Add Dex#getOutOfBattleSpecies (#6463) 2020-03-16 20:31:38 +04:00
The Immortal
2f7fd7c9cd Random Battle: Add Kyogre
Missed in the mass update of db6b9add6.
2020-03-16 20:29:14 +04:00
The Immortal
db6b9add6b Random Battle updates 2020-03-16 14:03:48 +04:00
The Immortal
3e85f33014
Move Gyarados & Primarina to UUBL 2020-03-14 19:48:16 +04:00
The Immortal
bdfb975041 Gen 5 Randoms: Fix Sunflora 2020-03-14 13:09:01 +04:00
Kris Johnson
db7b66548d
Forme Clause: Fix typo (#6456) 2020-03-14 11:36:24 +04:00
Kris Johnson
f424f367db
BH: Add Forme Clause and suspect notice (#6455) 2020-03-13 23:30:34 -04:00
Marty-D
d9b931e2bb
RU: Ban Goodra
https://www.smogon.com/forums/posts/8389416/
2020-03-13 16:53:08 -04:00
Kris Johnson
b077646808
Random Battles chat plugin: Fix various issues (#6448) 2020-03-12 12:37:10 +04:00
Kris Johnson
eb6985031e
SSB: Update martha's rank (#6447) 2020-03-11 23:56:42 -04:00
Leonard Craft III
0dabac28ef
Fix G-Max Volcalith and add tests for G-Max Wildfire/Volcalith (#6442)
* Fix G-Max Volcalith mechanics

* Add tests for G-Max Wildfire/Volcalith
2020-03-11 12:53:49 +04:00
Kris Johnson
219026278d
Steel Beam is a tutor-only move (#6443) 2020-03-11 12:36:33 +04:00
Kris Johnson
34d0d880a4
Clarify Punk Rock description (#6440) 2020-03-10 20:15:32 -04:00
The Immortal
a61d7080e3 Fix usage of inheritsFrom 2020-03-10 21:31:06 +04:00
Guangcong Luo
64ff1da81f Refactor more things to use inheritsFrom 2020-03-10 09:59:36 -07:00
The Immortal
84253d40ee Fix getPokemonPool 2020-03-10 17:43:03 +04:00
Kris Johnson
f56e3ef66d
Fix BW Magic Room priority (#6437) 2020-03-10 17:00:51 +04:00
The Immortal
e35289d399 Fix Challenge Cup generator 2020-03-10 15:39:06 +04:00
The Immortal
90923f65a8 Random Battle: Fix Darmanitan-Galar-Zen 2020-03-10 13:05:54 +04:00
The Immortal
2dac2abd59 Fix typo 2020-03-10 11:59:30 +04:00
The Immortal
dbf4bcc8a5 Random Battle updates 2020-03-10 11:56:48 +04:00
Kris Johnson
a5988318de
Update Knock Off description (#6438) 2020-03-10 11:49:35 +04:00
Kris Johnson
82a3fc7b94
Refactor [Gen 2] Random Battle (#6435) 2020-03-09 11:56:15 +04:00
Kris Johnson
6b29ab44c1
Move Kingler, Vikavolt, and Turtonator to NUBL (#6434)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/#post-8385934
2020-03-09 09:06:50 +04:00
Marty-D
94a9734817
Items: Update TR sprite numbers 2020-03-08 17:43:26 -04:00
The Immortal
0d0ab9a90b Update Sw/Sh starters learnsets 2020-03-08 19:01:00 +04:00
Kris Johnson
9a2d41cf10
LC: Ban Vulpix-Alola (#6432) 2020-03-07 18:29:59 -08:00
Guangcong Luo
ac50dc2a48 Fix Dynamax Liquid Voice 2020-03-07 14:57:54 -08:00
Guangcong Luo
185966f44d Fix G-Max Steelsurge damage against Eiscue 2020-03-07 14:52:45 -08:00
Kris Johnson
c36870263b
Add Mimic Glitch validator rule (#6428) 2020-03-07 08:34:34 -08:00
The Immortal
a5b55d6127 Fix event moves of Sw/Sh legends 2020-03-07 16:44:52 +04:00
Kris Johnson
a0128b8a95
Fix Zacian, Zamazenta, and Eternatus legality (#6430) 2020-03-07 14:54:00 +04:00
Guangcong Luo
125fe31d06 Improve eslintrc
Fixed some more code style, allowing these rules to be enabled:

- `comma-dangle`
- `function-paren-newline`
- `member-delimiter-style`
- `no-eval`
- `no-fallthrough`
- `no-misused-promises`
- `no-unused-vars`
- `operator-linebreak`
2020-03-06 22:35:55 -08:00
Kris Johnson
cc681692dd
Properly implement Sinistea and Polteageist formes (#6429) 2020-03-06 22:35:19 -08:00
Kris Johnson
9d995eb838
SSB: Update Aeonic's rank (#6426) 2020-03-06 17:58:43 -08:00
The Immortal
583ca129c3 Remove display for trapping moves after using Substitute 2020-03-06 17:28:38 +04:00
Guangcong Luo
d450b50936
Fix more doubles tiers (#6421) 2020-03-05 14:57:00 -08:00
Guangcong Luo
d007bdc12f
Force timer if blitz mod is in effect (#6418)
Also increase first turn time to 40
2020-03-05 09:43:56 -08:00
The Immortal
f1a27dc79c
Move Ninetales-Alola to UUBL 2020-03-05 01:15:35 +04:00
The Immortal
03f34611e5 Random Battle: Update sets and levels 2020-03-02 23:54:37 +04:00
The Immortal
52e82453cf Random Battle updates 2020-03-01 23:46:13 +04:00
Kris Johnson
bb1c4f5fa7
Fix various Pokemon's doubles tiers (#6410) 2020-03-01 23:39:38 +04:00
The Immortal
876f8a369f
Move Slurpuff to NUBL 2020-03-01 21:32:51 +04:00
The Immortal
ce7a78db42 March tiers update 2020-03-01 19:02:28 +04:00
The Immortal
fad1d3c7a6 Random Battle improvements 2020-03-01 05:19:46 +04:00
The Immortal
11e33f925d Update Octolock activation 2020-03-01 00:59:35 +04:00
The Immortal
22feeebaee Gen 5: Fix Rapid Spin 2020-02-29 12:50:50 +04:00
Zachary Perlmutter
72a88037e7
Mark old moves as viable again (#6400) 2020-02-28 05:51:03 +04:00
ACakeWearingAHat
69ab44a78e
Gen 5: Randoms update (#6387) 2020-02-27 17:19:51 +04:00
Kris Johnson
03f2378d8c
Correct validation for UU NFE Clause/Little Cup (#6395) 2020-02-24 21:19:17 -08:00
Guangcong Luo
72976d1001 Fix Gen 3 Quick Claw 2020-02-24 19:27:50 -08:00
Kris Johnson
f9d8da6053
Move Diggersby, Durant, and Weavile to UUBL (#6389)
https://www.smogon.com/forums/threads/np-ss-uu-stage-1-here-comes-the-sun-diggersby-durant-weavile-banned.3658529/page-6#post-8374900
2020-02-23 22:13:54 -08:00
Marty-D
795ce777ec
Remove Torment volatile when Dynamaxing 2020-02-23 17:45:16 -05:00
The Immortal
bd262b726c Fix ADV UU NFE Clause 2020-02-23 22:25:35 +04:00
Guangcong Luo
a41e4b051f Fix infinite loop with disabled Max Guard 2020-02-23 04:47:52 -08:00
The Immortal
cecbf396cd Revert "Fix Moxie and Beast Boost in doubles"
This reverts commit d7af602017.
2020-02-23 13:46:18 +04:00
Kris Johnson
fd63ee2a3b
Add ADV UU NFE Clause (#6386) 2020-02-23 00:15:35 -08:00
The Immortal
d7af602017 Fix Moxie and Beast Boost in doubles 2020-02-22 19:30:44 +04:00
The Immortal
563323f4c1 Fix Lum Berry activation 2020-02-22 05:39:37 +04:00
The Immortal
d7c09e0f0e Gen 5: Update Random Battle moves 2020-02-22 02:00:16 +04:00
urkerab
98edf3e025
Refactor Dragon Darts (#6378) 2020-02-21 06:36:41 -08:00
The Immortal
79af87374a Fix Wandering Spirit 2020-02-21 18:18:51 +04:00
The Immortal
03ecc3c4b1
Stench Weezing is unreleased 2020-02-21 16:45:16 +04:00
The Immortal
8e93518550 Max Guard is disabled by Taunt 2020-02-21 15:49:27 +04:00
Guangcong Luo
f89f44f209 Max Guard is disabled by Assault Vest 2020-02-21 00:46:28 -08:00
Guangcong Luo
e04769d3b8 Fix multi-hit move hitcount message 2020-02-20 17:49:10 -08:00
Guangcong Luo
1d09dd1174 Fix Dragon Darts bugs
- should not stop after one faint
- should not show miss message for first miss
2020-02-20 15:58:36 -08:00
The Immortal
5cb8c6ea9c Remove redundant Max Guard checks
bfa7ff2d3 added them to Max Guard.
2020-02-20 16:59:05 +04:00
Guangcong Luo
bfa7ff2d31 Update Max Guard
Max Guard doesn't block literally everything, just most things.
2020-02-20 02:28:57 -08:00
Guangcong Luo
14a252c208 Improve Dragon Darts description 2020-02-20 02:06:24 -08:00
Guangcong Luo
0df0d234f2 Fix Dragon Darts
Dragon Darts has a variety of mechanics that I don't care to fully
write unit tests for, but this commit should track its in-game
implementation much more closely.

If anyone still has a Dragon Darts interaction that this implementation
handles incorrectly, they should confront me about it.

Fixes #6279
2020-02-20 00:14:58 -08:00
Guangcong Luo
e3c9cf22ab Fix Max move Lightningrod redirection
Max moves can be redirected to allies, even though they can't
normally hit allies.

Fixes #6375
2020-02-19 01:01:58 -08:00
The Immortal
c83199801b G-Max Sweetness doesn't have any battle text 2020-02-19 05:11:50 +04:00
Guangcong Luo
d6fffde560 G-Max Wildfire etc deal damage on last turn 2020-02-18 13:18:39 -08:00
Guangcong Luo
167c84124a Refactor Gyro/Electro Ball implementations
This one's for you, @scheibo

https://github.com/smogon/pokemon-showdown/pull/5805/files#r326914000
2020-02-18 13:18:39 -08:00
Guangcong Luo
6778bc585d Fix Yawn Safeguard 2020-02-18 13:18:39 -08:00
The Immortal
b6f9a8f6df Fix Encore mechanics vs Dynamax 2020-02-18 16:21:22 +04:00
Guangcong Luo
206b5c2b26 Fix multihit moves vs Emergency Exit 2020-02-18 01:13:10 -08:00
Guangcong Luo
518d4b796a Fix Rapid Spin not activating against Sub 2020-02-17 14:10:29 -08:00
Guangcong Luo
14cdc79a8e Fix Dynamax Toxic damage 2020-02-17 11:57:59 -08:00
The Immortal
a931c13bda Fix 5cf40b239 2020-02-17 16:46:46 +04:00
The Immortal
5cf40b239d Mail does not exist in Sw/Sh
It doesn't work either if you try to hack it.
2020-02-17 16:38:20 +04:00
Guangcong Luo
07ae9d0ea2 Add hint for Court Change Sticky Web Defiant 2020-02-17 00:22:47 -08:00
Guangcong Luo
78eceb6f03 Fix Emergency Exit activating on faint 2020-02-16 23:42:43 -08:00
The Immortal
78449f7ef8
Update RU banlist 2020-02-17 04:42:25 +04:00
The Immortal
e877044985 Random Battle improvements 2020-02-17 01:31:02 +04:00
Guangcong Luo
eee403fbea Properly fix Pledge moves
I had this fixed and forgot to commit + push it. :(
2020-02-15 15:40:59 -08:00
Guangcong Luo
1fa9e141f6 Fix Pledge moves 2020-02-15 13:38:58 -08:00
The Immortal
5985e1f3e0 Add missing Steel Beam Pokemon 2020-02-15 23:15:44 +04:00
The Immortal
9ad09488f5 Random Battle updates 2020-02-15 22:01:36 +04:00
Guangcong Luo
09e563f9fc Fix some moves triggering abilities twice 2020-02-15 08:54:14 -08:00
The Immortal
14d6509fbf
Fix Slowpoke being legal 2020-02-15 20:47:32 +04:00
Kris Johnson
da66b5c599
OU: Ban Melmetal and Kyurem-Black (#6370)
https://www.smogon.com/forums/threads/kyurem-black-and-melmetal-are-now-banned-from-ou.3660047/
2020-02-14 23:20:26 -05:00
Guangcong Luo
7dab5f8d79 Fix Rapid Spin activation order
Order should be:

1. -Spe
2. Rocky Helmet
3. hazard removal if not fainted
2020-02-14 18:13:49 -08:00
Guangcong Luo
b14b38598b Improve sim protocol documentation
This new protocol spec resolves ambiguities in cases where multiple
message types would be valid (no more wondering if an ability
activation is `-activate` or `-ability`, no more wondering if a
blocked attack is `-fail` or `-block` or `-immune` or `-activate`). It
also better matches the client's `data/text.js`.
2020-02-14 17:01:18 -08:00
The Immortal
9e70a66f2d Power is unusable in Sw/Sh 2020-02-14 23:56:18 +04:00
The Immortal
0564851b49 VGC: Properly ban Toxtricity-Low-Key-Gmax 2020-02-14 23:08:36 +04:00
Russell Jones
4615693685
Fix Gyro Ball/Electro Ball divide-by-0 edge cases (#5805) 2020-02-14 10:39:54 -08:00
The Immortal
bbc58ee68a Update Little Cup 2020-02-14 21:02:52 +04:00
The Immortal
607a507be1
Move Pikachu forms to the lowest tier 2020-02-14 01:16:21 +04:00
The Immortal
5a7ec76b6b Fix validation for Virtual Console & Let's Go moves 2020-02-13 23:59:51 +04:00
The Immortal
0b305661b6 Update Standard GBU banlist 2020-02-13 23:06:15 +04:00
The Immortal
6660c8ac0d Re-sort learnsets 2020-02-13 15:40:41 +04:00
Kris Johnson
358d947b15
Add Let's Go transfer support (#6367) 2020-02-12 21:22:45 -08:00
The Immortal
65a2bad577
Move Jirachi/Kyurem-B/Marshadow to DUber 2020-02-13 07:41:56 +04:00
The Immortal
5f6c26ffdc Snatch isn't usable in Sw/Sh 2020-02-13 07:29:43 +04:00
Guangcong Luo
652c7163cf
Refactor queue to new BattleQueue class (#6358)
Previously, battle queue stuff was just strewn around `battle.ts`.
This gives it a new home: `battle-queue.ts`.

This was intended to make `battle.ts` slightly more tractable, although
the difference is so small that maybe I shouldn't bother. Oh, well,
every little bit helps.
2020-02-12 16:20:17 -08:00
Kris Johnson
d5388bc58b
Add (Uber) support (#6363) 2020-02-13 01:55:56 +04:00
Kris Johnson
239b7cdf13
Update VGC banlist (#6361) 2020-02-12 21:24:06 +04:00
Kris Johnson
92c7d377a7
Add Pokemon Home support (#6349)
Co-authored-by: The Immortal <the_immortal123@live.com>
2020-02-12 14:54:55 +04:00
The Immortal
f24df5dd58 Correct Light of Ruin data 2020-02-12 14:27:45 +04:00
The Immortal
19cdf79821 Update OMs 2020-02-12 14:19:29 +04:00
The Immortal
14558e3b27 Update Random Battle levels 2020-02-12 12:16:43 +04:00
Guangcong Luo
1914a37aba Fix Eject Pack to activate for self-boosting 2020-02-11 11:16:46 -08:00
Guangcong Luo
ee4435716f Fix crash in Knock Off + Substitute
(This also fixes a bug where hitting Substitute procced DamagingHit
events.)
2020-02-10 15:37:34 -08:00
The Immortal
ec5471872f Move Dracozolt to UUBL 2020-02-10 07:16:07 +04:00
Kris Johnson
c870615cad
Accurately update LGPE tiers (#6354) 2020-02-09 07:57:09 +04:00
CasualPokePlayer
fa3bece2ea
Update LGPE OU Tiers (#6353)
https://www.smogon.com/stats/2019-11/gen7letsgoou-1630.txt
2020-02-08 09:44:17 -08:00
Guangcong Luo
e464ccd0ad Improve Present Kee Berry workaround 2020-02-08 08:14:08 -08:00
Guangcong Luo
6a677e39e8 Fix Emergency Exit timing
This is a really hacky implementation of Emergency Exit, but Emergency
Exit itself is a huge mess on cart, too.

Our previous implementation:
- activated Emergency Exit at AfterMoveSecondary timing for move damage
- activated Emergency Exit immediately after dealing any other damage

This new one:
- activates Emergency Exit only in three situations:
- right after AfterMoveSecondary timing, for move damage
- right after DamagingHit timing, for DamagingHit residual damage
  (Rough Skin, Iron Barbs, Rocky Helmet)
- right after the switch update, for switch-hazard residual damage
  (Stealth Rock, Spikes)
- does not otherwise activate (so Substitute, Hail, Toxic, etc no
  longer activate Emergency Exit)

This should much accurately simulate Emergency Exit behavior, including
most famously timing it after healing berries after hazards, as
documented in:

https://www.smogon.com/forums/threads/pokemon-sun-moon-battle-mechanics-research.3586701/#post-7075354

Fixes #6309
2020-02-08 08:07:39 -08:00
Guangcong Luo
55cbc52bba Fix bugs with secondary/ability order
Fixes #6346

The `AfterDamage` event has been replaced with `DamagingHit`, which
which happens for damaging moves after secondaries.

The `AfterHit` event has also been moved after `DamagingHit`, to make
sure Knock Off still procs after Rocky Helmet.

`AfterHit` is no longer a valid event on `secondary` and `self` blocks,
because it's meaningless in those blocks, anyway. All `self.onAfterHit`
and `secondary.onAfterHit` handlers have been moved to `onHit`, which
should have the same timing in practice.
2020-02-08 08:07:39 -08:00
Guangcong Luo
0eae50191b Improve Wide Guard description 2020-02-08 07:44:10 -08:00
Volco
dab2d21e3f
Fix Kee Berry activating due to Present healing (#5745) 2020-02-08 05:51:56 +04:00
Salaaa
66e46b8421
SSB: Prevent salamander's ability from crashing in edge cases (#6344) 2020-02-07 20:14:27 -05:00
The Immortal
e67a55d7ad Macho Brace is available in Sw/Sh 2020-02-07 14:21:36 +04:00
Kris Johnson
8aa26d39b0
Fix Psychic Terrain crash (#6348) 2020-02-07 04:12:26 +04:00
The Immortal
15fe9f27e9 Random Battle: Improve Inteleon 2020-02-07 03:55:58 +04:00
Kris Johnson
9f08d93244
Toxtricity-Low-Key can Gigantamax (#6343) 2020-02-07 03:54:07 +04:00
Guangcong Luo
b30758a3e1 Standardize Alcremie forms
We're now using what should be the official names for the Alcremie
cosmetic forms.
2020-02-06 04:09:55 -08:00
DeltaCoderr
d4779cc558
Update Ranks in SSB (#6345)
* Update  Ranks in SSB

* Update Schiavetto's  SSB Rank.
2020-02-06 15:29:55 +04:00
The Immortal
da7507f806 Gen 5 Random: Don't reject Inner Focus 2020-02-06 01:05:45 +04:00
The Immortal
45b5a22985 Gen 2 randoms: Delete invalid set 2020-02-05 23:58:30 +04:00
Kris Johnson
9f27583ff1
Release Gigantamax Toxtricity (#6341) 2020-02-05 10:57:13 -08:00
Kris Johnson
4ef357cc92
Add aliases for Heavy-Duty Boots, Obstagoon, and Mr. Rime (#6340) 2020-02-05 10:57:01 -08:00
Salaaa
3b59e44b52
SSB: Fix Lava Terrain damage boost (#6332) 2020-02-06 01:01:25 +10:30
Guangcong Luo
3255d287b8 Add hint for Psychic Terrain flying interaction
This is by far the most commonly reported "bug" on Twitter, so it's
probably worth adding a hint for.
2020-02-05 05:14:34 -08:00
Ezaphs
d10e93809b
Ban Mega Gengar from LGPE OU (#6333)
https://www.smogon.com/forums/threads/lgpe-ou-spectre-mega-gengar-is-now-banned.3658931/#post-8357495
2020-02-03 17:12:36 -08:00
Kris Johnson
d3e266cddd
Fix crash with TRs (#6330) 2020-02-03 00:25:49 -08:00
Kris Johnson
05efe2e011
Add TRs (#6317) 2020-02-02 23:19:45 -08:00
Marty-D
8d644fcb0c Calculate Innards Out damage using non-Dynamax HP 2020-02-02 18:04:33 -05:00
The Immortal
3278f97576 Show Crowned formes in Team Preview
They are immediately visible after Team Preview in-game, but PS! lacks that feature so this is the best compromise. This also fixes their appearance in Hackmons Team Preview.
2020-02-03 01:05:38 +04:00
Marty-D
47c8d6b52b Fix Pickpocket interaction with switches
U-turn is the only switch effect that occurs after Pickpocket resolves during an attack segment (even though the switch message and animation appear to happen before it)
2020-02-02 15:02:41 -05:00
The Immortal
9b07458ee9 Fix Last Resort
And the message activation of No Retreat which was broken in a79c094df.
2020-02-02 23:51:15 +04:00
The Immortal
a79c094df3 Update No Retreat mechanics 2020-02-02 23:18:52 +04:00
The Immortal
d9327d945a Simplify max moves check in Copycat 2020-02-02 22:30:04 +04:00
Marty-D
9e443cc337
Fix Copycat against non-Dynamax Max Moves 2020-02-02 13:05:51 -05:00
The Immortal
6db191a0a8 Implement Copycat interaction with Max moves 2020-02-02 21:29:55 +04:00
The Immortal
89e79a6e81 Fix randoms crash 2020-02-02 17:01:30 +04:00
Kris Johnson
e81fab513a
Fix Butterfree-Gmax's doubles tier (#6328) 2020-02-02 14:51:45 +04:00
James Ko
1596429c2e
Correctly set hp and maxhp fields if Zygarde transforms while Dynamaxed (#6318) 2020-02-01 22:06:08 -08:00
QuiteQuiet
211cefb262
Fix Healing Wish for Gen 8 (#6296)
- Healing Wish is not consumed if the Pokemon switching in
  has full health and no status condition.
- Being statused with full health will consume the Healing Wish.
- It does not trigger on damage after switching in.
- The effect will be consumed if an injured Pokemon is swapped
  into a slot with an active Healing Wish by Ally Switch.
2020-02-01 22:04:21 -08:00
Kris Johnson
770e761e22
Add (DUU) and fix Gurdurr's doubles tier (#6327) 2020-02-02 05:48:51 +04:00
The Immortal
a65f91114f Random Battle: Improve Greedent 2020-02-02 00:04:19 +04:00
The Immortal
778aff1ea0 Correct No Retreat mechanics 2020-02-01 23:43:28 +04:00
The Immortal
6c88ebc9ac Fix Challenge/Hackmons Cup 2020-02-01 23:05:27 +04:00
The Immortal
55a4678ffd Correct Dynamax HP formula 2020-02-01 21:31:11 +04:00
The Immortal
a7a82a2ddd February tier shift 2020-02-01 20:55:00 +04:00
The Immortal
cddb3ea151 Remove gen 7 ladders 2020-02-01 15:45:46 +04:00
Kris Johnson
4c5640d051
Add February 2020 OMotM and RoA Spotlight (#6323) 2020-02-01 15:10:59 +04:00
The Immortal
4bc7a8dedb Fix Clangorous Soul
Closes #6321
2020-01-31 16:36:20 +04:00
The Immortal
49be40c33e Safeguard is also affected by Court Change 2020-01-31 15:02:37 +04:00
The Immortal
7c3f9f47a2 Update Court Change effects 2020-01-31 14:00:10 +04:00
The Immortal
5e69597b93 Improve Court Change shortDesc 2020-01-30 13:11:05 +04:00
The Immortal
c34b41661c Venusaur/Blastoise learn Frenzy Plant/Hydro Cannon in Sw/Sh 2020-01-29 19:52:01 +04:00
The Immortal
68e0bcb75f Refactor single-use items
This adds a `boosts` property to items that runs in `useItem`.
This allows it to be added to `datasearch` or similar plugins.
The item activation messages are now as accurate as in-game.
The Gem activation message is also consolidated in `useItem`.
2020-01-28 13:21:23 +04:00
Guangcong Luo
0e9e68db71 Fix King's Shield shortDesc 2020-01-27 19:05:49 -08:00
Guangcong Luo
4ff0f0bf2e Update shortDescs for "damaging attacks"
Moves like King's Shield, Obstruct, and Mat Block only protect against
non-Status moves; this is now mentioned in shortDescs.
2020-01-27 18:26:57 -08:00
The Immortal
41f1085d00 Wandering Spirit: Prevent swapping Illusion/Wonder Guard 2020-01-27 05:56:55 +04:00
The Immortal
f9c5b2868b Random Battle updates 2020-01-27 05:26:08 +04:00
The Immortal
5b910431a7 Disguise: Fix double activation 2020-01-25 16:20:40 +04:00
The Immortal
83a23bb36d Fix move numbers 2020-01-23 17:09:48 +04:00
scoopapa
ce6955fe94 Clean Slate Micro Balance Update #1 (#6304) 2020-01-23 13:37:37 +04:00
Kirk Scheibelhut
e44a5683c3 Add EBC to Gens 1 and 2 (#6298)
Also add test for 1000 turn termination behavior.
2020-01-22 14:13:36 -08:00
The Immortal
c754dca3ea Random Battle improvements 2020-01-22 12:12:16 +04:00
The Immortal
0b06127638 Gen 5 Randoms: Copy updates from gen 6 2020-01-22 08:22:04 +04:00
The Immortal
38671c67c7 Doubles: Add Gravity Sleep Clause
Closes #6299
2020-01-22 07:28:40 +04:00
The Immortal
0aba98eb11 Fix Tar Shot 2020-01-21 10:45:39 +04:00
urkerab
d1a66cbe07 Simplify handling of Encore volatile (#6292) 2020-01-20 17:00:37 +04:00
The Immortal
63fc04c9aa Use baseMaxhp in move.heal 2020-01-20 15:52:06 +04:00
HoeenHero
dc13b32ed8 Charizard can learn Blast Burn in Gen 8 2020-01-19 08:34:48 -05:00
urkerab
351089c3d9 Always use getAbility to get a Pokémon's Ability (#6293) 2020-01-18 19:37:01 -07:00
Guangcong Luo
b48733cb7a Rename resolveTarget -> getRandomTarget
Should be much clearer in terms of what it's actually doing.
2020-01-18 15:43:34 -07:00
Guangcong Luo
e6f53a7ad2 Implement smart target tracking
(Stalwart, Propeller Tail, Snipe Shot behavior.)
2020-01-18 15:43:33 -07:00
Guangcong Luo
ec68ff11a2 Refactor Life Dew to target allies
`allyTeam` is the incorrect target
2020-01-18 15:43:31 -07:00
The Immortal
8f7df1e5c4 Set Genesect drives as past items 2020-01-18 14:17:12 +04:00
The Immortal
9c338dbd18 Properly implement 8ccfed069 2020-01-18 05:24:44 +04:00
The Immortal
b54c25a2b2 Perish Body: Fix text 2020-01-17 14:52:42 +04:00
The Immortal
38053c0168 Random Battle improvements 2020-01-17 14:05:15 +04:00
The Immortal
cb11d42c73 Update ability clause 2020-01-17 13:58:13 +04:00
urkerab
f5718b7ab0 Make Dynamax and Inner Focus prevent setting the Flinch volatile (#6287) 2020-01-16 20:08:55 -05:00
Salaaa
f42699ee0a Fix Life Dew interaction with Dynamax (#6288) 2020-01-16 06:19:24 +04:00
The Immortal
8ccfed069c Encore and Torment fail against Dynamax 2020-01-15 02:41:56 +04:00
CK Yong
f8d0f3fffd Fix Pickpocket applying when being switched out through Eject Button (#6254)
Also makes sure that dragging moves like Dragon Tail do activate Pickpocket.
2020-01-13 19:32:37 -05:00
Kris Johnson
d20a46d4c7 Update item sprite numbers (#6276) 2020-01-13 09:23:09 -05:00
Kris Johnson
40d6a51747 UU: Update bans (#6282)
https://www.smogon.com/forums/threads/np-ss-uu-stage-1-here-comes-the-sun-crawdaunt-gengar-and-hawlucha-banned.3658529/page-2#post-8339339
2020-01-13 10:54:20 +04:00
urkerab
b589745a25 Typescript move.target (#6260) 2020-01-11 09:10:10 -05:00
Kris Johnson
a97360a966 Slowpoke-Galar can use Eviolite (#6274) 2020-01-10 02:50:12 +04:00
Kris Johnson
54df4fb1ed Add Slowpoke-Galar (#6272) 2020-01-09 21:33:15 +04:00
The Immortal
9253a115b1 Learnsets: Remove duplicate 7V entries 2020-01-09 20:50:23 +04:00
The Immortal
d70af8e12a Update Slowpoke data 2020-01-09 20:43:58 +04:00
The Immortal
18ef25958a Fix Zygarde-C's HP 2020-01-09 18:38:07 +04:00
The Immortal
5b97367952 Update Skill Swap & Wandering Spirit 2020-01-09 10:49:41 +04:00
Dawnofares
32382cc95d Clarify Wandering spirit's shortdesc (#6269) 2020-01-09 04:33:23 +04:00
The Immortal
1ec2d0bfa1 Doubles: Remove Evasion Abilities Clause
Closes #6268
2020-01-09 04:02:56 +04:00
The Immortal
491e0575e0 Random Battle updates 2020-01-07 22:07:09 +04:00
urkerab
4b55ac9ba9 Fix interaction between Court Change, Sticky Web, and Defiant or Competitive (#6265) 2020-01-07 07:12:33 +04:00
The Immortal
6b2fb44abb Set unavailable fossils as "Past" items 2020-01-07 04:17:29 +04:00
The Immortal
0edf3aae55 Correct Zippy Zap effects 2020-01-07 03:56:27 +04:00
The Immortal
8c432e6118 Fix Screen Cleaner messages
This makes the ability activate first, and also fixes the duplicate screen ending messages.
2020-01-07 03:40:08 +04:00
The Immortal
f493304819 Pichu learns Volt Tackle 2020-01-07 01:51:47 +04:00
The Immortal
cee7c21bc1 Fix Psyduck events 2020-01-07 00:43:59 +04:00
Jacob Ellis Duncan
766dcbc3b4 Update item descriptions (#6211) 2020-01-06 12:00:20 -05:00
The Immortal
2f00b61024 Correctly implement Ice Scales 2020-01-06 18:43:09 +04:00
ZardMX
7736fa556a Status moves bypass Obstruct (#6264)
In-game proof: https://www.youtube.com/watch?v=8EVTeRfY-0c (Thanks KennedyLFC)
2020-01-06 18:35:31 +04:00
SalamanderFire
6b2293918f SSB: More bugfixes/updates (#6262) 2020-01-05 22:47:15 -05:00
Marty-D
7c814ada7f Fix Gulp Missile 2020-01-05 20:45:36 -05:00
The Immortal
70125f68a0 Fix Pollen Puff 2020-01-06 02:34:02 +04:00
The Immortal
b7258fc06b
Move Hawlucha to UUBL 2020-01-05 23:57:28 +04:00
Guangcong Luo
138fccbaa8 Consolidate more rules into Standard
- `Obtainable` and `Team Preview` are now part of `Standard`

- `minSourceGen: 8` is now a part of `-Unreleased` (which is part of
  `Obtainable`) in Gen 8. Instead, it's NatDex that overrides it with
	`minSourceGen: 1`. This allows `!Standard, Standard NatDex` and
	`!Standard NatDex, Standard` to work as intended.

- Duplicate rules are now checked for (does not apply to subrules, so
  multiple inheritance is still possible)

- It is now possible to inherit `minSourceGen` from rules.
2020-01-03 23:42:48 -05:00
The Immortal
8b8f963669 Fix Floral Healing 2020-01-04 03:41:33 +04:00
The Immortal
3d7b203fc3 Instruct should fail against Dynamax 2020-01-04 03:18:25 +04:00
SalamanderFire
d8a0449702 SSB: Bugfixes and Namechanges (#6241) 2020-01-03 18:16:48 -05:00
The Immortal
3fbcff08fa Fix Heal Pulse 2020-01-04 02:56:42 +04:00
The Immortal
1b7c47b6f4 Fix HP healing berries 2020-01-04 02:54:50 +04:00
The Immortal
52a1d7e5a3 Fix G-Max Finale text 2020-01-04 02:51:37 +04:00
The Immortal
6dbcff1811 Meowstic-F's hidden ability is unreleased 2020-01-04 02:37:14 +04:00
The Immortal
755afc350d Update Zacian & Zamazenta learnsets
- Add Steel Beam
- Remove duplicate learnsets from crowned formes
2020-01-04 02:32:17 +04:00
SalamanderFire
338ae14d33 Fix Drapion's tier (#6251) 2020-01-02 04:55:39 +04:00
Kris Johnson
f023c67038 Pet Mod: Fix Purugly and Ludicolo (#6250) 2020-01-02 03:48:03 +04:00
The Immortal
be24a4bdf2 Random Battle updates 2020-01-02 02:56:02 +04:00
Kris Johnson
a3d3d71863 Add Pet Mod of the Season (#6245) 2020-01-02 02:47:46 +04:00
Kris Johnson
4b127ad160 January usage-based tier changes (#6249) 2020-01-02 01:51:39 +04:00
Guangcong Luo
ca1f8ec820 Fix Howl ally-targeting
Fixes #6247
2020-01-01 11:10:49 +09:00
Quinton Lee
266928be83
Fix Charjabug's evolution method in /details 2019-12-31 17:22:11 -06:00
urkerab
5067f1fefa Fix displayed target of move-specific immunity in Gen 1 and 2 (#6244) 2020-01-01 01:44:33 +04:00
Kris Johnson
0535d76219 Move Gmax formes to Uber (#6242) 2020-01-01 01:25:48 +04:00
Marty-D
cc4c622e56
Add Sleep Clause Mod back to Standard Gen 4 rulesets 2019-12-31 12:30:25 -05:00
ZardMX
de7d8168af Fix Neutralizing Gas (#6232) 2019-12-31 16:29:21 +09:00
Kris Johnson
59154fadad Rename Vice Grip to Vise Grip (#6240) 2019-12-31 13:56:41 +09:00
urkerab
cbb11cf32c Shell trap takes effect directly after a physical hit (#6231) 2019-12-31 00:33:36 +09:00
The Immortal
a0bffce283 Revert "Max happiness in gen 8 is 160"
This reverts commit c7bc102c5a.
2019-12-30 16:44:39 +04:00
Guangcong Luo
744f7732e8 Fix rulesets
- Remove "Standard Ubers"

- Rename "Standard ND" -> "Standard NatDex"
2019-12-30 12:23:51 +09:00
urkerab
3db3f29a72 Fix fractional priority for Full Incense and Lagging Tail (#6230) 2019-12-30 10:08:22 +09:00
Kris Johnson
36a92b5465 Move Darmanitan-Galar to Ubers (#6236) 2019-12-30 01:13:39 +04:00
TheMezStrikes
80c04412d6 Fix typo in breaking swipe (#6227) 2019-12-30 00:53:58 +04:00
fart
2d8c5fa48a Court Change affects G-Max Steelsurge (#6235) 2019-12-30 00:52:07 +04:00
urkerab
b437e64efe Fix tier counting in Gen 5 randbats (#6234) 2019-12-29 20:01:59 +04:00
ZardMX
e06db3e117 Mew is obtainable with 3 perfect IVs in SwSh (#6228)
https://www.smogon.com/forums/threads/bug-reports-v3-read-original-post-before-posting.3634749/page-101#post-8322820
2019-12-29 03:27:27 +04:00
Kris Johnson
6a3945bb18 Custap Berry is released in ORAS and USUM (#6226) 2019-12-28 15:41:07 +04:00
te
87867f6824 Fix Toxtricity-Gmax Pokedex number (#6225) 2019-12-28 03:09:52 +04:00
The Immortal
5e8529faaa Correctly implement Court Change 2019-12-27 22:39:35 +04:00
The Immortal
519954624b Re-add gen 7 OMs 2019-12-27 22:38:00 +04:00
Guangcong Luo
c738027074 Fix crash/bug in Zen Mode 2019-12-27 22:09:12 +09:00
The Immortal
189a1421a8 Rename Sleep Clause to Sleep Moves Clause 2019-12-27 13:13:41 +04:00
urkerab
7152b42daf Calculate fractional priority once per turn (#6224) 2019-12-27 12:42:34 +09:00
The Immortal
fe00864b8e Add Sleep Clause rule 2019-12-27 05:09:24 +04:00
The Immortal
4414fab072 BW OU: Remove Sleep Clause 2019-12-27 01:08:47 +04:00
The Immortal
0199e9a952 Modify damage for Dynamax Cannon 2019-12-27 00:22:25 +04:00
The Immortal
0387853117 Update Court Change 2019-12-27 00:19:22 +04:00
The Immortal
1fbd92f925 Behemoth moves modify damage
Not BP.
2019-12-26 22:52:08 +04:00
The Immortal
390e542f75 Use onBasePower for Behemoth moves 2019-12-26 22:31:30 +04:00
Marty-D
fb430a1552 Revert "Fix Sunflora Gen 2 move legality (#6223)"
This reverts commit eb6d7d831e.
2019-12-26 10:22:36 -05:00
Marty-D
4c45af4dc3
Don't reveal Abilities against Magic Guard prior to Gen 7 2019-12-26 10:17:38 -05:00
Marty-D
1475df0674
Team Preview: Hide Zacian and Zamazenta formes
They transform silently once a battle starts
2019-12-26 10:13:21 -05:00
The Immortal
73c16225b7 Fix G-Max Steelsurge start message 2019-12-26 18:28:56 +04:00
Samantha
eb6d7d831e Fix Sunflora Gen 2 move legality (#6223)
Adding 'Sunflora + Razor Leaf + Synthesis'

Sunflora can only learn Razor Leaf at Level 10, after it evolves. It can only learn Synthesis at Level 31, before it evolves. So it can't have both.
2019-12-26 11:46:40 +09:00
Kris Johnson
578f2199fc Add 'eternamax' alias for Eternatus-E (#6219) 2019-12-25 15:49:48 +09:00
Guangcong Luo
b31b88a79b Add documentation for custom rules 2019-12-25 11:26:23 +09:00
The Immortal
a1b502f901 Random Battle improvements 2019-12-25 05:58:16 +04:00
Guangcong Luo
223e2af9fa Fix Custap Berry, Quick Claw, Stuff Cheeks
- Prevent Custap Berry and Quick Claw from activating on switches

- Stuff Cheeks now bypasses Unnerve and Magic Room
2019-12-25 09:42:39 +09:00
The Immortal
7f87804955 Update Screen Cleaner 2019-12-25 02:00:48 +04:00
The Immortal
f62ff19e8a Improve validation for unobtainable Pokemon
This merges the Glitch and Pokestar tags into a new Unobtainable tag that defines Pokemon that are only obtainable through hacking (such as Floette-Eternal and Missingno.). These Pokemon are legal in Hackmons of their specific generation only. Custom is used in future gens instead of Past because of National Dex legality.
2019-12-25 00:35:39 +04:00
urkerab
b82aeb623b Gorilla Tactics should only lock into the first successful move (#6217) 2019-12-24 20:35:42 +04:00
Guangcong Luo
7f772fba67 Fix Teatime
Fixes #6210
2019-12-24 14:49:47 +09:00
Guangcong Luo
e953747570 Improve error text for Arceus EV Limit rule 2019-12-24 13:39:15 +09:00
urkerab
3d38fbc89f Make semi-invulnerability work in Gen 1 again (#6215) 2019-12-24 02:59:42 +04:00
Kris Johnson
e2a811aae2 CAP: Properly handle learnset updates (#6214) 2019-12-24 02:49:29 +04:00
The Immortal
e04d2eef8b Gen 4: Update Arceus EV limitations 2019-12-24 01:35:45 +04:00
The Immortal
357005970e Grav Apple is boosted in Gravity
Closes #6209
2019-12-23 15:15:52 +04:00
The Immortal
f5eb722bbf Add Standard ND ruleset 2019-12-23 00:33:57 +04:00
The Immortal
ed725ab694 Implement Mimicry mechanics 2019-12-22 18:55:13 +04:00
SalamanderFire
994e646bac Fix Sparkly Swirl data (#6203) 2019-12-22 05:12:16 +04:00
The Immortal
dfcddf8351 Dynamax ends Illusion 2019-12-21 23:58:22 +04:00
The Immortal
85d8aefaaf Eternatus can't Dynamax
This effect (incorrectly) affects hacked Eternatus-Eternamax and is unneeded as Eternatus is unable to Dynamax into Eternamax.
2019-12-21 22:37:10 +04:00
The Immortal
c08d521547 More viable moves updates 2019-12-21 07:36:19 +04:00
Kris Johnson
0135d4f0c8 Take National Dex out of beta (#6195) 2019-12-21 06:11:41 +04:00
The Immortal
2695f5a8b8 Update viable moves 2019-12-21 01:08:56 +04:00
Guangcong Luo
12b49bb5e2 Fix G-Max move descriptions 2019-12-21 05:23:32 +09:00
The Immortal
5bb8dddad8 Delibird's hidden ability is released 2019-12-20 06:23:53 +04:00
Kris Johnson
dd016c21ff Add support in /details for Pokemon that require special trading conditions (#6194) 2019-12-19 20:38:05 +09:00
urkerab
80c45cdf27 Fix No Guard interaction with Perish Song and Tea Time (#6197) 2019-12-19 15:23:36 +04:00
The Immortal
a988a7f560
Fix crash
Remnant from c9af9eacce
2019-12-19 03:30:52 +04:00
The Immortal
ea4d20ab01 Random Battle updates 2019-12-17 05:03:06 +04:00
The Immortal
1548729c11
Prevent Eternamax in Challenge Cup 2019-12-16 05:54:37 +04:00
Kris Johnson
23fbcf747b Update the LGPE moves (#6178) 2019-12-16 05:50:31 +04:00
The Immortal
c9af9eacce Correct forme mechanics
New research shows that only Zacian-Crowned and Zamazenta-Crowned are unobtainable out-of-battle. So, reverting the validateForme changes and hardcoding it in BH instead of using Obtainable Formes.
2019-12-16 05:37:17 +04:00
The Immortal
1b44584e6e Entrainment fails against Dynamax 2019-12-15 03:14:26 +04:00
urkerab
56a0e37e3b Some Utility Umbrella fixes (#6180)
- Cherrim should revert if given a Utility Umbrella in Sun.
- Castform shouldn't keep transforming if it holds a Utility Umbrella.
- Leaf guard Utility Umbrella check works but is just inconsistent placement.
- Sun/Rain affected recovery moves should heal 50% with Utility Umbrella.
- Solar moves power should halve in sand or hail even with Utility Umbrella.
- Weather Ball should double in power if Magic Room blocks Utility Umbrella.
2019-12-15 04:05:25 +09:00
urkerab
1c102b12d0 Gigantamax forme change is client-only (#6181) 2019-12-13 19:21:37 +09:00
Kris Johnson
cb83dda418 Update Utility Umbrella (#6127) 2019-12-13 00:30:57 +09:00
The Immortal
fc4c185005 Refactor validateForme 2019-12-12 17:13:45 +04:00
Guangcong Luo
2aa440ebbd Add hint for Destiny Bond Dynamax interaction 2019-12-12 18:45:56 +09:00
Guangcong Luo
a062a6c96e Fix Custap Berry 2019-12-12 18:23:52 +09:00
Guangcong Luo
d91bad3365 Fix Quick Claw 2019-12-12 17:09:17 +09:00
The Immortal
b2c5b31e1d Random Battle updates 2019-12-12 04:43:31 +04:00
YaBoiJD
9a88d49a83 Fix Ditto from Dynamaxing as a Mega/Primal etc (#6139) 2019-12-12 00:14:47 +04:00
Kris Johnson
f1ad861659 Fix Necrozma-Ultra's inheritance (#6176) 2019-12-12 00:13:14 +04:00
The Immortal
0b044cf280 Skill Swap fails against Dynamax 2019-12-11 23:30:29 +04:00
Guangcong Luo
65187a9053 Improve Dragon Darts
This is not the best implementation and the animation/messages will be
wrong, but the mechanics should be pretty accurate.

Fixes #6085

Fixes #6086
2019-12-11 18:14:29 +09:00
Guangcong Luo
3b86164a77 Fix Quick Claw 2019-12-11 18:12:54 +09:00
Guangcong Luo
8e5fe17617 Fix G-Max Snooze/Replenish
Snooze applies even if the target is behind a Sub.

Snooze/Replenish only have a 50% proc chance.
2019-12-11 18:12:53 +09:00
Marty-D
1b3e577753 Ensure the Room Service holder is the source of the stat change
This matters for Clear Body, etc.
2019-12-11 02:29:48 +04:00
Guangcong Luo
6a4b5db15d Allow Volt Tackle Pikachu
Pikachu gets Volt Tackle by a really weird method, which PS never
implemented. This never mattered until now because PS would just assume
you had an event Pikachu, but with no event Pikachus available in Gen 8,
PS has been rejecting valid Pikachu sets.

This change makes it too permissive, but that's a better stopgap than
being too restrictive.
2019-12-11 03:41:38 +09:00
ZardMX
6cb0ca6299 Ice Face restores on switch-in when hail is active (#6147) 2019-12-11 03:11:42 +09:00
420Blazeitt
143ea606fd Fix type-changing moves & abilities while Dynamaxed (#6080) 2019-12-11 03:10:38 +09:00
The Immortal
c23a0c5d5b Obtainable Moves: Remove unnecessary ban 2019-12-10 19:17:05 +04:00
420Blazeitt
82d1f8ed92 SSB: dont let glitzer popping call gen 8 moves (#6171) 2019-12-10 17:32:18 +04:00
Lusamine
841f8cfab0 Correct Apple evolution methods for Flapple/Appletun (#6172) 2019-12-10 17:02:11 +04:00
Kris Johnson
89002124b3 Change inheritsLearnsetFrom to inheritsFrom and fix Necrozma-Ultra's inheritance (#6168) 2019-12-10 08:03:49 +04:00
The Immortal
26c11a20e8 Add test for Aura Wheel
And clean up the implementation.
2019-12-10 02:05:41 +04:00
The Immortal
23b692e0b3 Fix Dynamax messages 2019-12-09 23:53:04 +04:00
The Immortal
c2b8485ae3 OHKO moves fail on Dynamax
Closes #6165
2019-12-09 16:44:04 +04:00
asgdf
97d76831ea Fix Forretress not showing up in gen 2 randbats (#6164) 2019-12-09 16:29:17 +04:00
Kris Johnson
82dbf537e7 Make G-Max Centiferno/Sandblast mechanics more accurate (#6167) 2019-12-09 16:28:10 +04:00
420Blazeitt
a6117ac954 Gen 8 LC: ban Cherubi (#6166) 2019-12-08 22:13:18 -05:00
The Immortal
7dfc381e9b Leaf Blade + Sucker Punch Shiftry is legal 2019-12-09 05:16:46 +04:00
The Immortal
883ce3fa61 Fix formes in Hackmons Cup 2019-12-09 00:46:08 +04:00
The Immortal
a16c503b11 Random Battle improvements 2019-12-09 00:13:09 +04:00
The Immortal
29fdcc42cf Update Electric/Grassy/Psychic terrains 2019-12-08 22:35:07 +04:00
ZardMX
fa95878e7f Fix order of G-Max Tartness/Terror (#6163) 2019-12-08 21:01:33 +04:00
urkerab
0df06217ce Some Tea Time updates (#6156) 2019-12-08 17:44:24 +04:00
Kris Johnson
2854e71166 Fix various evolution methods (#6160) 2019-12-07 17:15:31 +04:00
Kris Johnson
3c321ca62e Fix G-Max Sweetness's short description (#6157) 2019-12-07 06:37:45 +04:00
Zachary Perlmutter
1e8551a71a Fix Eternatus-Eternamax (#6154)
* Fix bug caused by #6149
2019-12-06 14:10:10 +04:00
The Immortal
ede116418c Fix Gulp Missile
Closes #6155
2019-12-06 13:46:31 +04:00
The Immortal
d8bea75618 Update Power of Alchemy, Receiver, and Trace 2019-12-06 13:33:52 +04:00
The Immortal
600b54a9b1 Unaware ignores attacker's defense boosts
Relevent to Body Press.
2019-12-06 10:47:31 +04:00
The Immortal
0c5e7fb86b Update Copycat/Metronome exceptions 2019-12-06 10:01:01 +04:00
The Immortal
b586ae7188 Random Battle updates 2019-12-06 02:53:00 +04:00
The Immortal
f1530288e5 Move Keldeo-R validation to Obtainable rule
Keldeo-R is not a battle forme and is possible to hack without Secret Sword, unlike most other formes. It should be restricted by the rule that prevents hacks and not the rule that validates battle formes. This is mostly relevant for Hackmons.
2019-12-05 22:36:20 +04:00
The Immortal
534c984106 Cramorant, Eiscue, and Morpeko formes require their respective abilities 2019-12-05 22:03:58 +04:00
The Immortal
aa7421ff48 Psych Up & Transform fail against Max Guard 2019-12-05 18:21:02 +04:00
The Immortal
5de3015d35 Fix Heavy-Duty Boots interaction with Toxic Spikes 2019-12-05 18:11:35 +04:00
Zachary Perlmutter
6621444190 Prevent Eternamax Max HP Doubling (#6149) 2019-12-05 18:06:52 +04:00
The Immortal
6724ce500a Move Kyurem/Necrozma forme legality to Obtainable
Obtaintable Formes is for in-battle forme changes. Obtainable makes sure a team is possible to obtain in-game without hacking. Multiple Kyurem/Necrozma formes are the latter case.
2019-12-05 18:00:01 +04:00
whales
6aa04a842d Fix Pain Split (#6151) 2019-12-05 17:46:59 +04:00
The Immortal
4266000df4 Update forme validation
- In gen 8, Silvally is able to enter battles in different types if it doesn't have RKS System (i.e. it doesn't require a Memory).
- In gen 8, formes that transform in battle are no longer able to start in that forme (relevant to BH).
2019-12-05 07:29:15 +04:00
The Immortal
8f7c22feb0 Fix Gulp Missile
Gulp Missile shouldn't inherit the effects of the move that triggered it.
2019-12-05 03:35:21 +04:00
The Immortal
1ee6a3933d STABmons: Use `isMax` in validator 2019-12-05 03:13:09 +04:00
The Immortal
5ce9aa926d Disable fails against Max moves 2019-12-05 03:11:15 +04:00
The Immortal
c7bc102c5a Max happiness in gen 8 is 160 2019-12-05 03:01:59 +04:00
urkerab
01b6fcc4ca Improve GMax Centiferno, GMax Sandblast and GMax Sweetness (#6148)
- GMax Centiferno applies Fire Spin
- GMax Sandblast applies Sand Tomb behind Substitute
- GMax Sweetness cures despite Substitute or Sap Sipper
2019-12-05 02:21:13 +04:00
ZardMX
3cdebcc3a6 Add Obstruct in list of protection moves (#6124) 2019-12-04 10:32:22 -05:00
Guangcong Luo
a01e2a26bc Fix Darmanitan-Galar-Zen crash 2019-12-04 13:52:44 +09:00
whales
95afe1acc7 Octolock can't hit ghost types (#6137)
Co-Authored-By: Marty-D <Marty-D@users.noreply.github.com>
2019-12-04 13:36:01 +09:00
HoeenHero
fe6ee1339f Sort battle actions by order instead of priority (#6143)
This fixes the issues with priority moves in gen 8.
2019-12-04 12:56:50 +09:00
fart
d1f7dc0bce Snorlax-GMax Released (#6142)
https://serebii.net/swordshield/wildareaevents.shtml
2019-12-04 05:44:05 +04:00
Guangcong Luo
9b943fb62f Fix Dynamax stat handling
We now track `baseMaxhp`, the pre-Dynamax max HP. We also have a new
function `getUndynamaxedHP` for use by moves that use it (famously,
Endeavor).

- `baseStoredStats` is unused outside of the mouseover stats display.
  I updated its implementation to reflect this.

- Power Construct doesn't have a defined behavior during Dynamax. I
  ended up implementing an approximation of what it should probably do.

- Endeavor, Pain Split, Super Fang, and Nature's Madness now work on
  undynamaxed HP.

- Moves that deal or heal percentage damage now do it based on
  undynamaxed max HP, other than G-Max Finale.

Fixes #6131

Fixes #6087
2019-12-04 09:25:46 +09:00
The Immortal
8b19d099fb Random Battle updates 2019-12-04 01:12:48 +04:00
The Immortal
4f95f7adb7 Update Arceus/Silvally mechanics
Relevant to Hackmons, mostly.
2019-12-03 00:41:46 +04:00
The Immortal
198d8ac1ba Update LC banlist 2019-12-02 22:20:56 +04:00
Kris Johnson
9553a82506 Gmax Eevee, Meowth, and Pikachu shouldn't be LC/NFE (#6134) 2019-12-02 19:11:36 +04:00
The Immortal
a133a5b28b Fix 4b324e536
This reverts the other changes that were related to that commit.
2019-12-02 18:13:08 +04:00
Kris Johnson
953531cb6f Add inheritsLearnsetFrom property (#6133) 2019-12-02 21:15:48 +09:00
Guangcong Luo
24fe6b8781 Fix Mago/Wiki Berry descriptions 2019-12-02 17:25:40 +09:00
Guangcong Luo
8484c3312a Optimize Tar Shot 2019-12-02 15:10:56 +09:00
Guangcong Luo
4b324e536e Revert "Pokedex: Update formes"
This reverts commit 302f391381.

Fixes a bug in 77cca394bd
2019-12-02 13:56:54 +09:00
The Immortal
d9c49a2861 Team Preview: Hide items in gen 8 2019-12-02 07:02:19 +04:00
The Immortal
9a0258c128 Meltan doesn't evolve in Sw/Sh
Or even in Let's Go.
2019-12-02 05:02:22 +04:00
The Immortal
4b5c65ac98 STABmons: Prevent Max moves 2019-12-02 04:14:12 +04:00
The Immortal
4ebfac459e Random Battle fixes 2019-12-02 02:40:14 +04:00
The Immortal
c75da0f8f1 Random Battle: Update levels 2019-12-02 00:07:33 +04:00
The Immortal
867e0edfc8 Toxtricity is not tiered separately 2019-12-01 23:59:43 +04:00
The Immortal
6a14a8ed81 December tier update 2019-12-01 23:27:52 +04:00
The Immortal
6055be5624 Random Battle improvements 2019-12-01 21:45:30 +04:00
YaBoiJD
c6ccb747b5 Add 'Past' values for isUnreleased (#6128) 2019-12-01 23:11:20 +13:00
HoeenHero
5c75f0463c Dont turn status moves into G-Max Moves 2019-11-30 16:55:20 -05:00
420Blazeitt
f64bd4e9d3 Defog now removes terrains and G-Max Steelsurge (#6126) 2019-12-01 10:18:14 +13:00
YaBoiJD
546065a10d Update National Dex Mechanics (#6108)
Pokemon that are holding an Item that enables Mega Evolution, Primal Revision, or the use of a Z-Move cannot Dynamax. A Rayquaza that can Mega Evolve also cannot Dynamax.

Also fixes an alias loop with the national dex format/ruleset.
2019-11-30 14:50:09 -05:00
Quinton Lee
aa741c1e0a
Fix National Dex alias 2019-11-30 13:27:23 -06:00
Kris Johnson
1fe47eabdd Add Utility Umbrella (#6120) 2019-12-01 01:24:25 +13:00
Kris Johnson
9b6026af64 Update egg groups for Hawlucha, Bermite, Avalugg, Noibat, and Noivern (#6122) 2019-11-30 19:50:23 +13:00
The Immortal
96d9b16a6b Mix & Mega: Properly allow real megas 2019-11-30 06:15:19 +04:00
The Immortal
1053e80dac GSC: Move Feraligatr to NUBL 2019-11-30 05:37:24 +04:00
urkerab
61ca16f530 G-Max moves should run their effects against a substitute (#6110) 2019-11-30 10:17:10 +13:00
urkerab
4db904df6a Fix two issues with Magic Powder (#6113) 2019-11-29 19:52:49 +04:00
Spandan Punwatkar
97e910a093 National Dex: Ban Unobtainables (#6105) 2019-11-29 23:34:10 +13:00
The Immortal
acd111e7d3 Mix & Mega: Allow native megas 2019-11-29 13:20:35 +04:00
TheMezStrikes
b0dcf0d597 Fix NFE clause in battles (#6109) 2019-11-29 11:51:21 +04:00
HoeenHero
7957e74b75
Dynamic speed updates for Gen 8 (#6100)
In Generation 8, a Pokemon's speed updates dynamically. Meaning that it can move sooner than expected if its speed is modified by something such as tailwind or swift swim. This is different from past generations where the Pokemon's updated speed would only take effect the next turn.
2019-11-28 17:08:58 -05:00
Guangcong Luo
903c297b39 Fix Disguise descriptions
Fixes #6064
2019-11-29 10:06:20 +13:00
Guangcong Luo
cc1f13cf24 Fix G-Max Wildfire
(It does 1/6 damage and doesn't hit Fire types)

Fixes #6104
2019-11-29 10:02:33 +13:00
Spandan Punwatkar
3deb1c69c4 Dexsearch: Allow searching national dex (#6106) 2019-11-28 12:40:30 -05:00
Spandan Punwatkar
0e8ee00acb Add Eternamax forme for Eternatus (#6081) 2019-11-28 12:24:47 -05:00
Spandan Punwatkar
b6b66de896 Update Repo Links (#6102) 2019-11-28 12:47:38 +04:00
Spandan Punwatkar
d1f79e5108 Add alias for Drapion (#6101) 2019-11-28 18:19:23 +13:00
Guangcong Luo
b4ce0c32e3 Fix G-Max Finale again
Our newest research shows that it heals by 1/6 of max HP.
2019-11-28 18:16:02 +13:00
Guangcong Luo
1d2921eb8b Add Grass Knot Dynamax failure message 2019-11-28 18:16:01 +13:00
TZubiri
01dea52db9 Fix Disguise HP loss from 1/10 to 1/8 (#6094) 2019-11-28 15:48:47 +13:00
The Immortal
224465f6f7 Remove Moody Clause from Standard ruleset 2019-11-28 02:52:39 +04:00
ZardMX
00ea982c61 Add full desc for Max moves (#6098) 2019-11-28 11:02:33 +13:00
Marty-D
5390d4b402
Fix Dauntless Shield and Intrepid Sword 2019-11-27 11:30:21 -05:00
HoeenHero
661f52f2c3 Fix crash with Disguise in Gen 7 2019-11-27 08:35:51 -05:00
TheMezStrikes
650a8e49f0 Add aliases for max moves (#6079) 2019-11-27 21:54:29 +13:00
Spandan Punwatkar
599a6e39fc Add some Gen 8 aliases (#6069) 2019-11-27 18:57:17 +13:00
ZardMX
83ecf3984d Clarify doubles interactions for Max moves (#6076) 2019-11-27 18:56:48 +13:00
Guangcong Luo
c04898eab1 Remove Substitute upon Dynamaxing
Fixes #6089
2019-11-27 17:15:42 +13:00
Guangcong Luo
9777c2f344 Remove redundant zMovePower entries
(They're now filled in by the Move constructor.)
2019-11-27 17:15:42 +13:00
Guangcong Luo
4959b70c17 Fix G-Max Finale to be a draining move 2019-11-27 17:15:41 +13:00
The Immortal
bb2ec85564 Random Battle: Improve Avalugg 2019-11-27 04:48:24 +04:00
HoeenHero
7397aa9678 Jaw Lock trapping should end when one pokemon faints 2019-11-26 18:20:09 -05:00
The Immortal
e020334a78 Fix NFE Clause 2019-11-27 02:51:01 +04:00
The Immortal
36b0e6e6a5 Random Battle improvements 2019-11-27 01:57:43 +04:00
420Blazeitt
a10265cb0f Change the current Game Console (#6082) 2019-11-26 16:22:35 -05:00
The Immortal
951d9df6aa Zen Mode: Fix and remove duplicate code 2019-11-26 23:25:18 +04:00
The Immortal
302f391381 Pokedex: Update formes
- Remove prevo from in-battle formes
- Rename Darmanitan-Zen-Galar to Darmanitan-Galar-Zen and update the baseSpecies (this fixes its validation in gen 8 as well)
- Rename Mimikyu-Busted-Totem to Mimikyu-Totem-Busted and change its baseSpecies
2019-11-26 22:56:35 +04:00
420Blazeitt
7319f35ff1 Vice Grip -> Vise Grip in Learnsets (#6093) 2019-11-26 13:34:28 -05:00
HoeenHero
b2625ed70c Remove formeLetters
We don't use these at all currently and they are starting
to overlap. As discussed at the start of Gen 8 development
were removing them now.
2019-11-26 13:26:17 -05:00
HoeenHero
44a7fa0946 Make Dynamax checks more dynamic
Specifically we now check the battle.canDynamax method when
notifying a player about their pokemon's eligibility to dynamax.

This enforces the fact that pokemon that are transformed into
dynamax ineligible pokemon cannot dynamax themselves.

As a result of this change the pokemon.canDynamax flag is unnessecary
and has been refactored to a side.canDynamax flag. All pokemon specific
dynamax checks should use the battle.canDynamax method.
2019-11-26 13:05:38 -05:00
HoeenHero
c0c9bca26b Mark various berries as unreleased in Gen 8 2019-11-26 12:55:49 -05:00
PartMan
e4fbac0d29 Steel Beam hits one adjacent Pokemon (#6074)
Source:
https://pokemondb.net/move/steel-beam
https://pokemon.fandom.com/wiki/Steel_Beam
https://www.serebii.net/attackdex-swsh/steelbeam.shtml
2019-11-26 14:48:13 +04:00
PartMan
ec0ea11d82 Explain Gulp Missile (#6077)
Make Gulp Missile actually explain what it does. This implementation is a bit wordy, though.
2019-11-26 22:42:18 +13:00
ZardMX
c3211652c6 Fix Octolock not activating certain abilities (#6065) 2019-11-26 20:51:21 +13:00
supermii2
cf10a81985 Fix Ice Stone description (#6075)
Description reflects that it can evolve Galarian Darumaka into Galarian Darmanitan
2019-11-26 20:50:25 +13:00
The Immortal
767433dbb7 Fix Clangorous Soul 2019-11-26 01:41:49 +04:00
The Immortal
67870d344b Implement Punk Rock correctly 2019-11-26 01:20:31 +04:00
The Immortal
ac0f865d9a Rename NatDex Anything Goes
And add the thread link.
2019-11-26 00:11:18 +04:00
The Immortal
4110ead42b Fix VGC 17 & re-add US/UM Doubles UU 2019-11-25 20:58:14 +04:00
TheMezStrikes
4e43d64f2c Update format aliases for gen 8 (#6052) 2019-11-25 16:04:35 +04:00
HoeenHero
8792d7345f Most past gen items should still be illegal (#6066) 2019-11-25 22:00:12 +13:00
PartMan
265996a2b4 Shorten Ice Scales shortDesc (#6067) 2019-11-25 20:28:46 +13:00
Guangcong Luo
740004f23e Fix Moody shortDesc 2019-11-25 20:23:09 +13:00
The Immortal
cb98a190c9 Reduce G-Max Finale healing
Not sure what the exact ratio is but half is much closer to the correct value.
2019-11-25 07:22:54 +04:00
The Immortal
d9f3a24462 STABmons: Fix Galar Pokemon 2019-11-25 07:19:59 +04:00
The Immortal
50b7974f28 GSC: Move Pokemon to NUBL 2019-11-25 06:59:58 +04:00
The Immortal
7cccda3b18 Update Other Metagames 2019-11-25 06:53:08 +04:00
Guangcong Luo
5364c63e23 Introduce item.itemUser
`item.itemUser` replaces `item.zMoveUser`, and is a new field
representing a list of possible users of an item, for items that are
restricted to specific species.

`item.zMoveUser` is a base forme for items that affect every forme, and
a forme name otherwise (forme name is currently only used for
`forcedForme` uses).

Arceus is a weird case. Both generic Z crystals and Plates, while
having unique effects on Arceus, also have effects on other Pokémon.
For this reason, Arceus isn't listed as an `itemUser` of either of
these item types - use-cases that want this should also check
`item.forcedForme`.

This is mostly intended to be useful to move-searching and custom
rules (like NatDex, which will only allow past-gen items associated
with removed species).
2019-11-25 15:26:36 +13:00
The Immortal
eff4d957e7 NatDex: Add ruleset & sort OU banlist 2019-11-25 03:06:31 +04:00
Kris Johnson
562c042d28 Fix Gmax Pikachu, Eevee, and Meowth hidden abilities (#6063) 2019-11-24 19:51:54 +13:00
The Immortal
0f1d2b0b5c
Allow Stick in past gens 2019-11-24 06:29:14 +04:00
Guangcong Luo
ed10023df9 Fix G-Max Wildfire/Volcalith mechanics 2019-11-24 14:11:23 +13:00
HoeenHero
05aecec2cd Let Wildfire/Volcalith volatiles end naturally 2019-11-23 19:54:08 -05:00
urkerab
8502de49d8 G-Max Snooze shouldn't affect already statused foes (#6054) 2019-11-24 13:32:06 +13:00
HoeenHero
792396c391 Also fix G-Max Volcalith 2019-11-23 19:25:01 -05:00
HoeenHero
a16de0b698 Use pokemon arguments for G-Max Wildfire's effect 2019-11-23 19:08:34 -05:00
PartMan
d9cd828c0a Add Stick / Rename Vice Grip (#6046) 2019-11-24 12:00:42 +13:00
PartMan
0ed2874932 Clarify misleading move/ability descriptions (#6009) 2019-11-24 11:52:32 +13:00
ZardMX
6094cf5e4b Fix Clangorous Soul not showing up in /ms (#6053) 2019-11-24 10:58:30 +13:00
PartMan
a79bb072a4 Update moves' shortDesc (#6055) 2019-11-24 10:36:56 +13:00
PartMan
caaea5934b Make Max moves deal 25% through Obstruct (#6060) 2019-11-24 10:13:51 +13:00
Kris Johnson
b732a0f0a6 Add missing G-Max moves (#6045) 2019-11-24 10:13:15 +13:00
Kris Johnson
413b28b36f Fix lockedmove volatile interaction with Max moves (#6050) 2019-11-23 22:37:07 +04:00
TZubiri
68593cd168 Updated dark pranster immunity message for gen 8. (#6041) 2019-11-23 20:38:31 +04:00
The Immortal
e8461496ff Update CAP data
- Add gens
- Sort them by evolution family and re-number
2019-11-23 20:11:13 +04:00
Christopher Monsanto
f8fb992888
Restore Searing Shot to past gens (#6058) 2019-11-23 10:18:15 -05:00
The Immortal
f4234fd1ff Update unreleased hidden abilities 2019-11-23 18:54:18 +04:00
The Immortal
030a4f8394 Mr. Mime is available 2019-11-23 04:11:34 +04:00
Kris Johnson
d7d2e2868e Cramorant always changes to Cramorant-Gorging if its HP is 50% or less (#6043) 2019-11-23 01:20:56 +04:00
The Immortal
987d31f8e4 Implement Power Spot 2019-11-22 23:22:36 +04:00
The Immortal
240034d6fb Implement Steely Spirit 2019-11-22 23:17:13 +04:00
The Immortal
492f5ac7d5 Remove Moody Clause from Doubles ruleset 2019-11-22 22:38:57 +04:00
The Immortal
8eb6deb3a3 Bolt Beak & Fishious Rend double against switches 2019-11-22 22:35:40 +04:00
PartMan
9da9c99507 Eternabeam is one word (#6049) 2019-11-22 17:16:28 +04:00
HoeenHero
cd8b85b5a0 Fishious Rend is boosted by Strong Jaw
https://www.smogon.com/forums/threads/3655528/page-15#post-8288436
2019-11-21 20:42:24 -05:00
The Immortal
9c56269e3e
Steel Beam has 95 accuracy 2019-11-22 01:39:33 +04:00
The Immortal
0805535b40 Flag rest of the unusable moves as Past 2019-11-22 01:07:05 +04:00
The Immortal
f46923173a Update OM clauses 2019-11-21 23:54:57 +04:00
The Immortal
ebd501bb04 Update Dynamax messages 2019-11-21 18:01:32 +04:00
Kris Johnson
36eed8cca0 Fix Life Dew (#6044) 2019-11-21 13:46:16 +04:00
HoeenHero
52d8afcab2 Add Gulp Missile 2019-11-20 22:36:22 -05:00
Marty-D
20230d4b9f
Fix typo in Octolock removal 2019-11-20 21:14:06 -05:00
The Immortal
9e55c775b6 Random Battle: Fix Delibird and Salazzle 2019-11-21 03:56:24 +04:00
Jordan Shenfield
11b9c58d23 Fix Stuffed Cheeks (#6023) 2019-11-21 12:42:52 +13:00
The Immortal
4a06a92fd6
Court Change affects Tailwind 2019-11-21 03:08:54 +04:00
Guangcong Luo
744b25935d Dynamax moves are immune to Encore etc 2019-11-21 11:59:13 +13:00
The Immortal
7432ebcc92
Pyro Ball is a bullet move 2019-11-21 02:15:56 +04:00
The Immortal
bb370216e0 Set Gems to Past items 2019-11-20 23:23:05 +04:00
HoeenHero
10b8641465 Correct Max & GMax move targeting 2019-11-20 14:00:04 -05:00
HoeenHero
43b22a04fd Fix dynamax targeting in doubles 2019-11-20 08:55:25 -05:00
The Immortal
1aa1cc3042 Set Castform/Meloetta/Minior formes to Past 2019-11-20 16:01:06 +04:00
The Immortal
90e9d5bb56 Revert "Alolan Vulpix/Diglett are released in Gen 8 (#6035)"
And also part of de147756d that is not necessary.
2019-11-20 15:19:14 +04:00
Kris Johnson
72272356b8 Alolan Vulpix/Diglett are released in Gen 8 (#6035) 2019-11-20 22:48:12 +13:00
Kris Johnson
de147756d7 Mark Alolan formes as Unreleased (#6034) 2019-11-20 22:28:20 +13:00
Guangcong Luo
930540d04b Metronome can't call Dynamax moves 2019-11-20 22:06:21 +13:00
420Blazeitt
acbe8b8404 Cause G-Max Steel Surge hazards to be removed (#6026) 2019-11-20 12:51:57 +04:00
Kris Johnson
8370c488ce Fix the evolution method of new Pokemon (#5982) 2019-11-20 21:44:16 +13:00
Guangcong Luo
b97b426f26 Fix SSB crash 2019-11-20 21:43:01 +13:00
Kris Johnson
480a96998f Fix various LC tiers (#6033) 2019-11-20 21:39:56 +13:00
Guangcong Luo
4a3fd8717e Update Moody
Fixes #6027
2019-11-20 21:28:50 +13:00
Kris Johnson
755e76f253 Fix Tar Shot (#6029) 2019-11-20 20:42:07 +13:00
Guangcong Luo
621d55646a Don't change Ability for temporary forme changes
Fixes #6025
2019-11-20 20:23:05 +13:00
Guangcong Luo
86467ce1bd Fix Octolock
Fixes #5968
2019-11-20 19:53:29 +13:00
Quinton Lee
c3426bd934 Learnsets: fix typo in Roselia's learnset 2019-11-19 20:49:58 -06:00
The Immortal
97689e931a Add Dynamax Clause 2019-11-20 03:20:00 +04:00
The Immortal
426c013cae Add Gmax events 2019-11-20 03:04:16 +04:00
Guangcong Luo
09412bb570 Dynamaxed Pokemon can't be forced out
Fixes #6007
2019-11-20 11:31:27 +13:00
YaBoiJD
bc0d0174d2 Fix Mewtwo-Mega-X & Mewtwo-Mega-Y tiers (#6020) 2019-11-20 01:52:56 +04:00
The Immortal
464c67daa2 Random Battle improvements 2019-11-20 01:46:06 +04:00
The Immortal
6575dbe1f6 Implement G-Max Steelsurge
And remove the unneeded Dynamax checks from G-Max moves as they can't be used outside Gigantamax.
2019-11-20 01:45:32 +04:00
The Immortal
d4da290613 Yamper's ability is Ball Fetch 2019-11-20 01:13:37 +04:00
Guangcong Luo
9c970035e5 Fix "visegrip" spelling
Fixes #6010
2019-11-20 09:39:04 +13:00
The Immortal
0e358e0108 random6Pokemon: Use sampleNoReplace 2019-11-20 00:23:46 +04:00
The Immortal
74a2a3f7af Fix previous commit 2019-11-20 00:19:55 +04:00
The Immortal
f1662921e1 G-Max moves aren't real
They can't be hacked onto Pokemon.
2019-11-20 00:09:17 +04:00
The Immortal
068e5e7e8c Fix Sylveon events 2019-11-19 22:39:48 +04:00
The Immortal
ee5103dbf1 Set Blue/Red Orbs to Past items 2019-11-19 21:47:43 +04:00
The Immortal
ef53aae40c Destiny Bond doesn't affect Dynamax 2019-11-19 20:57:04 +04:00
The Immortal
d3dee35921 Revert egg groups addition for Megas
They don't exist so they don't have these updated egg groups that the base has.
2019-11-19 20:49:58 +04:00
The Immortal
19e832b5f7 Fix Let's Go Random Battle 2019-11-19 20:42:57 +04:00
The Immortal
a28aabdac7 Max Flare is 100 BP 2019-11-19 20:03:08 +04:00
ParthMan
eb97124c36 Update Egg Groups (Trapinch, Ralts lines) (#6017) 2019-11-19 19:56:38 +04:00
Parth Mane
95eace47f9 Update Intimidate Interactions (#6006) 2019-11-19 19:34:07 +04:00
The Immortal
e8dec9a44c random6Pokemon: Support limited Dex
Closes #5976
2019-11-19 18:44:36 +04:00
Christopher Monsanto
ccd0e34c33 Fix previous gen Gumshoos forme (#6014) 2019-11-19 17:31:54 +04:00
Kris Johnson
269886eab3 Fix Max moves' interaction with non-dynamaxed Pokemon (#6013) 2019-11-19 16:36:16 +04:00
The Immortal
2539d885ac Random Battle: Add Cursola and fix Cinderace 2019-11-19 09:32:58 +04:00
420Blazeitt
9ed1dec6bf Fix Max Move effects not activating against substitute (#5997) 2019-11-19 17:17:52 +13:00
The Immortal
a7f5ba92ca Update formats for gen 8 2019-11-19 08:05:42 +04:00
The Immortal
021be9c112 Pokedex: Remove Eternamax remnant 2019-11-19 05:18:54 +04:00
Kevin Lau
3e211e1ffa Random Battle: Update Greedent (#6002) 2019-11-19 04:32:58 +04:00
Alumn
e20d6c3db0 Fix Dragon Darts in Doubles (#6000) 2019-11-19 12:05:13 +13:00
The Immortal
d9a617b0e9 Correct Disguise descs 2019-11-19 00:14:36 +04:00
Nol
075cb04def Fix Spirit Break base power (#5999) 2019-11-19 00:02:58 +04:00
The Immortal
eb905cbe92 Implement Disguise damage 2019-11-18 23:58:00 +04:00
Alumn
7b55fbc537 Fix Tar Shot (#5995) 2019-11-19 05:25:14 +13:00
Nol
5fddc67576 Add dance flag to Clangorous Soul (#5989) 2019-11-19 04:58:34 +13:00
PartMan7
d648f3130e Update shortDesc with Intimidate interactions (#5996) 2019-11-19 04:53:13 +13:00
The Immortal
d86f84a470 Add tutor moves to SwSh starters 2019-11-18 16:13:12 +04:00
The Immortal
7f20f80c8c Add event Silvally 2019-11-18 16:08:39 +04:00
Kris Johnson
7c7d9d79a4 Remove Meowth-Gmax's learnset (#5993) 2019-11-18 18:23:12 +13:00
urkerab
2eec58ee10 Effects of (G-)Max Moves should not be secondaries (#5983) 2019-11-18 12:22:11 +13:00