Commit Graph

691 Commits

Author SHA1 Message Date
Ivo Julca
54c8c8a0ad Hackmons: fix decisions being overriden when Struggle is in the first slot 2015-04-26 17:36:36 -05:00
Guangcong Luo
4db053befe Revert "Show fail message when status is blocked by Sub"
This was implemented exactly the wrong way and showed fail messages
in a lot of situations they shouldn't show up, such as when
Close Combat's Def/SpD drops didn't happen.

This reverts commit 1edc40f936.
2015-04-25 21:58:09 -05:00
Juanma Serrano
9ace640bcc Merge pull request #1808 from RhythmsAreFromVibrations/seasonal
Super Staff Bros.: Add %Kayo
2015-04-25 14:57:08 +02:00
Kevin Lau
b55951d5db Random Battle: Slightly tweak Hidden Power rejection check
STAB Hidden Power without the Pokemon's other STAB can be bad. Since
there's no real way to check if the Pokemon has the other STAB with the
current system, it's better to remove that check.
2015-04-24 18:23:31 -07:00
The Immortal
3d2aee35ed Merge pull request #1810 from ascriptmaster/randoms
Random Battle: Improve Hidden Power rejection check
2015-04-25 06:44:15 +08:00
Kevin Lau
25d50dc2b1 Random Battle: Improve Hidden Power rejection checks
Reject Hidden Power with Special setup and 2 Special moves if:
- It is not STAB
- It is not part of a Ghost/Fighting combination
- It is not part of an Electric/Ice combination
- It is not being used by Lilligant, which needs it for coverage
2015-04-24 15:09:41 -07:00
Kevin Lau
04052d6449 Random Battle: Tweak Shedinja's EVs
HP/Def/SpD EVs are completely useless on Shedinja.
2015-04-23 19:45:47 -07:00
Joimer
4938087d53 Super Staff Bros.: Demote Vacate
He quit :(
2015-04-21 19:46:23 +02:00
Kevin Lau
43171a8613 Random Battle: Improve Trick Room rejection
Pokemon with Trick Room should be ready to attack once it's up, and don't
really have time to set up, so it's rejected with setup.
2015-04-21 01:30:42 -07:00
Rhythms
8c6edb7038 Super Staff Bros.: Add %Kayo
I also moved %Hugendugen's entry quote because it wasn't in the right
place and I changed the double quotes to single quotes.
2015-04-20 22:22:28 -06:00
Guangcong Luo
80102c29e4 Merge pull request #1798 from ascriptmaster/randoms
Random Battle Refactor: Move Tracking split off as seperate function
2015-04-21 04:21:43 +00:00
Kevin Lau
e1d7393620 Random Battle Refactor: Move Tracking split off as separate function
This will help reduce repetition, and also will allow for the move
tracking to easily update after the final moveset modification
(for example, allowing Choice Band/Scarf Mega Rayquaza if its last
Status move was overwritten by Dragon Ascent).
2015-04-20 12:20:23 -07:00
Kris Johnson
e5d4e02c5a Super Staff Bros.: Fix single quotes 2015-04-18 15:39:34 -06:00
Kris Johnson
857d3c8f23 Super Staff Bros.: Add %Bumbadadabum 2015-04-18 11:09:09 -06:00
Juanma Serrano
bd5d724d0e Super Staff Bros.: Remove imanalt
People who are demoted from rulebreaking are not entitled to a voice character.
Exceptions are made only for meme former staff.
2015-04-17 12:22:53 +02:00
Kris Johnson
7d81d7623a Super Staff Bros.: Remove a move from %QuoteCS
Removed Dragon Ascent so QuoteCS's signature move could allow him to
keep the SpD boost.
2015-04-17 03:15:21 -06:00
The Immortal
1edc40f936 Show fail message when status is blocked by Sub 2015-04-17 03:31:30 +04:00
Konrad Borowski
027b45e75f Super Staff Bros.: Promote @xfix 2015-04-16 15:10:47 +02:00
Konrad Borowski
0f93a57e8b Super Staff Bros.: Promote @trinitrotoluene. 2015-04-15 18:35:26 +02:00
Konrad Borowski
5d990198e9 Super Staff Bros.: Fix name of %Crestfall's signature 2015-04-14 22:18:00 +02:00
Guangcong Luo
54947b665f Merge pull request #1728 from ascriptmaster/move-fixes
Move refactor: moves/items that ignore immunity/effectiveness
2015-04-14 17:05:22 +00:00
Konrad Borowski
9172e7a3a5 Super Staff Bros.: Add %galbia. 2015-04-14 12:57:58 +02:00
Konrad Borowski
ca7f91d1d3 Super Staff Bros.: Demote imanalt. 2015-04-12 18:19:20 +02:00
Kevin Lau
8245e1d3b9 Random Monotype: Treat Castform-Sunny and Castform-Rainy as Normal-type 2015-04-10 15:25:31 -07:00
Juanma Serrano
8d149dea2e Monotype RandBats: Make Meloetta-P get into Normal or Psychic teams 2015-04-10 14:31:24 +02:00
Kevin Lau
936f95d64d Random Double Battle: Update move rejection for -ate Pokemon
Remove hardcoded checks that give -ate Pokemon Normal moves, instead using
the Random Single Battle's code.
2015-04-08 14:24:28 -07:00
The Immortal
f1e669e24a Update Random Battle script
Removed the hardcoded moveset modifications for Pokemon with -ate
abilities.
2015-04-08 20:52:24 +04:00
The Immortal
70c3dbe046 Random Battle: Modify custom levels
Ninetales and Politoed are kept because weather is banned in UU (and
below) so they are PU as a result. However, weather is in Random Battle
so they are lowered to RU level. The same applies to Wobbuffet and
Shadow Tag.
2015-04-08 15:29:22 +04:00
Kevin Lau
2e56120ad9 Move refactor: affectedByImmunities -> ignoreImmunity
While move.affectedByImmunities was always a Boolean value to denote if
the move was affected by immunities, move.ignoreImmunity can be a Boolean
value if it ignores or is affected by all type immunities, but also can
act as an object such that !!move.ignoreImmunity[type] means it ignores
immunities of that type.
2015-04-08 00:17:12 -07:00
Kevin Lau
51690081dd Random Battle: Reject Leaf Blade with Giga Drain and no Setup
Affects Mega Sceptile.
2015-04-07 16:59:10 -07:00
The Immortal
a33aecbe83 Random Battle: Make sure Mega Glalie has a Normal move 2015-04-08 02:45:47 +04:00
Kris Johnson
05c3f0397e Seasonal: Update %QuoteCS's EVs 2015-04-07 16:33:09 -06:00
Konrad Borowski
7b071f45a3 Super Staff Bros.: Implement Charles Carmichael 2015-04-07 18:17:14 +02:00
Juanma Serrano
8bedc8aa6d Merge pull request #1740 from RhythmsAreFromVibrations/master
Seasonal: Adjust a lot more
2015-04-07 17:57:39 +02:00
Kevin Lau
6b2234a4dd Random Battle: Update Porygon2, improve Water redundancy checks
Reject Hydro Pump with Waterfall (affects Samurott and Kingdra).

Reduce the number of moves available to Porygon2 so it has a higher chance
of getting Recover.
2015-04-07 02:54:23 -07:00
Kris Johnson
83ef4c5792 Seasonal: Adjust a lot more
Added `%QuoteCS`'s Pokémon, move, and entering/dying phrases (I
talked with him on PS! for info on what he wanted).
Fixed casing on `%Birkal`, `%DTC`, and `%raseri`.
Moved `@rekeri`'s and `@Timbuktu`'s moves to the correct places.
2015-04-06 20:45:52 -06:00
Kevin Lau
bc273b0773 Random Double Battle: Update Huntail, Remove Icy Wind/HP-Ice check
The Doubles EV generator means it's more beneficial to give Huntail all
Physical moves (252 Atk Ice Fang outdamages 0 SpA Ice Beam, for example)

