Commit Graph

5862 Commits

Author SHA1 Message Date
Guangcong Luo
6a4b5db15d Allow Volt Tackle Pikachu
Pikachu gets Volt Tackle by a really weird method, which PS never
implemented. This never mattered until now because PS would just assume
you had an event Pikachu, but with no event Pikachus available in Gen 8,
PS has been rejecting valid Pikachu sets.

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

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

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

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

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

Fixes #6131

Fixes #6087
2019-12-04 09:25:46 +09:00
The Immortal
8b19d099fb Random Battle updates 2019-12-04 01:12:48 +04:00
The Immortal
4f95f7adb7 Update Arceus/Silvally mechanics
Relevant to Hackmons, mostly.
2019-12-03 00:41:46 +04:00
The Immortal
198d8ac1ba Update LC banlist 2019-12-02 22:20:56 +04:00
Kris Johnson
9553a82506 Gmax Eevee, Meowth, and Pikachu shouldn't be LC/NFE (#6134) 2019-12-02 19:11:36 +04:00