Commit Graph

867 Commits

Author SHA1 Message Date
Guangcong Luo
10a69642f7 Fix crash in old Substitute system 2013-07-01 19:54:06 -07:00
Bill Meltsner
84f6173c11 Items cleanup
- Fix Micle Berry (and Custap Berry, in Gen 4) to properly trigger with Gluttony
 - Make Micle Berry's volatile references consistent with the rest of the codebase
 - Properly alphabetize Moon Ball
2013-06-30 13:57:09 -07:00
Guangcong Luo
0d46789e6b Merge pull request #261 from Jay2645/master
Minor adjustments to random set logic, minor cleanup of code from previous commit
2013-06-30 13:52:39 -07:00
Jay2645
c46ea5da3a Circle Throw is treated like Dragon Tail 2013-06-29 23:57:39 -07:00
Jay2645
2098ea8c7f Random Battle Choice Scarf fix 2013-06-29 23:15:40 -07:00
Jay2645
129be4e91a Fixed case where a Pokemon could get Baton Pass without having anything to pass. Also added check for recoil moves before adding Focus Sash and allowed Choice Band/Choice Specs to be considered if you have Trick or Switcheroo and 3 attacking moves of the same category. 2013-06-29 22:08:59 -07:00
Guangcong Luo
a037bdfcb4 Merge pull request #260 from Jay2645/master
Added check to make sure Random Battle movesets have a STAB move before being added.
2013-06-29 14:38:59 -07:00
Jay2645
7584a01634 Removed unnecessary code, removed unreliable check, cleaned up section of code. 2013-06-29 13:15:08 -07:00
Jay2645
5a3515846f Removed two lines from an older commit that were no longer being used. 2013-06-29 11:27:57 -07:00
Jay2645
a4965e4062 Updated Random Battle set generation with more comments and system to try and find STAB moves. 2013-06-29 02:58:18 -07:00
Jay2645
41f7a99c4a Added check to make sure sets have a STAB move (if possible) before being added. 2013-06-28 15:39:58 -07:00
Joim
b22269422a Fix Life Orb
Life Orb uses now BattlePokemon.prototype.modify which does the correct calculator for damage modifiers and in the correct order thanks to the ModifyDamage event.
2013-06-27 23:46:31 +02:00
V4Victini
79befc7880 Sandshrew does not learn Vital Throw
OT: JEREMY Sandshrew have the following moveset: Scratch, Defense Curl, Sand Attack, and Poison Sting.
2013-06-25 22:50:01 -03:00
V4Victini
04850adf96 Sandshrew does not learn Vital Throw
OT: JEREMY Sandshrew have the following moveset: Scratch, Defense Curl, Sand Attack, and Poison Sting.
2013-06-25 22:43:48 -03:00
Jay2645
789b10672e Corrected another typo in comments for Basculin. 2013-06-25 18:17:15 -07:00
Jay2645
a2ec73e549 Corrected typo in comments for Basculin. 2013-06-25 18:13:46 -07:00
Guangcong Luo
93d22073a8 Refactor randbat team generator
The main difference here is that the evolution family restriction
has been replaced with a 'limit one of each type combo' restriction.