Remove Icy Wind/HP-Ice redundancy check because Keldeo no longer has
Hidden Power Ice on its random battle sets.
2015-04-06 12:40:59 -07:00
Kris Johnson
9dc504a737 Seasonal: Adjust a lot
fixed casing on astara, bean, barton, and haunter
fixed `@Timbuktu`'s rank and added custom messages
added MattL and shaymin to voices since they 'retired/resigned'
2015-04-05 22:25:49 -06:00
The Immortal
fcc619e7ca Merge pull request #1730 from ascriptmaster/randoms
Random Battle: Update Tauros
2015-04-06 05:12:25 +04:00
Kevin Lau
7a97f790a4 Random Battle: Update Tauros
Single Battle: Replace Rock Climb with Return if Tauros does not have
Sheer Force (1/3 chance of getting Intimidate)

Double Battle: Remove Rock Climb for Return and add Stone Edge, since
Tauros always has Intimidate in Random Double Battles
2015-04-05 18:03:28 -07:00
The Immortal
4949d4a476 Random Battle: Reject Rock Climb with Double-Edge 2015-04-06 04:56:47 +04:00
The Immortal
1c9fb89988 Remove isTwoTurnMove property and use charge flag 2015-04-05 03:27:32 +04:00
Guangcong Luo
77b232ec25 Fix Substitute blocking foeSide moves
TryPrimaryHit, originally created for Substitute, is currently
being used for Substitute, gems, and auras. Neither of these
should affect all, foeSide, and allySide moves, so the event no
longer fires in these cases.

Included: Bonus: unit test for Substitute not blocking Stealth Rock
2015-04-03 22:48:24 -04:00
Rhythms
f05af24486 Seasonal: Capitalize Bean 2015-04-03 19:13:31 -06:00
The Immortal
a706b5601c Update Random Battle level scale 2015-04-03 17:14:22 +04:00
Cranham
64939bf3ad Random battles: Reject ice beam & freeze dry together
Seems a bit redundant to have both together. affects articuno and lapras
2015-04-03 02:11:56 +01:00
The Immortal
08f108aefd Random Battle: Merge Rain Dance and Sunny Day checks 2015-04-02 15:24:48 +04:00
Kevin Lau
703399bc8b Random Battle: Split Castform into Sunny and Rainy Formes
Also implement fix for Meloetta starting out in Pirouette Forme in Random
Doubles Battles.
2015-04-01 17:42:47 -07:00
Juanma Serrano
c1210f33ff Implement OMotD contender, Mr Bones Wild Ride 2015-04-01 17:16:50 +02:00
Juanma Serrano
29b13451b6 Implement OM of the Decade
Disregard puny OM of the Month thing. That's for losers anyway.
From now on, the strongest and best OM is going to be added as the OM of the Decaed.
It will only be changed when a strongest OM appears and beats it off.
Right now, with no contender really, that OM is Final Destination. Any other OMs just pale in comparison.
2015-04-01 10:00:11 +02:00