Commit Graph

7793 Commits

Author SHA1 Message Date
Marty-D
ed26b0a7de
Descriptions: Update lists of pivot moves 2020-11-13 18:33:16 -05:00
Marty-D
c5b3f10f38
Same Type Clause: Fix Mega check 2020-11-12 16:12:21 -05:00
urkerab
ec8cd25d59
Properly update Diamond Storm boosts for Gen 7 (#7638) 2020-11-12 10:27:18 -05:00
urkerab
2a8f3146ea
Fix Gastrodon-East in Challenge Cup (#7688) 2020-11-12 17:03:24 +04:00
May Evans
370da46cb9
Fix Gen 1 Psywave mechanics (#7685) 2020-11-11 18:56:06 -08:00
The Immortal
fff0f6c806 Release Gigantamax Melmetal
Also added necessary validation for it as its event is a special case.
2020-11-12 05:41:24 +04:00
Kris Johnson
890b4d9f59
Refactor text files (#7680) 2020-11-11 14:40:55 -08:00
Marty-D
2d0e06e497 Past Gens: Fix Fury Cutter 2020-11-09 18:10:05 -05:00
urkerab
5620a31f48
Fix custap berry with gluttony (#7653) 2020-11-07 19:09:47 -08:00
ACakeWearingAHat
155cf001f5
Gen 2 Random Battle improvements (#7651) 2020-11-06 17:54:28 +04:00
urkerab
808e5bb3c4
Restore As One boost activation (#7650) 2020-11-06 03:53:36 +04:00
Guangcong Luo
9b5217ab70
Split up dex-data into more files (#7634)
* Split up dex-data over individual files

This commit introduces:
- `dex-abilities.ts`
- `dex-conditions.ts`
- `dex-formats.ts`
- `dex-items.ts`
- `dex-moves.ts`
- `dex-species.ts`

These files centralize definitions from `dex-data` and `global-types`.

* Inherit ItemData from Item etc

Previously, Condition inherited from ConditionData. Now, ConditionData
inherits from Condition. The advantage of the new approach is that now,
Condition and DataCondition no longer need to be separate types, and
there should be much less duplication of type definitions in general.

This has also been done for

- ItemData/Item/DataItem
- AbilityData/Ability/DataAbility
- FormatData/Format/DataFormat

Species and DataSpecies was already merged, but this also reverses
their inheritance (saving a lot of duplicated definitions in the
process!)

The only one left is MoveData, which is just super complicated and
will need its own commit.
2020-11-05 05:00:13 -08:00
Kris Johnson
fb9d3c6b92
Move Landorus to Uber
https://www.smogon.com/forums/threads/landorus-incarnate-is-now-banned-from-ou.3672804/
2020-11-04 00:53:51 -07:00
The Immortal
2bc4a51a50 Random Battle improvements 2020-11-03 19:43:57 +04:00
Leonard Craft III
920af21aac
Abilities: Add isPermanent flag (#7614) 2020-11-03 10:31:11 -05:00
Kris Johnson
e1c96f8a74
Add Alphabet Cup Move Legality (#7628) 2020-11-03 02:42:34 +04:00
Kris Johnson
d83118162b Update NU-legal Pokemon 2020-11-01 23:55:38 -07:00
The Immortal
88f8140d04 Update ZU-legal Pokemon 2020-11-02 04:38:13 +04:00
The Immortal
c15663508b Gen 2 Random: Fix typo 2020-11-02 02:40:34 +04:00
The Immortal
43235fcfc4 Add new PU bans 2020-11-02 02:36:15 +04:00
The Immortal
a36bda12e7 Gen 2 Random: Fix Rest + Sleep Talk 2020-11-02 02:29:01 +04:00
Kris Johnson
2db0a1fdb2 Mark other Genesect formes as unreleased in DLC1 2020-11-01 15:25:53 -07:00
ACakeWearingAHat
3037781e1d
Revamp Gen 2 Random Battle (#7610) 2020-11-02 01:13:11 +04:00
The Immortal
98feea3237 Update NU-legal Pokemon 2020-11-01 21:27:51 +04:00
The Immortal
985f701cde November tier update 2020-11-01 21:19:52 +04:00
The Immortal
2a19255535 Update Doubles tiers 2020-11-01 20:23:56 +04:00
Kris Johnson
ba4c9d7a2a
Add November's OMotM, LCotM and RoA Spotlight (#7615) 2020-11-01 15:36:24 +04:00
Leonard Craft
0300dadc9e DOU: Ban Marshadow, Shadow Tag
https://www.smogon.com/forums/threads/np-ss-dou-stage-5-one-more-time-jirachi-melmetal-urshifu-single-strike-swagger-quickbanned-marshadow-shadow-tag-quickbanned.3672010/post-8644210
2020-10-31 16:30:28 -05:00
The Immortal
3165246829 Random Battle: Minor updates 2020-10-31 17:38:23 +04:00
The Immortal
91030b547d Add event Milcery 2020-10-31 01:25:17 +04:00
The Immortal
501f502ebc Add Pikachu-World event 2020-10-31 00:07:31 +04:00
The Immortal
42f491a092 Fix Ripen 2020-10-30 14:03:35 +04:00
Kris Johnson
a641cfcce8
Fix Overflow Stat Clause and turn it into a mod (#7604) 2020-10-30 10:59:38 +04:00
The Immortal
8d3e06854f Add Galarica Wreath 2020-10-29 21:01:56 +04:00
edcrfv
29ef7b5580
Fix Hold Hands' num (#7603) 2020-10-29 20:33:36 +04:00
Kris Johnson
ab6e173e24
Move natures into their own file (#7601) 2020-10-29 08:38:03 -07:00
The Immortal
1a0e56a3ac Fix Neutralizing Gas interactions 2020-10-29 04:35:12 +04:00
Kris Johnson
3c23ce3a44
Fix G-Max Depletion (#7571) 2020-10-28 16:54:58 -07:00
The Immortal
76e70ab6ae Genesect formes should also be Uber 2020-10-29 02:04:01 +04:00
The Immortal
e12591ad0a Move Genesect and Naganadel to Uber 2020-10-29 01:48:07 +04:00
Kris Johnson
b1e2331c7b
Fix Slow Start's interaction with Neutralizing Gas (#7580) 2020-10-28 12:51:33 -07:00
The Immortal
2e6ccdd738 Random Doubles: Fix Regieleki 2020-10-28 22:47:43 +04:00
urkerab
4da5d66951
Make Eerie Spell's secondary effect secondary (#7575) 2020-10-27 13:58:41 -07:00
The Immortal
5353a8a239 Random Battle improvements 2020-10-27 22:56:10 +04:00
Guangcong Luo
7eafea8ee1 Add client text data
This syncs data/text to exactly match the client's data/text, in
preparation for them to be merged. The server's data/text will be
canonical, moving forward:

Relevant changes:

- A new file `data/text/default` has been added, for battle messages
  not associated with a move/item/ability.

- As One (Glastrier) and As One (Spectrier) should not have a start
  message; only As One itself.

- Hidden Power's `realMove` property does not belong in data/text
  and has been removed (it's still in data/moves where it belongs).
2020-10-27 16:56:08 +00:00
The Immortal
4be8cc8355 Add Overflow Stat Clause 2020-10-27 00:35:51 +04:00
ACakeWearingAHat
b4ac82a807
Allow Randdubs Power Construct Zydog (#7583) 2020-10-26 23:31:27 +04:00
Mia
d625976216
Rulesets: Fix crash in CCAPM2 (#7582) 2020-10-26 22:33:08 +04:00
The Immortal
f565659fd3 Random Battle updates 2020-10-26 20:12:55 +04:00
ACakeWearingAHat
186dbae731
Random Doubles Updates (#7569) 2020-10-26 20:05:10 +04:00
urkerab
ff0ca077b6
Update Lunar Dance to Gen 8 mechanics (#7576) 2020-10-26 19:39:39 +04:00
May Evans
e102416793
Ban Japanese Gen 1 Events in Int Formats: Part 2 (#7581)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-10-26 06:00:35 -07:00
The Immortal
f1d82ee1e0 Add gift Toxel event data 2020-10-26 06:15:51 +04:00
urkerab
83d1556fa6
Ignore As One boosts when already maxed out (#7574) 2020-10-26 05:56:55 +04:00
Kris Johnson
c3ea57f8cc
Fix typo 2020-10-25 18:15:01 -06:00
urkerab
b90f03b77e
Calculate natures with 16-bit truncation (#7540)
Also fixes Let's Go! which wanted to override these but couldn't.
2020-10-25 16:54:43 -07:00
Marty-D
1f07a6ead9 Update descriptions 2020-10-25 16:15:57 -04:00
LegoFigure11
eea703eef9
Fix Crown Tundra Pokedex validation (#7573) 2020-10-25 15:59:10 +04:00
Kris Johnson
3e15896a0d Restrict Calyrex-Ice and Calyrex-Shadow correctly 2020-10-24 20:25:32 -06:00
Marty-D
56fe32b14b
Prevent Abilities from copying As One as well 2020-10-24 18:22:08 -04:00
The Immortal
a832a0f4c5 Add event Porygon 2020-10-25 01:27:45 +04:00
The Immortal
58e8e4203d Micle Berry is obtainable 2020-10-25 01:15:36 +04:00
Leonard Craft
700063e183 DOU: Ban Jirachi, Melmetal, Dark Urshifu, Swagger
https://www.smogon.com/forums/threads/np-ss-dou-stage-5-one-more-time-jirachi-melmetal-urshifu-single-strike-swagger-quickbanned.3672010/post-8636825
2020-10-24 13:47:05 -05:00
Kris Johnson
3248a888cb
Add Tundra Tourney (#7565) 2020-10-24 13:50:02 +04:00
The Immortal
24806cdcd5 Add Regigigas and Poipole events 2020-10-24 07:38:56 +04:00
Kris Johnson
a1058ac29c
Convert VGC 2020's mod to a pre-DLC2 mod (#7564) 2020-10-24 06:00:29 +04:00
The Immortal
5b83c5b15e Update learnsets
Added legendary dynamax events.
Removed multiple level up entries.
Copy corrections to VGC20 mod.
2020-10-24 05:47:51 +04:00
Marty-D
f5b0b6dc2c
Add As One entry message 2020-10-23 19:56:24 -04:00
The Immortal
ada31d73b6 Soul Dew is available 2020-10-24 03:45:42 +04:00
Marty-D
0f17b39dd3 As One cannot be suppressed, acquired, or removed 2020-10-23 19:13:27 -04:00
The Immortal
4ddc744847 Add new Random Battle sets 2020-10-23 21:14:38 +04:00
The Immortal
498e38502a Implement As One correctly 2020-10-23 21:10:18 +04:00
The Immortal
24afc0f57e Show Genesect forme in Team Preview 2020-10-23 20:51:16 +04:00
The Immortal
8d7b72c606 Release the berries 2020-10-23 19:41:40 +04:00
The Immortal
b4f3c98630 Update obtainable items
Haven't seen confirmation of Soul Dew yet.
2020-10-23 18:52:15 +04:00
The Immortal
8eddf3724e Fix Eerie Spell 2020-10-23 18:37:56 +04:00
The Immortal
e9c62cb86d Prevent As One from being copied or removed 2020-10-23 18:01:51 +04:00
The Immortal
6d341a1c83 Add new aliases 2020-10-23 16:10:29 +04:00
The Immortal
dfd69727a2 Learnsets: Add new event data 2020-10-23 15:10:53 +04:00
Kris Johnson
879570dc43 Fix As One attribution text 2020-10-23 03:45:13 -06:00
The Immortal
e6c220cba8 Fix Steel Beam error in learnsets 2020-10-23 13:32:04 +04:00
Instruct
bc93cfc249
Fix Moltres's stats (#7562)
Apparently they got overwritten with galars counterpart
2020-10-23 02:09:29 -04:00
HoeenHero
1687bd16c3 Crown Tundra Learnsets: Add Missing Moves
My script had a flaw where it would not add entires for moves that
a pokemon did not learn previously (eg: Electric Terrain Tapu Koko,
Mystical Fire Latios, Close Combat Blaziken). This fixes this issue.
2020-10-23 02:05:04 -04:00
Kris Johnson
7242eaef29 Fix Thunderous Kick 2020-10-22 23:53:11 -06:00
Instruct
070298e07b
Abilities: Fix Grim Neigh typo (#7561) 2020-10-22 23:33:55 -06:00
The Immortal
0b79d508ce Fix another typo 2020-10-23 09:16:00 +04:00
The Immortal
1dcd7d1e24 Fix typo in ability text 2020-10-23 09:15:08 +04:00
HoeenHero
6875ade816 Crown Tundra: Add and Update Learnsets
It was mentioned that theres some lingering issues that existed
before this update with some pokemon not having Steel Beam/Draco Meteor
that should. I'm noting this here so its not forgotten.
2020-10-23 00:41:37 -04:00
Kris Johnson
e5c2616531 Let Rayquaza Mega Evolve in National Dex formats 2020-10-22 22:37:11 -06:00
The Immortal
0901f23ecf Prevent Mega Rayquaza in gen 8 2020-10-23 08:11:16 +04:00
Kris Johnson
2f0dc16cf6
Add activation messages for Curious Medicine
credits marty
2020-10-22 22:04:08 -06:00
Kris Johnson
41ed00002f
Fix oversights from adding Crown Tundra DLC (#7559) 2020-10-23 07:45:12 +04:00
The Immortal
d589c7ef1d Add move descriptions 2020-10-23 07:27:10 +04:00
The Immortal
2a03b7fd88 Add new moves 2020-10-23 07:13:55 +04:00
The Immortal
ed347748d5 Missed this file in 42e918a78 2020-10-23 06:50:14 +04:00
The Immortal
42e918a781 Add VGC 2020 mod 2020-10-23 06:47:00 +04:00
The Immortal
1754b7dc2f Add Crown Tundra Pokemon
TODO: Learnsets
2020-10-23 06:40:50 +04:00
The Immortal
df4d82c10b Add Pikachu-Alola event 2020-10-22 17:43:22 +04:00
The Immortal
cf3405210f Gen 7: Random Battle updates 2020-10-21 22:15:12 +04:00
The Immortal
61dacb6252 Random Battle improvements 2020-10-21 21:04:21 +04:00
Kris Johnson
ac8cf19c26
Gigantamax Melmetal is unreleased 2020-10-20 19:56:01 -06:00
Distrib
8b659d491b
Add alias for National Dex (#7546)
https://www.smogon.com/forums/threads/make-the-tier-commands-for-national-dex-formats-more-consistant.3672067/
2020-10-20 04:28:37 -07:00
Guangcong Luo
a55d3cd530 Fix crashes from using moves with no target
Specifically, if you target your ally and your ally uses Ally Switch
(causing you to target yourself), certain moves (including Thunder,
Hurricane, and SSA) crash. This has been fixed.
2020-10-19 18:10:25 +01:00
The Immortal
6cc76479b5 Shorten Steel Roller shortDesc
To make it fit.
2020-10-19 17:07:27 +04:00
Guangcong Luo
9d87616176
Add more style linting rules (#7537)
* Lint arrow-body-style

* Lint prefer-object-spread

Object spread is faster _and_ more readable.

This also fixes a few unnecessary object clones.

* Enable no-parameter-properties

This isn't currently used, but this makes clear that it shouldn't be.

* Refactor more Promises to async/await

* Remove unnecessary code from getDataMoveHTML etc

* Lint prefer-string-starts-ends-with

* Stop using no-undef

According to the typescript-eslint FAQ, this is redundant with
TypeScript, and they're not wrong. This will save us from needing to
specify globals in two different places which will be nice.
2020-10-19 02:42:28 -07:00
May Evans
0ee6e5f3ce
Fix Stadium Struggle vs Ghost-types (#7527)
Struggle should deal neutral damage to Ghost-types in Stad1 exclusively. I'm not exactly a "programmer", but if I can help fix this sim improve then that's good enough for me.

Source: https://www.smogon.com/forums/threads/stadium-format-is-now-available-on-ps.3526616/post-8517229

Thanks to Kris for helping me figure out what to do, it means a lot.
2020-10-19 00:59:34 -07:00
Marty-D
900a375c79 Add CAP 28 2020-10-18 19:26:33 -04:00
The Immortal
618e385126 Add Pikachu-Kalos event 2020-10-19 00:47:59 +04:00
Instruct
8007f54990
PU: Ban Exeggcutor (#7539)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/page-2#post-8629532
2020-10-18 21:44:38 +04:00
The Immortal
5c39dcc9ce Random Battle updates 2020-10-17 14:37:13 +04:00
Kris Johnson
6699a57f4d
Fix spread move mechanics in ADV Doubles (#7523) 2020-10-16 11:22:48 -04:00
The Immortal
845b8f1458
Gen 1 Random: Give Magikarp Splash 2020-10-16 10:27:30 +04:00
May Evans
049ccaf368
Remove illegal moves from RBY Random Battles (#7528)
This removes Harden from Kakuna and Dragon Rage from Magikarp.

Harden is incompatible with Poison Sting and String Shot, as Kakuna doesn't learn it upon evolving like Metapod. 
https://www.smogon.com/forums/threads/random-battles.3526564/post-8577809

Magikarp only gets Dragon Rage via a Japanese event, and since international RBY mechanics are used, it's impossible for this to be used. 

As far as I know, these are the only incompatibilities.
2020-10-16 04:53:36 +04:00
The Immortal
61ec675bf8 Add Pikachu-Unova event 2020-10-15 21:38:56 +04:00
Nol
cabc990cd0
Add alias for Shell Side Arm (#7524)
* Add alias for Shell Side Arm

* Also add ssa as an alias
2020-10-15 19:28:46 +04:00
The Immortal
7638f8238a Fix Present healing vs Substitute 2020-10-15 18:46:58 +04:00
Kris Johnson
21663f95e4 Fix formatting for G-Max moves 2020-10-15 02:44:17 -06:00
Marty-D
131aa64a5e
Fix Gulp Missile's interaction with Disguise 2020-10-14 11:43:10 -04:00
The Immortal
84e0aeb8d1 Gen 7: Random Battle updates 2020-10-14 04:21:44 +04:00
Kris Johnson
4ea47cb308
Gen 4: Move Arceus to AG (#7511) 2020-10-12 03:01:50 +04:00
The Immortal
a4c38fb898 Random Battle improvements 2020-10-09 13:54:52 +04:00
urkerab
287aa2a42f
Fix Jungle Healing when target's HP is full (#7494) 2020-10-08 21:10:03 -04:00
Marty-D
744760ed24
Fix Wandering Spirit interaction with Protective Pads 2020-10-08 21:09:15 -04:00
The Immortal
f07de8ee30 Add Pikachu-Sinnoh event 2020-10-08 19:25:14 +04:00
PartMan
52f67edd0d
Fix typo (#7491)
Obligatory Hacktoberfest typofix.
2020-10-07 23:36:16 -07:00
Leonard Craft
8c3dd0ba79 Correct Wicked Blow / Surging Strikes / Jungle Healing flags 2020-10-06 21:11:20 -05:00
Kris Johnson
3e0a47c4b3 Iron Fist boosts Surging Strikes and Wicked Blow 2020-10-06 19:30:55 -06:00
Marty-D
5842ef9272
RU: Ban Sigilyph
https://www.smogon.com/forums/posts/8619991/
2020-10-06 21:29:42 -04:00
The Immortal
f01a965570 Random Battle improvements 2020-10-05 04:27:57 +04:00
The Immortal
de65af6d99 Update PU 2020-10-05 04:25:42 +04:00
The Immortal
bdd77a0dff Correct Meowstic-F's tiers 2020-10-04 20:14:24 +04:00
Instruct
ea7eb0942f
NU: Ban Sneasel and Snorlax (#7471)
https://www.smogon.com/forums/threads/np-nu-stage-3-rain-on-me-bans-post-87.3669764/page-4#post-8616977
2020-10-04 16:03:38 +04:00
Kris Johnson
84f37bed2c
ViAbilities: Fix Vespiquen's moves 2020-10-03 20:26:36 -06:00
Kris Johnson
649a148d05 ViAbilities: Fix typos 2020-10-02 22:45:35 -06:00
The Immortal
fc3262187c Update Pikachu events 2020-10-02 22:32:20 +04:00
Kris Johnson
9f0b6d64d0
Add new Pet Mods of the Season (#7455) 2020-10-02 21:08:29 +04:00
Instruct
6aaca88f66
PU: Update bans (#7454) 2020-10-01 20:07:18 -06:00
The Immortal
fec1f89203 October tiers update 2020-10-01 20:23:34 +04:00
The Immortal
61b484ee4a Past gens random battle updates 2020-10-01 17:51:20 +04:00
The Immortal
ca3a106815 Learnsets: Sort V before S 2020-10-01 04:26:23 +04:00
Marty-D
edf7e9e37a Add event Charizard
Thanks Anubis!
2020-09-30 19:54:04 -04:00
The Immortal
7855d4772d Random Battle improvements 2020-10-01 00:52:55 +04:00
Guangcong Luo
3d68248efa Update to latest eslint
We're skipping two major typescript-eslint versions, so there are a
bunch of changes here, including:

- it's catching a lot of things it didn't catch in the past, for
  reasons unclear to me

- no-unused-vars has to be explicitly disabled in global-types now

- a lot of `ts-ignore`s were never necessary and have been fixed

- Crashlogger can now handle being thrown things that aren't errors.
  This has never been a problem in the past, but to satisfy TypeScript
	we might as well not die in a fire on the off chance someone tries to
	`throw null` or something.
2020-09-29 15:28:08 -07:00
The Immortal
6ca7c8b9d0 Add new event Pikachus 2020-09-29 23:42:35 +04:00
The Immortal
3a929468da Add Pikachu-World's learnset 2020-09-27 21:43:00 +04:00
Marty-D
54f03f033c Learnsets: Fix Raticate's Gen 7 TMs 2020-09-27 12:25:00 -04:00
Kris Johnson
ecff78719c
Move Lycanroc-Dusk to UUBL 2020-09-26 00:41:54 -06:00
The Immortal
ccca25fc55 Fix Grudge interaction with Dynamax 2020-09-26 05:37:10 +04:00
The Immortal
3a7085d26b Copycat fails on Behemoth moves 2020-09-26 05:00:47 +04:00
The Immortal
2b0c77939f Correct Weakness Policy mechanics
And added relevant Burning Jealousy tests.
2020-09-26 00:56:41 +04:00
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