Every other change is just refactoring.
2013-06-25 17:47:00 -07:00
Guangcong Luo
cd47fccf6d Revise random battle changes for PS coding style 2013-06-25 17:09:08 -07:00
Jay2645
e4399f3d19 Fixed formatting in Random Battle changes. 2013-06-25 16:52:25 -07:00
Jay2645
0d1b47344a Modified Random Battle code to prevent unfair teams. 2013-06-25 15:40:05 -07:00
The Immortal
217664c3c3 Add June events
Torterra, Infernape, Mewtwo, Emboar, Samurott
2013-06-25 20:54:14 +04:00
Guangcong Luo
b80cf3b945 Fix Baton Pass failing 2013-06-23 13:05:21 -07:00
Guangcong Luo
81ece027c9 Disable OU no SR ladder 2013-06-23 13:04:54 -07:00
Joim
4e64be4447 Add Stealth Rockless OU format
The OU council needs an OU format with no Stealth Rock to study the impact on the metagame this change would have, to be able to decide on a Stealth Rock ban in gen 6, which will shape the gen 6 OU metagame.
This metagame is not the same as a suspect test, so it cohabitates with regular OU and any ongoing suspect.
More info: http://www.smogon.com/forums/showpost.php?p=4725140&postcount=196
2013-06-21 10:35:27 +02:00
Guangcong Luo
8b5e94e06f Fix an obscure Substitute-related crash 2013-06-20 06:22:30 -05:00
Marty-D
5e0acfb56b Correct previous commit. 2013-06-19 21:28:50 -04:00
Marty-D
5d1db9bb71 Remove redundant force-switch fail message.
- Suction Cups, Ingrain, and Soundproof have their own messages.
2013-06-19 20:41:15 -04:00
Guangcong Luo
0c53bd7e98 Fix self-secondaries not activating 2013-06-19 17:57:27 -05:00
Guangcong Luo
fc9725efad Show a fail message when force-switch moves fail 2013-06-19 17:29:01 -05:00
Marty-D
78b4cffc02 Make sure Shed Skin doesn't try curing 'fnt'. 2013-06-17 14:49:43 -04:00
Guangcong Luo
d66e619f79 Fix some redundant failure messages 2013-06-17 11:08:47 -05:00
Marty-D
31a34cc86d Fix Bide.
Gen 5: Can't hit Ghost-types.
Gen 4: Can hit Ghost-types.
Gen 3: Can't hit Ghost-types.
2013-06-17 11:11:24 -04:00
Guangcong Luo
b43ff0b645 Nearly all move failures now display a message 2013-06-16 03:41:00 -07:00
Guangcong Luo
cca66ef1fe Fix some doubles incompatibilities
Specifically, pokemon.id should never be passed to battle.add()
2013-06-16 03:18:32 -07:00
Marty-D
2a735ebb8c Fix rulesets. 2013-06-14 23:04:15 -04:00
Marty-D
645f30ccaa OU is having a suspect test. 2013-06-14 20:31:46 -04:00
Marty-D
94f5f20179 Ubers Sleep Clause testing is over. 2013-06-14 20:17:23 -04:00
Marty-D
206ce377e0 Fix Ring Target. 2013-06-13 21:16:11 -04:00
Cathy J. Fitzpatrick
f885d64601 Struggle does not require PP 2013-06-11 17:44:14 -06:00
Cathy J. Fitzpatrick
0aadcf0243 Correct mechanics when trying to use a 0 PP move
There are two cases where a pokemon might attempt to execute a move
with zero PP:

- a move which had PP when selected, but whose PP was subsequently
  reduced to 0 by Spite; and

- a case where a pokemon has multiple copies of the same move, in
  which case it will always be possible to select the move, but it
  will not be executed if it has 0 PP.

Attempting to use a move with zero PP should not succeed.
2013-06-11 02:15:26 -06:00
Marty-D
5ad404001c Limit one of each move less repetitively. 2013-06-10 16:14:28 -04:00
Marty-D
743c85127c Fix Transform.
- Gen 5: User cannot Transform if it or the target is already
Transformed.
- Gens 2-4: User cannot Transform if the target is already Transformed.
- Gen 1: User can Transform in both situations.
2013-06-10 11:52:25 -04:00
Marty-D
a5796b98c7 Correct references to Grip Claw's effect. 2013-06-09 18:26:52 -04:00
Marty-D
bb3d870db7 Fix Gastro Acid.
- Ability should be ignored, not replaced.
- Also the effect can be Baton Passed.
2013-06-08 20:08:00 -04:00
Marty-D
bf5750a5f5 Gen V: Display Abilities swapped by Skill Swap. 2013-06-07 20:43:33 -04:00
The Immortal
2993b14e27 Remove Pain Split from Swalot 2013-06-04 01:31:45 +04:00
The Immortal
cbf9f36d65 Correct "Swift Swift" mistake 2013-06-04 01:31:00 +04:00
Joimer
cc0efcbc47 June Jubilee: Add Hariyama and Aggron to the Pokémon pool
Added Hariyama with Surf and Aggron with Surf to the list of summer Pokémon to June Jubilee as per player request.
2013-06-03 15:15:09 +02:00
Joimer
b2fb0dc62c June Jubilee: Better message for North Dakota
Since weather can be controlled by players, the message upon clear skies North Dakota is now re-worded so it always makes sense.
2013-06-03 15:12:06 +02:00
Joimer
3e534b1281 June Jubilee: Add Sleep Clause
Added Sleep Clause to June Jubilee as apparently it's abused commonly.
2013-06-03 15:10:49 +02:00