Commit Graph

7793 Commits

Author SHA1 Message Date
Guangcong Luo
5e607f39bb Implement Retaliate 2013-04-23 16:22:34 -07:00
Guangcong Luo
0ef3daa0f1 Fix the rest of the Air Lock interaction bugs
Specifically, Sandstorm's SpD boost and Weather Ball's power/type.
2013-04-22 01:28:27 -07:00
Guangcong Luo
1bc5f3749e Don't deal residual weather damage in Air Lock/Cloud Nine 2013-04-22 01:24:11 -07:00
Marty-D
6d080f232a Correct Tomohawk and Necturna's learnsets. 2013-04-21 22:55:39 -04:00
Guangcong Luo
e719b20e00 Learnsets: Start moves are explicitly L1 2013-04-21 18:05:54 -07:00
Guangcong Luo
db6f92ed42 Put pokedex in National Pokedex order 2013-04-21 18:05:54 -07:00
Guangcong Luo
aa680dcc58 Move Missingno/CAPs to the bottom of the pokedex 2013-04-21 16:43:09 -07:00
Guangcong Luo
7937685fd5 Fix Missingno learnset
It was previously using its April Fool's 2012 learnset. This removes
Magikarp's Revenge from its learnset, and sets its moves to Start
moves since that's what they are.
2013-04-21 02:07:19 -07:00
Guangcong Luo
866bea60be Remove Missingno fake abilities
These were added for April Fool's 2012 but are incorrect.
2013-04-19 23:23:27 -07:00
Guangcong Luo
32f7c74542 Remove Arceus-??? 2013-04-19 23:23:27 -07:00
Guangcong Luo
9125994389 Add basculin-red/blue-stripe aliases 2013-04-19 23:23:27 -07:00
The Immortal
a89f550bc4 Add Ludicolo event + viable moves changes 2013-04-17 11:52:59 +04:00
Cathy J. Fitzpatrick
31fac973e0 Correct trapping mechanics
This doesn't yet handle modded formats that don't validate ability
selection in the ordinary manner. Those formats will continue to work
essentially in the same manner as before, rather than with the correct
mechanics.
2013-04-10 21:19:35 -06:00
Marty-D
0ec35543e6 Spiky-eared Pichu is female. 2013-04-09 23:24:21 -04:00
Marty-D
fd6d21e004 Move Spiky-Eared Pichu out of LC.
- It's not usable outside of HGSS, anyway.
2013-04-09 23:05:18 -04:00
Marty-D
30b850b439 Correct Missingno.'s learnset. 2013-04-09 22:46:56 -04:00
Marty-D
1a6248f44b Missingno. now ???/Normal.
- The ???-type is functionally identical to Bird-type.
2013-04-09 18:29:46 -04:00
Antar1011
e0bbbf2775 Updated LC UU
FWIW
2013-04-09 18:43:38 -03:00
Cathy J. Fitzpatrick
cbfc3e5e16 Working implementation of sending exact damage for own pokemon
This isn't as elegant as I might like, but it does appear to work.
2013-04-09 03:46:45 -06:00
Guangcong Luo
63b2f1d950 Protect gives message when failing on switch 2013-04-08 11:57:51 -07:00
Guangcong Luo
1a15b28db4 Smogon Doubles is no longer a debug format 2013-04-07 21:53:33 -07:00
Guangcong Luo
8bbf7962c0 Taunt is now viable on Froslass 2013-04-07 17:15:23 -07:00
Guangcong Luo
ee35aeae35 Fix learnset validator for Baton Pass Durant 2013-04-07 13:31:20 -07:00
Guangcong Luo
92d50d32a6 Minor Natural Gift refactor
I'm calling it a refactor because I'm pretty sure it doesn't actually
change anything. But right now gems require a new code guarantee:
basePowerCallback shouldn't return false under normal circumstances.

(Some of them still do return false, but only under error conditions)
2013-04-07 11:47:15 -07:00
Guangcong Luo
462a387831 Fix Outrage+Substitute 2013-04-07 10:46:33 -07:00
Guangcong Luo
5039bcea6f Fix Heal Bell 2013-04-07 10:41:52 -07:00
Guangcong Luo
df7b3d785e Move results passed up to useMove
Move results are now passed all the way up to the useMove script.

It's now possible to tell from within useMove whether or not the move
succeeded.

This fixes a bug where successful Memento and Healing Wish were
considered to have failed and so didn't cause the user to faint.
2013-04-06 19:03:59 -07:00
Guangcong Luo
c663b5eaa5 Fix Substitute for new hit system 2013-04-06 18:27:20 -07:00
Guangcong Luo
3ef4b5c785 Ugly hack to fix burn+Explosion damage
Currently, if a burned Pokemon explodes in doubles, all targets except
the first will take full damage, because it's fainted (and no longer
burned) by the time those damage calculations are done.

The correct solution is to do all damage calculations before dealing
any damage, which I will do someday. Today is not that day.

Today, we move fainting the Explosion user to after damage is dealt.
Which, aside from making the faint order wrong, doesn't really have
any other consequences, and is better than the current buggy
damage calculation.
2013-04-06 16:11:15 -07:00
Guangcong Luo
d888a75bbe Fix Forewarn message 2013-04-06 15:49:24 -07:00
Guangcong Luo
b7500a375a Make sure ability immunities go last
Specifically, abilities like Lightningrod should activate their
absorption effects after Protect, Magic Bounce, or anything like
that.
2013-04-06 15:22:32 -07:00
Guangcong Luo
2b1a5540ac Fix SR for new move hit system
Specifically, the TryFieldHit event no longer exists.

Instead, Magic Bounce has separate event handlers for TryHit and
TryHitSide.

This also fixes it so Magic Coat/Bounce happen before ability
absoption (like Water Absorb).
2013-04-06 14:35:31 -07:00
Guangcong Luo
7aa1ed7ae3 Order the TryHit event correctly
(This isn't perfect yet; Magic Coat/Bounce uses a different event,
which we'll need to correct later.)
2013-04-06 12:57:16 -07:00
Guangcong Luo
fe2da359e9 Refactor when accuracy is calculated
Accuracy is now checked after immunities and certain other effects,
rather than before.
2013-04-06 12:55:38 -07:00
Guangcong Luo
55362a8f81 Gem activation conditions fix 2013-04-06 08:47:21 -07:00
Marty-D
5370068ed7 Make sure Gems don't activate with Status moves. 2013-04-06 10:47:00 -04:00
Guangcong Luo
64354a847c VGC 2013 out of dev (finally) 2013-04-05 23:13:27 -07:00
Guangcong Luo
b0cfddcede Fix Gems and spread moves
Gems now boost all hits of a spread move.

This introduces a new event BasePowerMultiplier, so that gems actually
activate at the right time now.

The name is similar to basePowerModifier but they do the same thing
anyway. We should probably figure something out for their naming,
though.
2013-04-05 23:13:26 -07:00
Guangcong Luo
d91896a106 Fix Rebound
It previously was using an outdated algorithm to determine whether
a move is bounceable.
2013-04-05 16:04:29 -07:00
Marty-D
f786cbe640 Rowap Berry is now released. 2013-04-05 14:33:02 -04:00
Guangcong Luo
d196e1f826 Fix Sky Drop bug
It caused weird errors when the target was fainted.
2013-04-03 16:51:53 -07:00
Guangcong Luo
5ae7f0b145 Implement Monotype format 2013-04-03 13:22:43 -07:00
Guangcong Luo
ddeae3d5dc Ubers is having a suspect test 2013-04-03 07:40:05 -07:00
Guangcong Luo
015d0071a6 Format list arranged by sections
Technically, they were before, but rather than having sections by
mod or gametype, I've split them into the following sections:
- Singles
- Doubles
- Other Metagames
- Past Generations

(Technically OM of the Month is its own section, to make it stand
out)

Anyway, format list sections should be fairly standardized from
now on.
2013-04-03 07:39:19 -07:00
The Immortal
b8d27473a9 Add April Fools Taunt quotes to Fools Festival 2013-04-03 13:54:30 +04:00
The Immortal
a14b34864a Randbats script update
- Add Hustle counter
- Prevent a few move combinations
- Prevent Simple without a boosting move
- Prevent Swift Swim/Chlorophyll without Rain Dance/Sunny Day
- Set Combee's ability to always be Honey Gather
- Set Deoxys-D and Deoxys-S to level 74
2013-04-02 22:35:07 +04:00
Marty-D
d2a72715b0 Jynx has been unbanned from NU.
http://www.smogon.com/forums/showthread.php?t=3481611
2013-04-02 00:33:42 -04:00
Marty-D
d1db20e3ef Fix Cherish Ball's sprite, shorten Ball descriptions. 2013-04-01 16:51:22 -04:00
Antar1011
6bb32a83a6 April 2013 tier update 2013-04-01 08:02:54 -04:00
Joimer
0c1e3d3237 Add Tier Shift mod for Other Meta of the Month 2013-03-31 10:43:19 +02:00
Bill Meltsner
a3f7ff542a Fix Curse.
• Non-Ghost-Type Pokemon that have been Ghost Cursed can now use Curse
  on themselves.
• Curse now lets Ghost-type Pokemon select a target in Double Battles.
2013-03-30 12:46:37 -07:00
Joim
11044fc1da Change Seasonal to new one, Fools Festival
Hide the March Seasonal, Spring Forward, and show the new Seasonal, Fools Festival.
2013-03-30 14:35:20 +01:00
Cathy J. Fitzpatrick
db8d988d47 Fix some bugs from the HP refactor 2013-03-29 04:31:53 -06:00
Cathy J. Fitzpatrick
e45652180b Remove use of some obsolete functions 2013-03-29 01:27:49 -06:00
Joim
2db256cb82 Remove OU Suspect Test as it finished
OU Suspect Test for Deoxys-D finished a month ago. Time to remove the useless ladder.
2013-03-28 16:53:05 +01:00
Marty-D
481ac63da7 Fix Flail and Reversal.
- Also correct Sky Drop's description.
2013-03-27 16:59:30 -04:00
Marty-D
595450e82f Correct Outrage's PP. 2013-03-26 19:59:06 -04:00
Marty-D
84e36531b6 Fix Eject Button.
- It should not cancel U-turn and Volt Switch's effect if the holder is
knocked out by them.
2013-03-26 17:39:38 -04:00
The Immortal
0ee5661e1f Randbats changes 2013-03-26 00:51:59 +04:00
Marty-D
78b489c217 Fix 'selfdestruct' moves again.
- Healing Wish and Lunar Dance fail correctly when the user is the last
Pokemon.
- Final Gambit and Memento don't faint the user when used against a
Protecting target.
2013-03-23 23:19:31 -04:00
Marty-D
417907072c Fix several minimum evolution levels. 2013-03-23 18:26:19 -04:00
The Immortal
706a86a903 Fix Spiky-eared Pichu 2013-03-24 00:37:24 +04:00
The Immortal
220f0bf3da Add pokeball for all events that have a specific one that is not the regular Pokeball 2013-03-23 23:50:19 +04:00
Guangcong Luo
5f7bb2fb2f Fix crash in items 2013-03-22 23:35:33 -07:00
Joim
75b7f4b5b5 Add different Poke Balls to items
Poke Balls must be added to items list to give them a spritenum. This change will make possible to choose and force balls for Pokemon.
2013-03-22 23:15:53 +01:00
Guangcong Luo
112223b3e7 Merge pull request #197 from Joimer/patch-11
Add dream world and event Pokeballs
2013-03-22 15:07:44 -07:00
The Immortal
42118ab5d0 Update Randbats script
- Add Adaptability counter
- Prevent a few combinations
2013-03-23 01:56:18 +04:00
Joim
a2de6bdaf9 Add dream world and event Pokeballs
Some Pokemon have specific Pokeballs from events or Dream World that help tell their ability. Add them.
2013-03-22 22:17:17 +01:00
Marty-D
84ef730ab8 Fix Wonder Guard.
- Moves that are 'evaded' can no longer be critical hits.
- Gems are no longer used up if a move is 'evaded'.
- The issue with Struggle being 'evaded' while the Wonder Guard user has
a Substitute is fixed.
2013-03-22 15:05:38 -04:00
Marty-D
b745012c70 Set moveUsed before running useMove.
- This fixes Cursed Body, among other things.
2013-03-20 17:22:51 -04:00
The Immortal
d290c397c7 Merge pull request #196 from Joimer/patch-10
Seasonal Ladder: Fix bug
2013-03-19 08:17:35 -07:00
The Immortal
e0acbbe9a0 New event Pokemon 2013-03-19 19:16:53 +04:00
Joim
587f010f31 Seasonal Ladder: Fix bug
When the type was changed, the seasonal crashed.
2013-03-19 16:12:48 +01:00
Joim
1bd899be5b Add April Seasonal Ladder format
Add the new Seasonal Ladder for April, Fools Festival.
challengeShow and searchShow need to be switched to true to active the ladder.
2013-03-19 12:10:05 +01:00
Joim
e0c35c85b9 Add April Seasonal random team making script
Add the random team maker for the new April Seasonal, Fools Festival.
2013-03-19 12:06:13 +01:00
The Immortal
bcea04020c Modify ratings 2013-03-19 00:39:47 +04:00
The Immortal
8e4c14bebb Randbat script update
- Prevent Baton Pass with Switcheroo/Trick
- Prevent Fiery Dance with Fire Blast (Volcarona)
- Prevent SolarBeam without Sun
- Prevent Bolt Strike with Fusion Bolt (Zekrom)
2013-03-17 01:54:46 +04:00
The Immortal
04fbc0bef3 Add missing Me First exceptions 2013-03-16 19:34:48 +04:00
Marty-D
2fee7989ed Add 'Evasion Abilities Clause' to CAP. 2013-03-13 22:36:55 -04:00
Guangcong Luo
0d3d63f54b Correct Pursuit fix
Pursuit should no longer activate at regular priority after
getting a full paralysis attacking a switch.
2013-03-13 19:02:21 -07:00
Marty-D
bc834539cf Update the item descriptions. 2013-03-13 12:50:34 -04:00
Marty-D
e60936e185 Fix Skull Bash and Power Herb.
- Skull Bash gives +1 Defense even with Power Herb.
- Sky Drop is not affected by Power Herb.
2013-03-13 11:44:05 -04:00
Marty-D
d23b9acf95 Fix Entrainment.
- Wonder Guard can be passed around (!).
2013-03-12 23:00:41 -04:00
Marty-D
4ae61cfbf6 Slowpoke can't learn Ice Punch. 2013-03-12 20:32:08 -04:00
Marty-D
24994745cc Fix Grip Claw. 2013-03-12 18:01:49 -04:00
Joim
a2deb423ce Doubles: Fix bug of resist berries working on Sub
Damage halving Berries were being used on Substitute being hit.
This was not correct, so if the user has a Substitue volatile 
the berry will not be consumed.
2013-03-10 18:24:06 +01:00
The Immortal
5a60ea4ce1 Randbat script changes
- Prevent Cotton Guard with Reflect
- Prevent Light Screen with Calm Mind
- Prevent Choice Scarf with Status moves
2013-03-10 00:17:06 +04:00
Guangcong Luo
c9ba79e408 Fix Pursuit bug
Previously, a failed Pursuit on switch would allow Pursuit to be tried
again at regular priority
2013-03-08 09:58:54 -08:00
Guangcong Luo
738804c1f9 Refactor gen 1
This is simple stuff to bring it in line with PS's coding style.

Mod-specific rules are getting moved to mods/gen1/formats.js and
formats are condensed into one Custom Game format.
2013-03-08 08:59:17 -08:00
Guangcong Luo
1a75beb806 Damage category refactor for gen 3
Damage categories are now read using .getCategory, which gen 3 overrides.

move.category can still be read directly to check if something's a status
move, but it should never be used for reading damage categories.

This also fixes a crash in gen 3 and makes it playable again.
2013-03-08 08:36:14 -08:00
Guangcong Luo
fe5ac1e2e4 Merge pull request #178 from Joimer/patch-6
Add Generation 1
2013-03-08 08:13:13 -08:00
Guangcong Luo
9e87191ce3 Fix Beat Up crash 2013-03-08 07:10:23 -08:00
Guangcong Luo
e78ac6a52a Roost fix 2013-03-07 18:51:31 -08:00
The Immortal
334a0048ac Fix Garchomp event and add Meloetta event 2013-03-08 00:19:35 +04:00
Guangcong Luo
f301668ed2 Cartridge-accurate implementation of Power Trick 2013-03-07 10:32:42 -08:00
Guangcong Luo
44fcf8b8cc Fix a crash in Power Trick 2013-03-07 05:16:05 -08:00
Guangcong Luo
4d93db5906 Restore Marty's Stockpile changes
(Previous commit accidentally overrode them)
2013-03-06 10:31:55 -08:00
Guangcong Luo
8ebe9bd3f3 typechange refactor
Type changes have been moved out of ModifyPokemon, and now are only
updated manually such as at clearVolatile or during forme changes.

This fixes interaction between: Transform, forme changes,
Conversion, Conversion2, Soak, Camouflage, Reflect Type, and
Color Change.

We're now one more step closer to getting rid of the ModifyPokemon
event.

Type changes in gen3 and gen4 will need to be redone for the new
typechange system.
2013-03-06 10:21:30 -08:00
Guangcong Luo
d54f129342 Template/stats refactor:
- Stats are now cached and recalculated every clearVolatile (switchout)
- Power Trick, Power Split, Guard Split, Transform, forme changes now
  modify the cached stat value
- This eliminates the need for pokemon.baseSet, so it's been removed
- pokemon.transformInto has been split into transformInto and formeChange
- pokemon.baseBoosts have also been eliminated, boost changes are now
  calculated on-the-fly like stats themselves
- Overall, stat changes should be a lot more like the cartridge games now
- We're also one step closer to finally getting rid of the ModifyPokemon
  event
2013-03-06 09:53:34 -08:00
Joimer
2548bef89d Add all gen 1 files 2013-03-06 12:53:53 +01:00
Joim
124ae6a36a Add Gen 1 formats
Add the different Gen 1 formats. OU and CC for rated, searchShow 
formats, Ubers, UU and LC for challenge only formats.
2013-03-06 12:21:47 +01:00
Marty-D
b40255e934 More tidying of Stockpile. 2013-03-05 16:39:43 -05:00
Marty-D
a32da9a1f5 Fix Spit Up, tidy up Stockpile. 2013-03-05 15:16:33 -05:00
Guangcong Luo
ce0ffe654e movedThisTurn overhaul:
- now named 'moveThisTurn' and contains the moveid
- this fixes the Outrage issue
2013-03-05 11:27:49 -08:00
Joim
d2745c445b Bug fixes on Seasonal Ladder Spring Forward
Avoid Softboiled being repeated in Chansey and Blissey.
Gems should always be Grass Gem due to Sceptile, and 
Barrage and Egg Bomb being Grass-type.
2013-03-03 17:56:38 +01:00
Marty-D
eced3a09fb Revert Outrage fix for now. 2013-03-03 10:19:29 -05:00
Guangcong Luo
f287a36a4a Implement Rage 2013-03-03 06:00:57 -08:00
Joim
93973cdc4f Fix two bugs in Seasonal Spring Forward
Add a better item for Toxic Orb Breloom, since no Poison Heal.
Random scripts for Gender is not ready.
2013-03-03 10:32:58 +01:00
Marty-D
0906f7c880 Make sure Challenge Cup Pokemon have a Nature. 2013-03-02 14:11:12 -05:00
Marty-D
6ba79b0d27 Make sure Outrage-type moves end correctly.
- Flinching, being fully paralyzed, or otherwise being unable to use the
locked move ends the effect.
2013-03-02 13:26:30 -05:00
Guangcong Luo
8d439917b8 Merge pull request #175 from Joimer/patch-4
Add new Seasonal Ladder, Spring Forward
2013-03-01 17:05:34 -08:00
Marty-D
61845f797f Fix several immunity interactions.
- Since the relevant Abilities no longer check for type immunity, these
are obsolete.
- Normalize now works correctly with these moves when they are used on a
Ghost-type.
2013-03-01 17:13:18 -05:00
Joim
b7af28f566 Add new random team maker for new Seasonal
Add the new Random Team maker for the new Seasonal Ladder 
for March, Spring Forward
2013-03-01 14:47:16 +01:00
Joim
5b34d1c5cc Add new Seasonal format: Spring Forward
Add the new Seasonal Ladder format for March, Sring Forward
2013-03-01 14:46:17 +01:00
Marty-D
92e33a36e4 Add relevant fail messages for Endeavor. 2013-02-28 14:59:05 -05:00
Marty-D
b010d69520 Deoxys-D is now Uber.
http://www.smogon.com/forums/showpost.php?p=4599492&postcount=97
2013-02-27 19:57:09 -05:00
Marty-D
34fcf7564b Make sure power and accuracy match the game's display. 2013-02-23 12:47:01 -05:00
Marty-D
f86b52689a Fix Choice locking and Magic Room.
- Choice items now lock into a new move properly after losing the
original locked move (due to Mimic/Sketch/Transform)
- Choice items now continue locking into the original locked move (if
there was one) after Embargo, Klutz, or Magic Room's effects end
- General fixes to the priority of ignoring items
- Magic Room is now usable again
2013-02-22 19:12:29 -05:00
Bill Meltsner
32d9826862 Fix Smeargle's moveset in Challenge Cup. 2013-02-20 22:48:21 -08:00
Guangcong Luo
24db004538 Multi-hit moves now stopped by Sleep
(this is an obscure interaction with Effect Spore)
2013-02-20 13:44:13 -08:00
Guangcong Luo
e7e0f8ffec Berries can now activate between hits of multihit moves 2013-02-20 13:20:58 -08:00
Marty-D
f4c0d9ac78 Add Darmanitan-Z as an alias. 2013-02-19 17:02:34 -05:00
Marty-D
74b0fd7b6c Fix Gravity and Smack Down. 2013-02-18 21:39:07 -05:00
The Immortal
b3cc407ec9 Capitilize 'pokemon' in Sky Drop message 2013-02-18 22:37:11 +04:00
Guangcong Luo
618868b50c Better error messages for the learnset checker 2013-02-17 13:22:32 -08:00
Cathy J. Fitzpatrick
e436d41a49 Fix selfdestruct status moves 2013-02-17 12:47:12 -07:00
Bill Meltsner
f7b3a757fa Fix No Guard missing against Pokemon in the middle of Fly/Dig/Dive/Shadow Force 2013-02-17 11:41:01 -08:00
Guangcong Luo
d2865c0c84 NEXT: unban/nerf Minimize and Moody 2013-02-17 03:46:45 -08:00
Guangcong Luo
53d62da175 Describe the event system in comments
also add a few other comments
2013-02-16 22:37:31 -08:00
Guangcong Luo
2ef0a42b9d Learnset checker is more forgiving for VGC
- if you bring a level 50 pokemon to VGC, it'll be treated as level 100
  for the purposes of checking level-up moves
- we introduce a new flag 'maxForcedLevel' for this
2013-02-16 21:34:30 -08:00
Guangcong Luo
67b063f910 Fix base power 0
Now it actually means 'don't deal damage' rather than 'deal 0 damage'
this removes the need to specialcase secondaries and status moves, too
2013-02-16 21:34:30 -08:00
Cathy J. Fitzpatrick
1c367d8170 Fix some interactions with Encore
Encore's `onBeforeTurn` event handler was causing problems with
interactions with Taunt and Torment (and possibly other things)
by changing move decisions from Struggle to the Encored move.

The `onBeforeTurn` event handler is not a necessary part of the
Encore implementation because `battle.parseChoice` already calls
`pokemon.getValidMoves`, which in turn calls `pokemon.getMoves`,
which checks if the selected move is disabled. The `encore` effect
already disables all moves other than the Encored one, so they
cannot be selected even without the `onBeforeTurn` handler.

In the result, this commit deletes the `onBeforeTurn` handler.
2013-02-16 16:34:35 -07:00
The Immortal
ed1bd85dd1 Randbat script update 2013-02-17 01:14:09 +04:00
Guangcong Luo
44bc9bf687 Cloyster gets Rapid Spin for chainbreeding
- Fixes LC Tentacool's Rapid Spin + Toxic Spikes set
2013-02-15 19:31:20 -08:00
Cathy J. Fitzpatrick
c0a1cae7da Fix syntax error in sametypeclause 2013-02-15 16:01:06 -07:00
Guangcong Luo
3e9d8ebbd8 Same Type Clause implemented
- not currently used anywhere, but will be nice for future custom games
2013-02-15 14:37:10 -08:00
Marty-D
144b97af80 Add support for both types of 'miss' messages. 2013-02-14 16:04:23 -05:00
The Immortal
da3bdadff8 Randbats script updates
- Add a few move combinations to be prevented
- If legal, set Swift Swim for Pokemon with Rain Dance
2013-02-14 23:22:02 +04:00
Guangcong Luo
abd320cc6e Illusion fix:
- A previous change to Illusion + Mold Breaker interaction broke some UI
  for tracking Illusion status.
- This changes Illusion again, to have its clearing be hardcoded... which
  isn't a big deal, because most of the rest is hardcoded anyway.
- This also fixes a minor animation bug so Illusion clears before taking
  damage, not after
2013-02-13 14:38:52 -08:00
Marty-D
b4c5240633 Make sure Future Sight can begin against Dark-types. 2013-02-13 15:26:22 -05:00
Guangcong Luo
c479f8563f Learnset fixes when breeding with Tyrogue evos
- We introduce a new source type: C
- C sources aren't valid direct sources for moves, but they're valid when
  looking for breeding targets
- basically, they're a workaround to avoid a complicated chainbreeding
  algorithm
2013-02-12 20:51:23 -08:00
Guangcong Luo
84717c238a Moody is banned in Smogon Doubles 2013-02-12 12:32:36 -08:00
Guangcong Luo
6f59ae5271 Custom games now allow levels up to 1000 2013-02-12 12:31:55 -08:00
Marty-D
47f678bb50 Add messages for Suction Cups and Ingrain. 2013-02-11 17:22:53 -05:00
TheImmortal
5945d5d0e4 Update viable moves
A number of Pokemon had moves that were illegal
2013-02-11 22:47:19 +04:00
Marty-D
553dc1f9e2 Fix some move messages. 2013-02-08 17:01:51 -05:00
Cathy J. Fitzpatrick
e7516cd0a2 Merge pull request #165 from rissole/powerswap-msg-fix
Fixed Power Swap message
2013-02-08 01:54:00 -08:00
rissole
b124674137 Fixed Power Swap message 2013-02-08 20:47:47 +11:00
Marty-D
6a10746c34 Fix Jynx for Seasonal Ladder. 2013-02-07 21:45:35 -05:00
Marty-D
147a3f0fec Add the last Pledge move messages. 2013-02-07 12:07:09 -05:00
Marty-D
01f304a6dc Fix Mold Breaker's interaction with Illusion. 2013-02-07 09:54:15 -05:00
rissole
2e265dd49b Fix Red Card message 2013-02-07 21:54:43 +11:00
Guangcong Luo
cc99883311 Fixes to the seasonal ladder 2013-02-05 14:19:16 -08:00
Joim
1641e234e9 Addding new Seasonal ladder Valentine Venture
Adding the format for the new Seasonal ladder, 
Valentine Venture, and also commenting Wonder Winterland.
2013-02-05 08:34:51 +01:00
Joim
277ca65641 Adding Valentine Venture random team selection
Added the random team selection for the new Seasonal ladder for 
February Valentine Venture (randomSeasonalVVTeam).
It's a doubles ladder that chooses three couples for each player.
2013-02-05 08:33:17 +01:00
Cathy J. Fitzpatrick
bd681a1193 Fix interaction between Safeguard and Confusion
Safeguard was failing to block Confusion because the Confusion
`onStart` function did not pass a `target` and `source` to `runEvent`
when invoking the `TryConfusion` event, and Safeguard's
`onTryConfusion` function requires that a `target` and `source` be
specified.
2013-02-04 17:25:05 -07:00
Guangcong Luo
7b2344a0ec OU is having a suspect test 2013-02-03 23:59:50 -08:00
TheImmortal
ac749bb693 Add Sinnoh starter + Garchomp events 2013-02-02 17:11:41 +04:00
Marty-D
0be8010652 Fix Custap Berry and (Hi) Jump Kick messages. 2013-02-01 15:59:32 -05:00
Marty-D
316dedc561 Add After You and Quash messages. 2013-01-30 14:46:59 -05:00
The Immortal
64f7faad04 Viable moves changes 2013-01-30 18:56:08 +04:00
Guangcong Luo
561393658b Fix Spite 2013-01-29 14:55:24 -08:00
Cathy J. Fitzpatrick
69f6c62cac Fix 62 moves
As of @a475ea5901, a basePower of `false` is a special value that
denotes that the move should always fail (unless modified). This
change broke 62 moves that currently use a basePower of `false` when
they appear to intend a basePower of 0. This commit changes the
basePower of these moves to 0.
2013-01-29 14:21:41 -07:00
Guangcong Luo
0098e6c323 Fix some bugs relating to Ground immunity negation 2013-01-28 18:38:05 -08:00
Guangcong Luo
ed7b505a0b Fix Cute Charm's random roll
(it was previously guaranteed to activate while testing)
2013-01-28 17:48:00 -08:00
Guangcong Luo
c94cfb0b80 Implement Uproar 2013-01-28 17:24:00 -08:00
Guangcong Luo
b6113490ad Implement Friend Guard 2013-01-28 10:50:12 -08:00
Guangcong Luo
e69e7dde30 Implement Destiny Knot
(This involved refactoring a lot of the Attract implementation)
2013-01-28 10:43:46 -08:00
Guangcong Luo
a475ea5901 Fix Beat Up crash 2013-01-28 10:27:01 -08:00
Guangcong Luo
edd61c36fa Implement Assurance 2013-01-27 18:21:29 -08:00
Marty-D
36dae6f2c2 Add messages for partial-trapping moves. 2013-01-27 20:19:56 -05:00
Guangcong Luo
7f5cfe584a Implement Fusion Bolt and Fusion Flare 2013-01-27 15:44:04 -08:00
Bill Meltsner
41b7bcfb55 Fix Enigma Berry 2013-01-26 16:54:23 -08:00
The Immortal
d56b228419 Round doesn't have to be successful to boost 2013-01-26 23:01:19 +04:00
Guangcong Luo
7332a8355d Fix 1v1CC Team Preview with Zoroark 2013-01-26 10:57:01 -08:00
TheImmortal
dd3c4de0f2 Implement Round 2013-01-26 22:07:33 +04:00
Guangcong Luo
3b0ddd2b4d Implement Pledges
This introduces a new function battle.prioritizeQueue which
will move a decision to the front of the queue
2013-01-26 09:22:04 -08:00
Bill Young
5aa384ea78 Fix assurance to double power when Pokemon has taken damage. 2013-01-26 02:53:16 -05:00
Marty-D
577ed2df34 Fix Pay Day message. 2013-01-25 22:00:17 -05:00
Marty-D
0a7dd3cfe4 Add the Pay Day message. 2013-01-25 20:09:48 -05:00
Guangcong Luo
c4a939f517 Mimic and Sketch moves now target correctly 2013-01-25 14:15:08 -08:00
Guangcong Luo
59ab7f43ca Fix Power Trick 2013-01-25 14:10:24 -08:00
TheImmortal
d3b3609e17 Implement Flame Burst 2013-01-25 21:42:21 +04:00
TheImmortal
cbb65b6583 Add isAdjacent function
Used to check if two allies are adjacent and have not fainted
2013-01-25 21:07:39 +04:00
Guangcong Luo
b67454743b Hidden Power fix:
- Random battles and automatic detection sets Hidden Power IVs correctly
- Hidden Power now always does damage based on user's IVs
- User's Hidden Power base power is now reported
2013-01-24 15:03:04 -08:00
TheImmortal
310eb90ac1 Implement Minus & Plus abilities 2013-01-25 02:04:17 +04:00
TheImmortal
7a3a328fd3 Fix mistake in previous commit 2013-01-24 21:30:10 +04:00
TheImmortal
55167c2c51 Implement Healer 2013-01-24 20:11:58 +04:00
Joim
27acbf931f Pichu-Spiky-eared shouldn't appear in random teams
Pichu-Spiky-eared has been excluded from the random team forming as it is not available in BW2.
2013-01-23 18:19:36 +01:00
TheImmortal
68b00f3ae4 Implement Metronome item 2013-01-23 17:47:06 +04:00
Guangcong Luo
fac38eae05 Merge pull request #150 from Joimer/patch-4
Ladderable 1VS1 Challenge Cup
2013-01-23 05:39:57 -08:00
TheImmortal
da60c928ba Cloyster & Keldeo events 2013-01-23 15:45:23 +04:00
Joim
93b7293fa6 Ladderable 1VS1 Challenge Cup
Adding Challenge Cup to the searcher, also debug's not necessary anymore.
2013-01-23 08:50:35 +01:00
Marty-D
88caef8914 Make sure multi-hit moves count each hit's damage separately. 2013-01-22 19:37:58 -05:00
Marty-D
8bbeabb1a9 Correct Magic Coat in Gen IV and V.
- Magic Coat can only bounce one move per turn in Gen 4, while in Gen 5
it stays active until the end of the turn.
2013-01-22 15:46:50 -05:00
Guangcong Luo
5d1e4a6c4b Fix more crashes relating to new stat code 2013-01-22 10:17:56 -08:00
Cathy J. Fitzpatrick
d8dd6f2d6d Fix Choice Specs
Previously, the 'onModifySpA' method was misspelled as 'onModifySpa'.
2013-01-22 05:14:27 -07:00
Guangcong Luo
b49b86a1ab Fix a bunch of bugs in the stats refactor 2013-01-21 15:24:16 -08:00
Marty-D
7490af2692 Fix Swallow healing. 2013-01-21 17:57:12 -05:00
TheImmortal
2e650d448a Flare Boost & Toxic Boost are BP modifiers 2013-01-22 01:04:35 +04:00
Marty-D
9dc97b3940 Fix Soul Dew's boosts. 2013-01-21 16:02:16 -05:00
TheImmortal
215cd108ee Fix Relic Song transforming Meloetta twice
- It incorrectly transforms twice in doubles due to being a spread hit
2013-01-22 00:45:29 +04:00
Guangcong Luo
7fa7f24a39 Refactor how stats are calculated
They're now read on-the-fly instead of being recalculated and cached
every update.
2013-01-21 11:49:22 -08:00
Cathy J. Fitzpatrick
6b16dd6139 Fix redirection of randomNormal target moves.
Previously, Follow Me (and anything else that redirects moves, such as
various abilities) was unable to redirect the target of a
'randomNormal' target move, because validTargetLoc() always returned
false for a 'randomNormal' type move; this reflects the fact that the
client is not allowed to specify the target for such a move, because it
is chosen randomly. However, the internal game logic does need to be
able to specify a target for 'randomNormal' moves.

This commit adds a new parameter to validTargetLoc that specifies whether
the proposed target was chosen by the client or by the internal game logic.
If the proposed target was chosen by the internal game logic, then the same
targeting rules apply as in the case of a "normal" target move.

Note that it is necessary to add this new parameter, rather than just making
'randomNormal' behave the same as 'normal', because without the userSelected
check, a user could send a crafted choice string to the server specifying a
target for a 'randomNormal' move, and the server would respect the choice.
This implementation correctly prevents the client from specifying the target
of a 'randomNormal' move.
2013-01-21 00:04:21 -07:00
Guangcong Luo
f1f3040aeb Merge pull request #145 from Joimer/patch-1
Adding 1vs1 Challenge Cup to test via challenge
2013-01-20 06:27:09 -08:00
TheImmortal
136c78cce5 Fix error in previous scripts.js commit 2013-01-20 17:32:51 +04:00
Joim
82fd387692 Adding 1vs1 Challenge Cup to test via challenge
Adding wished for Challenge Cup 1 vs 1. First only available via challenge.
2013-01-20 13:01:39 +01:00
TheImmortal
e4db12341f Update descriptions for items now obtainable 2013-01-20 01:40:27 +04:00
TheImmortal
4e5137b78a Randbats script updates
- Reject Relic Song with setup
- Reject Encore/Pursuit/Stealth Rock/Sucker Punch with RestTalk
- Reject Hydro Pump with Razor Shell/Scald
- Reject Flamethrower with Blue Flare
- Reject Bonemerang/Earth Power with Earthquake
- Make Wynaut/Wobbuffet get Custap Berry 50% of the time with Destiny Bond
- Add the possibility of getting Lum Berry with Outrage
2013-01-19 21:17:03 +04:00
Marty-D
9e89524d8f Update several move descriptions. 2013-01-18 18:48:22 -05:00
Guangcong Luo
8e3ae6bade Merge pull request #138 from MJB47/patch-12
Tornadus T is now uber
2013-01-18 07:14:34 -08:00
Guangcong Luo
d7088e0c9a Merge pull request #139 from MJB47/patch-13
OU suspect test is over
2013-01-18 07:14:28 -08:00
TheImmortal
94a4b0946b Prevent CAP abilities in Hackmons/BH 2013-01-17 22:19:04 +04:00
MJB
f6774e38d8 OU suspect test is over 2013-01-17 14:53:15 +00:00
MJB
ec22951d0e Tornadus T is now uber 2013-01-17 14:51:13 +00:00
TheImmortal
1e14d8df07 Free Jaboca Berry 2013-01-17 18:44:20 +04:00
Cathy Fitzpatrick
03d9da0d5b Use this.effect for constant effect property. 2013-01-15 22:56:45 -07:00
Cathy Fitzpatrick
8f6313a705 This commit makes several changes to Protect and related moves in both
Gen 4 and Gen 5:

1) In Gen 4, the chance of protecting succeeding does not fall below
   1/8, which has now been corrected in this commit. Previously, the
   chance of success in Gen 4 was allowed to drop all the way to
   1/(2**32) as in Gen 5.

   Please see upokecenter for the correct mechanics:
     http://upokecenter.dreamhosters.com/dex/?lang=en&move=182

   For Protect and friends, Smogon currently says that the chance of
   success does not fall below 50%, which is inconsistent both with the
   current Pokemon Showdown! behaviour and with upokecenter. It is
   pretty much certain that upokecenter is accurate here, since it is
   based directly on the in-game data. This commit implements the
   upokecenter mechanics.

2) This commit also consolidates some duplicate code with Protect and
   friends by moving the miss chance logic to an event of the 'stall'
   volatile called onStallMove. This allows me to remove some duplicate
   code from moves.js.

3) Currently, some but not all of Protect and friends have a flag
   called stallingMove set to true. This flag does not appear to be used
   for anything. However, for consistency, I have set it to true for all
   the "stall moves", as opposed to just a subset of them.
2013-01-15 22:33:54 -07:00
Guangcong Luo
d7b28b40ad Fix sometimes incorrect Leech Seed message in doubles 2013-01-14 21:58:10 -08:00
Guangcong Luo
fb4f4e5f9d Slow Start goes away when the ability changes 2013-01-14 19:18:59 -08:00
Guangcong Luo
3b69429f3f Fix crash with Beat Up
(it would crash if, in doubles, a Pokemon in slot 2 that was statused
used Beat Up)
2013-01-14 19:18:59 -08:00
TheImmortal
0e25b08412 Randbats: Prevent Shed Skin + Chesto with Rest 2013-01-15 02:08:54 +04:00
TheImmortal
134910140b Viable moves changes 2013-01-15 02:03:33 +04:00
Guangcong Luo
485446a964 Chansey's been quickbanned in UU 2013-01-13 08:08:02 -08:00
Guangcong Luo
4811087267 Screens are less effective in doubles 2013-01-12 15:22:01 -08:00
Guangcong Luo
acbeada910 Fix Magic Guard 2013-01-11 22:51:22 -08:00
Guangcong Luo
e37792dcf8 Fix bug in spread hit damage calculation 2013-01-11 17:13:00 -08:00
Guangcong Luo
f6f2d0febc Properly fix spread hits and damage reduction 2013-01-11 16:03:51 -08:00
Guangcong Luo
4827a10931 Spread hits only get damage reduction if they spread 2013-01-11 15:57:39 -08:00
TheImmortal
65e0cebf6f Set level before set is validated- maxLevel for LC 2013-01-11 14:03:52 +04:00
Guangcong Luo
39c33e409c Fix the learnset checker to handle chainbreeding better
Specifically, Spikes + Sleep Powder Roserade is no longer legal
Also add more comments to checkLearnset
2013-01-11 01:42:47 -08:00
Guangcong Luo
dd60182a2e Evasion Moves Clause - fix spelling 2013-01-10 20:31:58 -08:00
Guangcong Luo
ff432c40f9 Smogon Doubles doesn't have Moody Clause 2013-01-10 20:31:39 -08:00
MJB
6a0df24a40 Added Evasion abilities clause to OU current
This seemed to be omitted for some reason, fairly sure it should be in effect
2013-01-10 15:09:12 +00:00
Guangcong Luo
1b0f2760b2 Smogon doubles should be a rated format 2013-01-10 02:13:41 -08:00
Guangcong Luo
3598cc277d Implement Smogon Doubles 2013-01-10 00:50:20 -08:00
TheImmortal
3b647dbdfd Update learnset checker 2013-01-10 11:36:00 +04:00
TheImmortal
c4e8fb9632 Fix Little Cup illegalities with DW abilities 2013-01-09 19:48:45 +04:00
Marty-D
ddbd2d37c4 Fix multi-hit moves. 2013-01-08 20:23:21 -05:00
TheImmortal
31d0afce58 Viable moves updates 2013-01-09 01:21:00 +04:00
Marty-D
42ef0bb533 Fix Wide Guard. 2013-01-08 15:56:56 -05:00
TheImmortal
e8e8acbc26 Randbats: Set Snover to level 95 2013-01-08 23:43:04 +04:00
TheImmortal
b52cb1e272 Randbats: Prevent Choice Band + Rapid Spin 2013-01-08 21:05:57 +04:00
Marty-D
01906be31e Fix Normal Gem + Explosion, Red Card / Eject Button for real. 2013-01-08 12:01:00 -05:00
TheImmortal
8878dbd9e2 Make Magic Guard block (Hi) Jump Kick recoil
This is a temporary fix
2013-01-07 12:39:20 +04:00
Guangcong Luo
1a9a836ad9 Fix Rollout and Ice Ball not locking when called 2013-01-05 14:33:59 -08:00
Guangcong Luo
78ab5811e9 Fix calling+rampage moves
(things like Assist+Outrage)
2013-01-05 13:57:12 -08:00
Guangcong Luo
d6aab03fb6 Encore no longer forces retarget in doubles 2013-01-05 13:56:39 -08:00
TheImmortal
75bd51d3c4 Randbats: Reject Hustle if no Physical moves 2013-01-05 17:24:23 +04:00
Marty-D
b0d685be1a Imprison's effect can't be Baton Passed. 2013-01-04 18:53:47 -05:00
TheImmortal
9d44bbbd5a Viable moves updates 2013-01-04 23:54:14 +04:00
Marty-D
46da54c7cd Make sure Normal Gem + Explosion works. 2013-01-04 12:17:22 -05:00
TheImmortal
fe7cc0529f Scizor event 2013-01-04 16:22:35 +04:00
TheImmortal
5ef646c5ec Randbats: Reject Prankster if no Status moves 2013-01-04 15:23:40 +04:00
Bill Meltsner
ac6dfa5569 Fix up Evasion Clause 2013-01-04 01:12:44 -08:00
Antar1011
8d381a48af LC UU 2013-01-02 11:07:41 -05:00
Antar1011
59ef15ff1a Zarel does it better 2013-01-02 11:04:03 -05:00
Guangcong Luo
cdd3af07c1 Implement Safeguard preventing confusion 2013-01-02 07:59:38 -08:00
Antar1011
eb5af0cb2e Tier Update 2013-01-02 07:50:40 -05:00
Marty-D
c101694d84 Fix Electro Ball's Base Power in Trick Room. 2013-01-01 22:07:41 -05:00
Marty-D
c64d65182d Fix Helping Hand and Sky Drop.
- Helping Hand should work on an ally using two-turn moves.
- Sky Drop should fail on an ally.
2013-01-01 11:37:05 -05:00
Marty-D
2f6abbb384 Make Soundproof block Perish Song again. 2012-12-30 13:26:45 -05:00
Marty-D
8cf4bf27bc Prevent certain Abilities from working with self-target moves. 2012-12-30 10:47:42 -05:00
Guangcong Luo
8690d373ea The RU and Ubers suspect tests have ended 2012-12-29 23:13:51 -08:00
Guangcong Luo
ac67c8683e OU is running a suspect test 2012-12-29 23:06:12 -08:00
Bill Meltsner
c51285ddf1 Cresselia was banned from RU 2012-12-29 19:39:51 -06:00
Bill Meltsner
7520c2342d Fix issue where Prankster would sometimes ignore Lagging Tail 2012-12-29 12:32:10 -06:00
Marty-D
7f25f19554 Make sure Status moves can activate certain Abilities behind Subs. 2012-12-29 00:07:33 -05:00
Marty-D
ecbc9bfd62 Fix certain Abilities activating behind Protect. 2012-12-29 00:04:13 -05:00
V4Victini
54dd6ff01b Fix GK/LK
Should be >= as opposed to >
2012-12-28 12:01:27 -05:00
TheImmortal
dc29863351 Use Sheer Force counter for Serene Grace as well 2012-12-28 00:09:05 +04:00
TheImmortal
c4bd36e636 Update Swampert viable moves 2012-12-28 00:06:26 +04:00
Marty-D
462714ab60 Randbats: Removed Thunder Wave from Gyarados. 2012-12-26 21:35:13 -05:00
Bill Meltsner
7239af8dd2 Fix Giratina being allowed in VGC 2012-12-24 12:27:11 -06:00
Bill Meltsner
0296f36912 Actually, this is better 2012-12-23 12:29:17 -06:00
Bill Meltsner
cbdbdcf1be Fix Solid Rock and Filter affecting both Pokemon on a side in Doubles. 2012-12-23 12:18:10 -06:00
Bill Meltsner
ab66c890f8 Ubers has unbanned Evasion Clause. 2012-12-23 00:40:01 -06:00
Marty-D
c195611628 Fix the 1/3 recoil moves. 2012-12-22 15:27:31 -05:00
TheImmortal
21104cdcf0 Missing DW moves 2012-12-22 13:02:25 +04:00
TheImmortal
5b6cccf0bd Viable moves changes 2012-12-22 12:59:45 +04:00
Marty-D
703a95fd3a Fix Outrage + Protect. 2012-12-19 20:33:48 -05:00
Guangcong Luo
f3b546b5ab Fixes to gen 3 formats 2012-12-18 23:41:17 -08:00
Christopher Monsanto
fb6a75e3a3 Relados gen3 support. 2012-12-19 01:18:06 -05:00
MJB
ccb87ef5da Added Dig to colosoils moveset
Apparently this was left out due to an error.
2012-12-18 23:52:12 +00:00
TheImmortal
c53f4f821b Deoxys and Gothorita events 2012-12-17 20:29:25 +04:00
Guangcong Luo
f30c801ffd Corrections to two-turn moves' accuracy modification 2012-12-17 06:26:28 -08:00
Guangcong Luo
94ab0f9d91 Make evasion abilities work correctly in doubles 2012-12-16 16:57:10 -08:00
Guangcong Luo
821ef0aed8 Some fixes to accuracy calculation 2012-12-16 11:42:56 -08:00
Guangcong Luo
26a6a78af2 Doubles is actually surprisingly stable 2012-12-15 06:44:30 -08:00
Guangcong Luo
cd6f216d7c Doubles Challenge Cup 2012-12-15 04:51:12 -08:00
Guangcong Luo
8a15fbe5cd Implement Damp 2012-12-14 14:44:55 -08:00
Guangcong Luo
7dbe93dcf2 Implement Snatch 2012-12-14 14:44:55 -08:00
Guangcong Luo
87cd851adf Seasonal ladder: nerf Victini 2012-12-14 14:44:55 -08:00
Guangcong Luo
7ed88a77a3 New seasonal ladder: Winter Wonderland 2012-12-14 14:44:55 -08:00
Guangcong Luo
bd6106f296 Custap Berry is released 2012-12-14 14:44:54 -08:00
TheImmortal
9d79dd7b3c Ban Keldeo-R from VGC 2012-12-14 19:26:50 +04:00
Marty-D
57e55bfee9 Fix Custap Berry to be like Quick Claw. 2012-12-14 10:20:44 -05:00
Guangcong Luo
8d5f2884ca Fix Baton Pass circumventing Natural Cure and Regenerator 2012-12-14 06:57:13 -08:00
Guangcong Luo
9d3582fbcf Better error messages for Species/Item Clause 2012-12-14 06:56:15 -08:00
Guangcong Luo
2db3d66f80 Implement Quash 2012-12-14 02:57:18 -08:00
Guangcong Luo
5922f301c7 Implement Power Split and Guard Split 2012-12-14 02:42:24 -08:00
Guangcong Luo
e68507d627 Implement Follow Me 2012-12-13 16:37:10 -08:00
Guangcong Luo
94a53d13cb Custap Berry outspeeds Quick Claw 2012-12-13 16:36:44 -08:00
Guangcong Luo
0dc381da2d Correct implementation of Custap Berry 2012-12-13 14:29:03 -08:00
Guangcong Luo
721b4c894b Correct implementation of Telepathy 2012-12-13 14:28:48 -08:00
Guangcong Luo
51e8a2cc2d Implement Telepathy 2012-12-13 14:12:09 -08:00
Marty-D
7759e934c0 Fix Defiant for Doubles. 2012-12-13 16:38:18 -05:00
Guangcong Luo
06ca4132e1 Follow Me only lasts one turn 2012-12-13 05:11:10 -08:00
Guangcong Luo
d592a22cf5 Kyurem formes are banned from VGC 2012-12-13 04:15:00 -08:00
Guangcong Luo
54bcd9ab33 Make sure a Pokemon faints properly after using Explosion 2012-12-13 04:10:14 -08:00
Guangcong Luo
7ed807aacc Fix crash with one pokemon in doubles 2012-12-13 03:11:44 -08:00
Guangcong Luo
09bd0673a5 VGC can now be laddered 2012-12-13 02:35:44 -08:00
Guangcong Luo
02d2c1cba8 Normal Gem Explosion now works correctly 2012-12-13 02:26:13 -08:00
Guangcong Luo
c5553925d5 Implement Helping Hand 2012-12-12 15:52:05 -08:00
Guangcong Luo
9f91d5c0f1 Correct Imposter targeting in doubles/triples 2012-12-12 15:51:53 -08:00
Guangcong Luo
6f96a06440 Allow underleveled pokemon at level 50 if forced by VGC rules
(also add item clause to VGC)
2012-12-12 15:51:02 -08:00
Guangcong Luo
1e1cd11410 Implement item aliases 2012-12-12 15:49:48 -08:00
Guangcong Luo
79c1419f2a Spread moves hit allies before foes 2012-12-12 12:45:35 -08:00
Guangcong Luo
7625846be7 Proper implementation of Follow Me, Lightningrod et al. 2012-12-12 11:55:30 -08:00
Guangcong Luo
722ec91767 Implement Follow Me/Rage Powder 2012-12-12 11:23:38 -08:00
Guangcong Luo
721f038c3e Explosion KOes self even without a target 2012-12-12 11:23:25 -08:00
Guangcong Luo
4edd2ddfac Fix the order of selfdestruct, drain, and recoil when used by moves 2012-12-12 10:06:56 -08:00
Guangcong Luo
943e79d44e Fix intermittent crash in seasonal ladder
('alteria' was spelled incorrectly)
2012-12-12 08:19:48 -08:00
Guangcong Luo
b614cd6c1d Fix Protect+Outrage crash 2012-12-12 08:19:48 -08:00
Guangcong Luo
317e0a4874 Remove Hax Clause entirely, too much user confusion to be worth it 2012-12-12 08:19:48 -08:00
Guangcong Luo
2ef5820fb6 Fix immunities activating on secondaries 2012-12-12 08:19:47 -08:00
Guangcong Luo
ee06de6ce1 Implement Wide Guard 2012-12-12 08:19:47 -08:00
TheImmortal
dd63a2a56f Many viable moves changes 2012-12-12 19:05:13 +04:00
Guangcong Luo
ba510dea75 Doubles! now in beta
- most remaining Doubles issues have been fixed in this commit
2012-12-12 06:52:12 -08:00
Marty-D
cb0bd2fe11 Fix Selfdestruct and Explosion. 2012-12-08 22:57:14 -05:00
TheImmortal
a407ed597a Meowth event 2012-12-08 19:40:05 +04:00
Guangcong Luo
8cc7bb5979 New allyTeam targeting for Heal Bell/Aromatherapy 2012-12-07 13:11:51 -08:00
TheImmortal
f2f000f989 Modify ability ratings 2012-12-07 20:29:51 +04:00
Marty-D
d4d6885a2b New targets for Doubles+. 2012-12-06 19:34:44 -05:00
Guangcong Luo
a29c373699 Fix Illusion, it should now be mechanically correct 2012-12-06 15:37:56 -08:00
TheImmortal
4d12d57d3c Update Aurumoth viable moves 2012-12-06 15:53:51 +04:00
Guangcong Luo
ff31e12e56 Cosmetic forms overhaul
Cosmetic forms no longer appear as entries in pokedex, formats-data, etc
Cosmetic forms are listed in the base form's pokedex entry
2012-12-06 02:19:46 -08:00
Guangcong Luo
8b038b0491 Remove evasion abilities from Evasion Clause
There's now no need for silly stuff like Standard Ubers in LC
2012-12-06 02:18:46 -08:00
Guangcong Luo
e021dea1ed NEXT: buff Octillery, Serperior 2012-12-06 02:17:09 -08:00
Marty-D
95a002fee5 Revert Outrage fix.
- Outrage is supposed to be able to confuse while asleep, as long as the duration would have ended the turn of attempted use anyway, much like Protect + Outrage. Also this breaks the game.
2012-12-05 10:35:50 -05:00
Guangcong Luo
e2e28f85e3 RU's running a suspect test 2012-12-05 04:04:34 -08:00
Guangcong Luo
df4939b84d Fix Outrage/etc confusing while asleep 2012-12-05 04:04:34 -08:00
Guangcong Luo
04b84f71e7 Merge pull request #111 from kotarou3/evoLevel
Add support for minimum level checking
2012-12-04 20:29:54 -08:00
Guangcong Luo
180eaae0b1 PROPER code for 0-damage attacks 2012-12-03 22:44:39 -08:00
Guangcong Luo
ea0b811007 Preliminary code to allow 0-damage attacks to activate secondaries 2012-12-03 04:08:47 -08:00
Guangcong Luo
0b57b68467 The OU, UU, and RU suspect tests/playtests are done 2012-12-03 04:08:47 -08:00
Marty-D
487c34f02e Fix Early Bird. 2012-12-02 11:34:46 -05:00
Bill Meltsner
d0615bed89 Unban evasion abilities from LC. 2012-12-01 00:20:51 -08:00
Marty-D
e91ec51e58 Wonder Room works properly. 2012-11-30 18:28:58 -05:00
小太
8d2387c3f5 Update pokedex with evoLevel and evoMove; and add camelCase 2012-11-30 21:03:37 +11:00
Bill Meltsner
87487e6c60 Genesect is banned. 2012-11-30 00:39:49 -08:00
Guangcong Luo
5d6544724b More doubles fixes:
- status is applied to the right pokemon
- active pokemon can't be switched in
- don't prompt a switch if there's nothing to switch to
2012-11-28 20:52:42 -08:00
Guangcong Luo
e6f751fe62 Ubers is doing a suspect test 2012-11-28 20:51:00 -08:00
TheImmortal
c179de4e47 Make Moody get Leftovers in Randbats 2012-11-26 01:10:54 +04:00
Guangcong Luo
ab1042a3c7 Consistently capitalize suspect tests 2012-11-24 11:54:38 -08:00
Guangcong Luo
53af2c8533 NEXT changes:
- buff Snow Cloak, special perfect accuracy moves, Thick Fat, Unown
- unnerf Draco Meteor
- nerf Genesect, freezing
- 95% accurate moves now 100% accurate (except Jump Kick)
- Kyurem-B, Deoxys-D, Latios, Latias to Uber
2012-11-24 11:54:38 -08:00
TheImmortal
49e646be20 Kyogre, Groudon, and Victini events 2012-11-24 23:27:28 +04:00
TheImmortal
10ff3204a6 DW moves update 2012-11-23 22:36:48 +04:00
TheImmortal
11466ffae3 Prevent Air Balloon with Magnet Rise in Randbats 2012-11-23 22:25:12 +04:00
TheImmortal
99f6a51c43 Reduce Rivalry rating 2012-11-23 22:22:02 +04:00
Guangcong Luo
a0acade56f RU is doing a suspect test 2012-11-23 04:26:10 -08:00
Guangcong Luo
215e7bf07a Style fixes 2012-11-23 04:24:57 -08:00
Guangcong Luo
807f6bad9c Make learnsets.js ES3-compatible again 2012-11-22 23:23:56 -08:00
Guangcong Luo
a6ce2c06cb Merge pull request #104 from Antar1011/master
RU Suspect Test Round 12
2012-11-22 23:23:04 -08:00
GreatSage
2f8147dbc4 Update data/formats.js
add OHKO clause back to ubers
2012-11-23 00:28:18 -05:00
Antar1011
6ec3467132 RU Suspect Test Round 12 2012-11-21 20:16:00 -05:00
TheImmortal
89588232d4 New DW moves 2012-11-21 23:57:26 +04:00
TheImmortal
3f118c46b9 A number of new DW releases 2012-11-21 23:06:44 +04:00
Guangcong Luo
7f35679d01 Some tiering changes:
- OU is having a suspect test
- CAP is having an Aurumoth playtest
2012-11-19 14:44:59 -08:00
Marty-D
45360c60f5 Quick fix for Aurumoth learning Bug Buzz + Hydro Pump. 2012-11-18 23:16:12 -05:00
Marty-D
5b09f1f93d CAP 4 Aurumoth learnset added. 2012-11-18 19:28:38 -05:00
Marty-D
420d08f23a CAP 4 Aurumoth added to pokedex. 2012-11-18 19:10:17 -05:00
TheImmortal
f95a461ce0 Randbats update
- Prevent Choice Band with Flame Charge
- Reject Defiant if no Physical moves and no Baton Pass
2012-11-17 00:25:31 +04:00
TheImmortal
daa51d661d Viable moves change- Cubone can't learn Stone Edge 2012-11-16 22:37:01 +04:00
TheImmortal
0384d62b4c Add Jumpluff, Pansage, Pansear, and Panpour events 2012-11-16 18:23:20 +04:00
TheImmortal
f3bfac7028 Remove abilities and add isDW, add new events 2012-11-16 18:19:22 +04:00
Guangcong Luo
2a08c9a2cc Fix some remaining Curse issues
Curse should now KO the user where necessary and fail against Cursed mons again
2012-11-15 19:32:34 -08:00
Guangcong Luo
49c0c785a0 Fix crash when attempting to generate a randbat set with no viable moves 2012-11-15 19:32:34 -08:00
TheImmortal
557a2ce8c8 Randbats update
- Prevent Pluck + Acrobatics
- Make sure setups have more than 1 attacking move
2012-11-15 23:14:16 +04:00
Marty-D
0302e93226 Add forgotten parts to some move descriptions. 2012-11-14 15:45:30 -05:00
TheImmortal
b34b778870 Randbats change
Forgot to include Switcheroo with Trick to be rejected with setup
2012-11-14 20:44:34 +04:00
Marty-D
68fc3c1e06 Make sure Leech Seed can't activate Cursed Body. 2012-11-13 19:59:33 -05:00
TheImmortal
b345ac910e Randbats update
- Prevent Fake Out + Trick/Switcheroo
- Prevent Weather Ball without Sunny Day
- Prevent SolarBeam + Giga Drain
- Prevent Rest + Synthesis
2012-11-14 00:21:44 +04:00
Guangcong Luo
d06be3b172 Slight fix to Curse:
- should fail if not enough HP
2012-11-12 23:32:19 -08:00
Guangcong Luo
dc89148d12 Fix Venoshock to work with toxic poison 2012-11-12 23:23:21 -08:00
Guangcong Luo
52de2b4d19 Ran a static analyzer, fixed some errors
Specifically, Git Canary: gitconary.com
2012-11-12 15:31:57 -08:00
TheImmortal
ea95915791 More Randbat updates
- Allow Eruption + Fire move
- Prevent multiple moves of same typing
2012-11-12 23:51:08 +04:00
TheImmortal
0b9b3979ac Update Heatran viable moves 2012-11-12 11:21:06 +04:00
TheImmortal
b9aa2f1f7d Update Randbats script
- Harvest gives Sitrus Berry
- Substitute is prevented with U-turn/Volt Switch
2012-11-11 17:07:54 +04:00
TheImmortal
9f589a1ccf Update Harvest & Klutz ratings 2012-11-11 16:55:57 +04:00
Guangcong Luo
828e1e3465 Fix a few more move message bugs 2012-11-10 14:08:42 -08:00
Guangcong Luo
bbb86e46e7 Fix abilities activating for fainted foes 2012-11-10 14:07:50 -08:00
Guangcong Luo
36eb0d27a1 Fix the Perish Song Soundproof visual issue 2012-11-10 11:18:37 -08:00
Guangcong Luo
57e0fbe552 Another ton of placeholder messages
(should be nearly everything in moves.js, besides the perish song immunity)
2012-11-10 02:01:20 -08:00
Guangcong Luo
84e711697c Implement a ton of placeholder messages 2012-11-10 01:24:33 -08:00
Guangcong Luo
5e542b0ae7 Fix Gravity's end animation PEROPERLY 2012-11-10 01:12:58 -08:00
Marty-D
5b5c23006b Fix Gravity's end animation. 2012-11-09 23:22:03 -05:00
Marty-D
13983ebea2 Fix Facade.
- Base Power is not doubled while asleep
2012-11-09 22:10:11 -05:00
TheImmortal
78c4f4d1ed Prevent Rock Blast + Stone Edge in Randbats 2012-11-07 19:21:04 +04:00
Guangcong Luo
2c97a37612 New OU suspect test: Genesect ban 2012-11-06 22:36:13 -08:00
Guangcong Luo
c9d42f1740 More changes for better doubles support
- Most of these changes are just renaming some variables to make logic clearer
- `decision` has been split into separate concepts of "choice" and "decision"
- Some refactoring: `decide` split into `choose` and `parseChoice`, and
  some game code is delayed to `addQueue` where it makes more sense
2012-11-06 22:31:32 -08:00
Bill Meltsner
8d05ebf38c Kyurem-Black has been unbanned. 2012-11-05 20:17:36 -08:00
TheImmortal
7a8785a7e8 Hydration rating change 2012-11-05 23:28:20 +04:00
TheImmortal
024ee55318 Prevent Aqua Tail and Waterfall in Randbats 2012-11-05 21:01:50 +04:00
TheImmortal
69f7c70243 Update ratings 2012-11-05 20:57:31 +04:00
Guangcong Luo
4d932be413 UU is doing a suspect test on Snow Warning 2012-11-04 18:04:25 -08:00
TheImmortal
5271ca500a Update viable moves 2012-11-04 16:32:34 +04:00
TheImmortal
073176671f Add missing Sandile moves 2012-11-04 16:13:14 +04:00
TheImmortal
ef2fc15367 Facade should give Toxic Orb in Randbats 2012-11-04 16:00:10 +04:00
Marty-D
f1da1521fa Fix Zen Mode.
- differentiate between "Transform"ed and transformed so Transform works on it
2012-11-02 17:54:47 -03:00
TheImmortal
5b9700f17a Update viable moves 2012-11-02 22:07:29 +04:00
TheImmortal
d1b90cffa3 Modify ratings 2012-11-02 22:05:57 +04:00
TheImmortal
57e79243ac Update Randbats script
- Prevent Chesto Berry if ability is Natural Cure
2012-11-02 22:04:03 +04:00
Guangcong Luo
1bb7a10d3c Some code to prepare for doubles support
(doubles is by no means done or close to done)
2012-11-01 01:50:49 -07:00
TheImmortal
42c1626345 Stored Power is useless in randbats without setup 2012-10-31 19:32:12 +04:00
Guangcong Luo
a42571f751 Format overhaul
- Added Matthew's seasonal ladder
- Renamed "Debug Mode" to "Custom Game" so it's clearer what it's for
- Miscellaneous cleanup
2012-10-30 19:53:04 -07:00
TheImmortal
abcba2828a Prevent Focus Punch without Substitute in Randbats 2012-10-30 16:36:47 +04:00
Marty-D
6af36ceab3 Fix Lock-On and Mind Reader.
- effect is on the target, not the user
2012-10-27 22:19:27 -03:00
Marty-D
241320fc76 Minor correction to Mud and Water Sport. 2012-10-26 23:53:53 -03:00
Marty-D
424d617ff5 Fix Starf Berry.
- can't boost accuracy or evasion
2012-10-26 00:43:22 -03:00
TheImmortal
13cc6f4c7f Viable moves changes 2012-10-26 01:33:32 +04:00
Marty-D
abc188dc75 Make sure Fissure cannot hit Dig users.
- seemingly a Gen 2 only mechanic
2012-10-23 21:52:16 -03:00
Marty-D
11851fc38b Make sure OHKO moves do not hit during invulnerable turns. 2012-10-23 21:41:39 -03:00
Marty-D
30564a40fc Make sure Download does not activate with no opponent. 2012-10-22 15:57:48 -03:00
TheImmortal
4be9c38a09 Viable moves update 2012-10-22 18:59:16 +04:00
Guangcong Luo
9877ef5186 Refactor items.js to not call clampIntRange 2012-10-21 17:51:26 -07:00
Guangcong Luo
e65facec71 Ubers has unbanned OHKO Clause.
- Ubers is now different enough from other Smogon metagames that it no longer uses Standard rules
- Instead, it gets Standard Ubers, which is Standard minus OHKO Clause and minus Evasion Clause.
2012-10-21 17:49:41 -07:00
Guangcong Luo
7240d08c2c Cresselia and Durant have been unbanned from RU 2012-10-21 17:47:39 -07:00
TheImmortal
a6c114f8f7 More viable move updates 2012-10-21 12:38:20 +04:00
TheImmortal
14b54ff9bd Viable moves updates 2012-10-20 12:52:37 +04:00
Marty-D
a56f4128b3 Remove Outrage lock if the user falls asleep. 2012-10-19 17:17:05 -03:00
Guangcong Luo
6f916824d7 Kyurem-B is being suspect tested 2012-10-18 14:29:54 -07:00
Antar1011
1f3add6751 Fixed CC's Smeargle moveset problem
Smeargle's movepool is ALL moves, not just Sketch, Sleep Talk and Captivate.
2012-10-18 15:36:44 -03:00
Bill Meltsner
9d92f920cc "Fix" burn to not halve the damage of fixed-damage moves.
A proper fix requires reworking how we handle fixed-damage moves in general. That'll probably come hand in hand with the revised damage formula.
2012-10-15 09:58:31 -07:00
Marty-D
88e01e270a Fix Micle Berry. 2012-10-14 23:58:55 -03:00
Marty-D
192107fc11 Fix Mist's interaction with Moody.
- thanks bmelts!
2012-10-14 22:53:47 -03:00
Bill Meltsner
4ab7cd8059 Burns halve the damage done, not the attack of the user. 2012-10-14 17:14:00 -07:00
Marty-D
e34bdb1054 Prankster's rating goes up to 4.5. 2012-10-14 18:18:37 -03:00
Marty-D
c7fa93b28c Fix the Budew line's learnset. 2012-10-14 13:02:26 -03:00
Bill Meltsner
c105e5bee7 Moody gets its own clause. Lucky Moody. 2012-10-13 15:51:56 -07:00
Bill Meltsner
86386519c8 Break Evasion Clause out of the Standard package, and add a new Evasion Moves Clause for Ubers and LC that only bans Minimize and Double Team. 2012-10-13 15:45:10 -07:00
Marty-D
2884c987bf Make sure Bide is usable by Ghost-types. 2012-10-13 13:23:31 -03:00
Marty-D
9436fcaa7e Make sure to limit one of each move in Ubers. 2012-10-13 00:13:54 -03:00
Marty-D
01ef4f80fe Garchomp is now OU. 2012-10-12 23:49:42 -03:00
Marty-D
82f6685571 Ban Sand Veil and Snow Cloak from OU and below.
- Ubers now has Evasion Clause and OHKO Clause off.
2012-10-12 23:47:24 -03:00
TheImmortal
5979dbf4ed Viable moves updates 2012-10-12 01:18:28 +04:00
TheImmortal
dc54ad1722 Randbat updates 2012-10-10 02:13:54 +04:00
TheImmortal
24e162f58f Genesect Event 2012-10-10 02:12:57 +04:00
Marty-D
a8748142e5 Add the Reckless boost flag to (Hi) Jump Kick. 2012-10-08 21:06:33 -03:00
Guangcong Luo
fb06a15662 Don't deduct multiple PP for multi-turn moves 2012-10-04 19:18:32 -07:00
TheImmortal
cd698d0a28 Set Harvest rating to 0.5 2012-10-03 01:12:43 +04:00
TheImmortal
466b906f01 Gluttony rating set to 0, as requested by GS 2012-10-03 00:29:53 +04:00
TheImmortal
790440e4d3 Set Shedinja & Tyrogue to level 99 2012-10-03 00:27:13 +04:00
Antar1011
d0d13aeb66 LC Ubers and UU
Added the two unofficial metagames. For LC UU, see here: http://www.smogon.com/forums/showpost.php?p=4414799&postcount=2
2012-10-01 13:31:40 -03:00
Antar1011
bf31695501 Tier update
http://www.smogon.com/forums/showthread.php?t=3472966
2012-10-01 06:58:00 -03:00
Antar1011
3431a6a096 Update data/formats-data.js
Tier update: http://www.smogon.com/forums/showthread.php?t=3472966
2012-10-01 06:52:25 -03:00
verbiage
c0b3ed40d0 Banned Shadow Tag and Arena Trap in BH 2012-09-30 16:14:11 -05:00
TheImmortal
2431be68cd Ralts + Kirlia viable moves update 2012-09-30 16:12:23 +04:00
Marty-D
ca9110d074 Add an interesting Substitute mechanic.
- creating a Substitute ends any partial-trapping effect on the user
2012-09-29 19:53:35 -03:00
Marty-D
5c1c3118d6 Change "U-Turn" to "U-turn". 2012-09-29 15:18:55 -03:00
Guangcong Luo
46004d9722 Fix Cherrim-Sunshine's sprite 2012-09-29 03:36:25 -07:00
Marty-D
40f5040c32 Make sure Feint breaks Protect/Detect. 2012-09-27 16:45:37 -03:00
Marty-D
9ddfdd4451 Encore should not make Struggle repeat. 2012-09-26 19:16:25 -03:00
Marty-D
5e9828fc54 Minor fix for Mimic and Sketch.
- the copied move has its current and max PP set to the original max PP
2012-09-26 19:07:31 -03:00
Marty-D
de425dc6ad Give Steamroller a number. 2012-09-24 16:39:59 -03:00
Marty-D
957504afea Make Abilities refer to accuracy and evasion in lowercase. 2012-09-24 15:41:37 -03:00
Marty-D
67b6091e23 Make moves refer to accuracy and evasion in lowercase. 2012-09-24 15:39:40 -03:00
Marty-D
3f13e8c085 Unban Freeze Shock and Ice Burn from Balanced Hackmons.
- the two-turn Assist bug is fixed
2012-09-22 23:26:27 -03:00
Marty-D
235fa6a295 Make sure Forecast activates after hazards. 2012-09-22 23:24:33 -03:00
TheImmortal
c9af6c0f74 Update Random Battle Pokemon levels 2012-09-22 01:23:17 +04:00
TheImmortal
71e0d9711a Event Pokemon 2012-09-21 00:32:03 +04:00
Marty-D
0444c9c93f Placeholder messages for Attract. 2012-09-16 20:38:09 -03:00
Marty-D
7be855769a Minor edits to some Ability descriptions. 2012-09-15 20:45:53 -03:00
TheImmortal
b7deee9e50 Viable moves updates 2012-09-15 22:56:00 +04:00
Guangcong Luo
0305122004 Random battles fixes:
- several pokemon receive level adjustments
- Guts and Tinted Lens should be slightly less common
- Sheer Force is now filtered (will not be chosen without a move that benefits from it
- Bidoof now gets Moody for the lulz
2012-09-13 22:00:54 -07:00
Guangcong Luo
e22e7550dd Eviolite affects the base pokemon before Transform
(This is mainly relevant to Eviolite Illusion Chansey in Hackmons
2012-09-13 22:00:54 -07:00
Guangcong Luo
d185fcc790 Add alternate name for suspect test format 2012-09-13 22:00:54 -07:00
Antar1011
7ba2086f16 Fixed and verified. 2012-09-13 21:16:30 -04:00
Antar1011
b3c8921696 Possible fix for CC issue. 2012-09-13 21:07:35 -04:00
Guangcong Luo
772d9093ae Fix some rounding issues for variable-base-power moves 2012-09-13 16:58:06 -07:00
Guangcong Luo
022e010ac0 Unban evasion items from Evasion Clause 2012-09-13 16:58:06 -07:00
TheImmortal
96a33159f3 Release Micle Berry
Going to be released 7 hours from now
2012-09-14 00:47:45 +04:00
TheImmortal
d9153b1438 Charizard viableMoves update, for GreatSage 2012-09-14 00:45:13 +04:00
Marty-D
b9ff3e4c73 Activation message for Air Lock and Cloud Nine. 2012-09-12 19:11:57 -03:00
Guangcong Luo
b7ea982716 New system for event abilities
Fixes validation issues on Salamence and Gallade
2012-09-09 00:39:31 -07:00
Guangcong Luo
61a0bd9c09 Make sure self-target moves ignore Soundproof 2012-09-09 00:39:31 -07:00
Marty-D
6232e39cb5 Type changes cannot be Baton Passed.
Camouflage, Conversion, Conversion 2, Reflect Type, Soak.
2012-09-07 22:54:16 -03:00
Marty-D
b271657035 Fix Flame Orb and Toxic Orb more.
Forgot about Water Veil and Immunity.
2012-09-07 20:27:24 -03:00
Marty-D
1dc7a22294 Fix Flame Orb and Toxic Orb.
Neither tries to activate on type immunities.
2012-09-07 20:10:42 -03:00
Marty-D
d8b7aa74f1 Fix U-turn.
In the event that the user and target get KOed in the same turn (Life Orb recoil, Iron Barbs, etc.), make sure the user isn't forced to switch to another Pokemon before the opponent chooses a replacement.
2012-09-03 18:46:02 -03:00
Bill Meltsner
cc8430bdae Gothitelle has been banned from UU. 2012-09-03 00:31:51 -07:00
Bill Meltsner
5dc9e7893d Fix Skymin being usable in the Suspect Test format. 2012-09-01 19:52:19 -07:00
Marty-D
ca4ddb880d Fix Sky Drop going through Protect/Detect. 2012-09-01 21:53:40 -03:00
Marty-D
77196154af Fix Figy Berry's heal graphic. 2012-09-01 14:42:30 -03:00
Guangcong Luo
6bcbe6de21 Fix OU suspect test bans 2012-08-31 20:00:38 -07:00
TheImmortal
7c8cb9c119 Kanto Starter Event 2012-08-31 20:05:17 +04:00
Marty-D
949a769e70 Fix Color Change.
- type can't be Baton Passed
- doesn't activate if the Pokemon is no longer active
2012-08-30 13:19:10 -03:00
Marty-D
5c96fcf73a Fix the partial-trapping duration. 2012-08-29 22:41:33 -03:00
Guangcong Luo
c36ce5f236 Correctly add event Pikachu 2012-08-29 14:44:47 -07:00
TheImmortal
44add68e3c Viable moves updates + Pikachu event 2012-08-29 20:22:23 +04:00
Guangcong Luo
d8e59c030a Add Garchomp suspect test tier 2012-08-28 23:12:55 -07:00
Marty-D
291749ec8a Fix Magic Guard to not block confusion damage. 2012-08-27 21:38:15 -03:00
Marty-D
9d363fb871 Fix Sucker Punch to trigger on Me First. 2012-08-24 16:21:05 -03:00
Guangcong Luo
408fd2e283 Fix Sky Drop 2012-08-24 11:52:30 -07:00
Guangcong Luo
0476520219 Fix Destiny Bond
contrary to previous belief, it should expire to any move attempt
2012-08-24 10:59:23 -07:00
Guangcong Luo
ffa1fe5082 NEXT: lots of changes
- see the diff of GEN-NEXT.md for details
2012-08-23 12:55:43 -07:00
Marty-D
c051a7f06a Fix partial trapping moves.
Thanks, bmelts!
2012-08-23 00:40:18 -03:00
Guangcong Luo
00fea00705 Clean up an artifact of a failed SFTP upload 2012-08-22 19:33:39 -07:00
Guangcong Luo
d66c45000c Fix Giratina ability enforcement
(won't happen in Hackmons anymore)
2012-08-22 19:31:32 -07:00
TheImmortal
3232229a48 Add all shiny event data 2012-08-21 15:37:47 +04:00
Guangcong Luo
39286e8bf9 Include shininess in event data 2012-08-20 23:25:29 -07:00
Guangcong Luo
8782ecee6d Simplest fix for the Giratina ability issue 2012-08-20 23:25:15 -07:00
Bill Meltsner
ff985c96fd Make sure to recalculate the target after both ModifyMove events. 2012-08-19 16:58:14 -05:00
Bill Meltsner
41c434fd1d Proper, working implementation of Echoed Voice. 2012-08-19 15:58:30 -05:00
Marty-D
c52270accc Fix Autotomize. 2012-08-19 17:07:18 -03:00
Guangcong Luo
c3683999c5 Implement Echoed Voice 2012-08-19 10:28:53 -07:00
TheImmortal
b1272754d4 Bad Dreams affecting Pokemon after losing all HP 2012-08-19 10:10:38 +04:00
Bill Meltsner
59fcef1ad7 Implement Ring Target. 2012-08-19 00:07:12 -05:00
Marty-D
577376f7f9 Clarify Echoed Voice and Round's descriptions. 2012-08-18 20:29:56 -03:00
Marty-D
56bad50016 Reflect Type can copy types multiple times. 2012-08-17 21:31:36 -03:00
Guangcong Luo
4aae0ac35c Implement Foul Play 2012-08-16 22:23:21 -07:00
TheImmortal
2b57714d04 Pursuit does not miss against a switch 2012-08-16 22:52:42 +04:00
Guangcong Luo
fa1caf2384 Forecast is now affected by Air Lock etc 2012-08-14 20:54:21 -07:00
Guangcong Luo
473a1bae24 Make sure Air Lock and Cloud Nine prevent weather problems correctly 2012-08-13 22:19:27 -07:00
Marty-D
c5e25f3a9d Only SolarBeam skips its charge turn during Sunny Day. 2012-08-13 11:52:59 -03:00
TheImmortal
b2e849b0d8 Merge remote-tracking branch 'upstream/master' 2012-08-13 05:37:39 +04:00
TheImmortal
f0f172de6b Ponta & Rapidash viableMoves updates 2012-08-13 05:36:19 +04:00
Guangcong Luo
26d9b2c971 Update some remaining code to the new LockMove system 2012-08-12 18:33:33 -07:00
Guangcong Luo
a0f10fe811 Two-turn move bugs: pretty much all fixed 2012-08-12 16:31:06 -07:00
TheImmortal
7a50d4381e Missing B2W2 TM's 2012-08-12 21:52:22 +04:00
TheImmortal
0e337a0ba1 Add Genesect B2W2 Tutor Moves 2012-08-12 20:02:15 +04:00
TheImmortal
a8574d66ca Implement Bug Bite & Pluck effects 2012-08-11 22:02:47 +04:00
Marty-D
839ea9492a Update some randbat moves. 2012-08-11 14:46:31 -03:00
Marty-D
028fc78f25 Rock Head's description was apparently confusing. 2012-08-11 12:52:25 -03:00
TheImmortal
825b3a766d Darkrai is now being tested in DW OU 2012-08-11 04:03:13 +04:00
TheImmortal
65165bf1bd Add Shedinja moves gained from Ninjask 2012-08-11 02:15:58 +04:00
TheImmortal
a0a4b2c7c4 Genesect is released 2012-08-10 18:55:46 +04:00
TheImmortal
88ecfa7632 Gothorita Event
http://over-lap.co.jp/book/bw2/img/tokuten.jpg
2012-08-09 14:36:40 +04:00
Guangcong Luo
01add9ab91 Fix crash in CC with no learnset 2012-08-08 15:14:14 -07:00
Guangcong Luo
575454e27b Fix Red Card message 2012-08-06 14:38:47 -07:00
Marty-D
d79ee19ac0 Actually fix Rapid Spin.
Thanks, bmelts!
2012-08-05 13:22:30 -03:00
Marty-D
e0486402c3 Fix some move descriptions. 2012-08-04 22:03:40 -03:00
TheImmortal
d9ae36c7c9 Update CAP viableMoves 2012-08-05 04:03:39 +04:00
Bill Meltsner
cd5bf89883 Rename the BW-only mod to conform to the ID scheme. 2012-08-01 21:47:26 -05:00
Marty-D
de39153848 Fix Metal Powder. 2012-07-30 21:55:34 -03:00
TheImmortal
57e78fc87a Remove isProtectable and add isNotProtectable
- I also update a few targets
2012-07-31 02:30:26 +04:00
Marty-D
664ecea0b6 Fix Rapid Spin to remove nothing if the user faints. 2012-07-30 16:58:34 -03:00
TheImmortal
f466dc5fbf Missed Protect flag for Hidden Power types 2012-07-30 17:35:26 +04:00
TheImmortal
276af86367 Implement Sketch 2012-07-30 05:47:09 +04:00
TheImmortal
d63f780080 Add isProtectable flag
- I also moved priority under pp and isViable under id
2012-07-30 05:40:28 +04:00
TheImmortal
4c30330124 Fix Flaaffy tier 2012-07-30 03:52:15 +04:00
TheImmortal
734f8b91d0 King's Rock & Razor Fang implementation
Does not interact correctly with Sheer Force & Shield Dust
2012-07-29 05:36:24 +04:00
Guangcong Luo
276e9590c8 More aliases for better PO compatibility 2012-07-28 17:38:53 -07:00
Bill Meltsner
643c1c60bd Add Toxic Boost check to the random team algorithm. 2012-07-28 16:47:08 -05:00
TheImmortal
9c6aa5492c Add cureStatus 2012-07-26 20:48:42 +04:00
Guangcong Luo
13efd30470 Magikarp's Revenge should not appear in random battles normally 2012-07-25 15:55:24 -07:00
TheImmortal
efc7963357 Events from Pokemon Adventure Camp 2012-07-24 02:52:09 +04:00
Marty-D
2b6a5c2249 Fix Electro Ball.
UPC is the only source that is right on this.
2012-07-23 18:44:55 -03:00
TheImmortal
cdddb812f1 Purrlion & Liepard viableMoves update 2012-07-23 05:12:07 +04:00
TheImmortal
4eeaa729e8 Final DW move for Golett
With this, no Dream World Pokemon should be missing a move.
2012-07-23 00:22:44 +04:00
Marty-D
71b3f78ec9 Fix Chatter's confusion chance; remove the typos entirely.
I blame Psypokes for putting random tabs in their move descriptions.
2012-07-22 09:10:32 -03:00
TheImmortal
3d572ce639 Soul Dew & Drizzle + Swift Swim are banned in DW OU 2012-07-22 10:03:20 +04:00
TheImmortal
64533c8162 Typo's in move descriptions 2012-07-22 10:02:06 +04:00
Marty-D
c606535a81 Full move descriptions are go! 2012-07-21 22:12:29 -03:00
TheImmortal
cca50c88f8 Doduo/Dodrio: Change Frustration to Return 2012-07-22 04:02:18 +04:00
TheImmortal
a13676f8ac Snatch implementation 2012-07-22 04:01:30 +04:00
Bill Meltsner
4447749568 Fix Gravity's interactions with affected two-turn moves (Fly, Bounce, Sky Drop). 2012-07-19 17:39:13 -05:00
Bill Meltsner
e32e4d0660 Fix two-turn move immunities persisting beyond the preparation turn. 2012-07-19 17:34:01 -05:00
TheImmortal
18fcf8d108 Piplup Wi-Fi Event 2012-07-19 16:14:15 +04:00
Bill Meltsner
ba4148cfc7 Fix two-turn moves (mostly).
Two-turn moves are now controlled by a volatile, twoturnmove, which determines whether a Pokemon executes the charge turn or the move turn of a two-turn move. This handles mechanics like Truant Pokemon being unable to use two-turn moves, as the execution turn is their truancy turn. It also handles various edge cases involving moves that call other moves (e.g. Metronome) and Encore.

These changes add a new event, onChargeMove, in which one can return false to "skip" the charging turn and execute the move in full immediately. For example, Solarbeam returns false in onChargeMove if the weather is sunny, and Power Herb returns false if the Pokemon uses its item successfully. (Actually, those are the only two examples at present.)

This implementation is complete except for one issue, an inversion of a previous problem: whereas before, moves like Assist calling two-turn moves would execute them immediately, now, only the charge turn will be executed, and the Pokemon will not be locked into the move. This is due to be fixed soon.
2012-07-18 21:27:43 -05:00
TheImmortal
a0a8d66cf7 Cubchoo viableMoves change
Requested by Great Sage
2012-07-19 04:02:52 +04:00
TheImmortal
f0382ab95f Some Dream World moves 2012-07-19 03:45:00 +04:00
TheImmortal
cb5d120c64 Fix Eject Button bug
Specifically, interaction between U-turn/Volt Switch and Eject Button
2012-07-18 22:05:38 +04:00
TheImmortal
ea70b644b2 Fix all the Pursuit bugs! 2012-07-18 04:50:11 +04:00
Marty-D
fc834611bb Trace can copy Wonder Guard.
Also clean up the unTraceable Abilities list.
2012-07-17 15:46:09 -03:00
The Immortal
8b0084326f Typo with Pokemon XD event 2012-07-17 20:32:23 +04:00
TheImmortal
9986b39224 Fix Marty's fix for Full Incense/Lagging Tail 2012-07-17 13:09:48 +04:00
TheImmortal
5a330be08a Randbat movepool update 2012-07-17 02:57:04 +04:00
TheImmortal
f73a4b37d3 Fix Download & Intimidate activating on fainted Pokemon 2012-07-16 18:38:55 +04:00
Marty-D
e624c947ab Fix Stall. 2012-07-16 11:11:45 -03:00
Marty-D
d8feea3659 Fix Full Incense and Lagging Tail. 2012-07-16 11:10:22 -03:00
Guangcong Luo
2804901d16 Make sure to only allow valid teams 2012-07-15 21:43:18 -07:00
TheImmortal
047686d917 Add all missing Deoxys moves 2012-07-15 20:41:10 +04:00
TheImmortal
70f063d77b Fix Shedinja using Substitute message 2012-07-15 17:32:36 +04:00
Marty-D
17a6cb4ba8 Multi-hit moves end if the user faints during use. 2012-07-14 13:03:34 -03:00
TheImmortal
68d5d2e97c Free Meloetta! 2012-07-14 03:42:21 +04:00
TheImmortal
a81e58437b New Dream World moves 2012-07-14 01:32:31 +04:00
TheImmortal
9756f4498e Berries in B2W2
Apicot/Ganlon/Liechi/Petaya/Salac
2012-07-14 01:20:47 +04:00
Marty-D
c22fb98aa9 Abilities that prevent status can now cure that status as well. 2012-07-13 16:03:27 -03:00
Bill Meltsner
563433bd8f Also don't execute an accuracy check if there's no target. 2012-07-13 10:07:23 -05:00
Bill Meltsner
dd8f7641bf Only execute an accuracy check if one is actually necessary. 2012-07-13 09:41:57 -05:00
Bill Meltsner
becc665a32 Oh yeah, Quick Claw needs an activation message too. 2012-07-12 01:23:07 -05:00
Bill Meltsner
cf129204b5 Actually, we have a default activation message, so just use that instead. 2012-07-12 00:01:52 -05:00
Bill Meltsner
cb68403753 Add a placeholder message for Shed Skin.
It doesn't actually have one in the games, as far as I know, but this'll stop people getting confused about seemingly random status curing.
2012-07-11 23:54:19 -05:00
Bill Meltsner
e6cea7a0a8 Implement Quick Claw. 2012-07-11 23:54:19 -05:00
Marty-D
0adf419599 Fix rounding for some healing items. 2012-07-11 14:55:28 -03:00
Bill Meltsner
2e75e80bc0 Enable happiness when creating a Pokemon, and actually derive Frustration/Return's base power from it. 2012-07-10 18:16:13 -05:00
Marty-D
d250ced19a Fix up some Ability-changing moves' banlists. 2012-07-10 17:54:58 -03:00
Guangcong Luo
02dc1b6343 Make sure illusion/multitype/wg aren't swappable 2012-07-10 15:38:41 -04:00
TheImmortal
3117467e64 First turn of Dive prevents Hail/Sandstorm damage 2012-07-10 22:30:41 +04:00
TheImmortal
92a636968b First turn of Dig prevents Hail/Sandstorm damage 2012-07-10 22:22:00 +04:00
Antar1011
023183a133 Took out debug line 2012-07-10 09:58:49 -04:00
Antar1011
0d5db9483a Challenge Cup 2012-07-10 09:47:35 -04:00
Antar1011
08a03f1b30 Snover and Hippopotas are now "LC" instead of UU (allowed in any standard tier) 2012-07-10 07:40:03 -04:00
Antar1011
95f997608e DW UU Updates 2012-07-10 07:26:50 -04:00
Bill Meltsner
1f00e0daf2 CAP should be BW2 meta, apparently. 2012-07-09 23:17:48 -05:00
Bill Meltsner
66636da307 The Mollux playtest is over. 2012-07-09 22:16:01 -05:00
TheImmortal
10915a7790 Kyurem-B & Kyurem-W are banned from DW OU 2012-07-09 00:23:20 +04:00
Guangcong Luo
e1eddbd77f Pass the team around very carefully
- teams were passed around a lot more haphazardly before
- a race condition may have caused the team issue in LC earlier
- teams are now passed very carefully from search to battle start
2012-07-08 15:28:17 -04:00
Bill Meltsner
6f9469c898 Fix NFE level scaling in randbats. 2012-07-08 12:23:47 -05:00
Bill Meltsner
eb153e7427 Implement recursive rules for formats.
A format will inherit rulesets and banlists from any rules specified in its ruleset which contain their own rulesets or banlists. For instance, UU can inherit OU's rules and bans, while adding its own tier bans and weather bans.
2012-07-08 02:40:00 -05:00
Bill Meltsner
eb28c7eb2d Factor out OHKO and Evasion bans into clauses. 2012-07-08 02:39:59 -05:00
Bill Meltsner
3dc7be8520 Implement Freeze Clause. 2012-07-08 02:39:58 -05:00
Bill Meltsner
0bfb16e87d Fix DW tier names. 2012-07-08 02:39:56 -05:00
Bill Meltsner
4f7ee84bd6 Capitalize Pokemon.
IT MATTERS, OKAY?!
2012-07-08 01:14:30 -05:00
Bill Meltsner
0369dad818 Add moves obtainable from Pokemon XD: Gale of Darkness. 2012-07-07 20:12:13 -05:00
TheImmortal
cd025d6981 Moves blocked by Substitute
- Acupressure is not blocked by Substitute
- Flatter is already blocked because of the boosts/confusion
- Heal Pulse is blocked by Substitute
- Swagger is already blocked because of the boosts/confusion
2012-07-08 02:55:00 +04:00
TheImmortal
35b4c3b6ca Dream World moves update 2012-07-08 02:15:25 +04:00
Guangcong Luo
5efcc49ae8 Reintroduce Basculin-B
(apparently it isn't fully aesthetic)
2012-07-07 17:51:04 -04:00
Guangcong Luo
307b2e7c40 Update pokedex.js:
- only base formes get an otherFormes list
- base forme names are stored in baseForme
- Genesect formes are now stored
2012-07-07 17:39:26 -04:00
Guangcong Luo
c571bf94b3 Updated random battle level scale 2012-07-07 13:20:11 -04:00
小太
580a0546ea Allow random teams with haxmons and show haxmons for challenges 2012-07-07 14:16:58 +10:00
TheImmortal
615d48001c Correct Substitute blocked message 2012-07-07 01:53:32 +04:00
TheImmortal
e6e95e3feb Correct Soundproof immunity message 2012-07-07 01:50:50 +04:00
Guangcong Luo
125ede327f Gen next changes:
- several bugfixes and new features
- see GEN-NEXT.md for details
2012-07-06 16:50:20 -04:00
Marty-D
0dace78d96 Fix Present's healing amount. 2012-07-06 17:01:14 -03:00
Marty-D
3573b6907a Fix Present's descriptions.
Not sure why I trusted Bulbapedia on this when the right mechanic is in their animated gif -_-
2012-07-06 16:18:31 -03:00
Guangcong Luo
d8c4c92d04 More fixes to NEXT:
- see GEN-NEXT.md for details
2012-07-06 05:07:24 -04:00
Guangcong Luo
3b004b9530 Horrible stopgap fix to make Power Herb not activate for SolarBeam in sun 2012-07-05 21:24:11 -04:00
TheImmortal
8b2a1b7227 DW updates + Learnset errors 2012-07-06 01:01:35 +04:00
Guangcong Luo
21cdf0dd8e Add Gen Next to formats 2012-07-05 13:33:12 -07:00
Guangcong Luo
c431b7d769 Rename the gen 4 formats: mod should go at the beginning 2012-07-05 13:33:11 -07:00
TheImmortal
3ef8de6da7 Set Castform & Cherrim forms to Illegal 2012-07-05 01:39:38 +04:00
TheImmortal
764602bb7b Dream World updates 2012-07-04 23:41:11 +04:00
TheImmortal
f7d8d86cc2 Ganlon Berry is released 2012-07-04 01:12:55 +04:00
TheImmortal
f40f64301a Leech Seed immunity message + moves blocked by Sub 2012-07-04 00:23:55 +04:00
Bill Meltsner
98b5775198 Reorder the various checks about whether a move hits or not, and add an immunity check before any move calculations are done.
A move cannot "miss" if there is no target, and if the target is immune to an attack, the game always displays the immunity message - the move will never register as "missing".

This fixes a bug where a Pokemon with a type-absorbing ability (e.g. Volt Absorb) behind a Substitute would not absorb status moves (e.g. Thunder Wave) - they'd be blocked by the Substitute before the immunity check was ever run.

There is still a graphical glitch where if a move fails its accuracy check against an immune opponent, the animation will still be that of the move missing, even though the text will be the immunity text. I'm not sure how to fix that given the current move message format.
2012-07-03 05:25:29 -05:00
Bill Meltsner
4ffca358fb Fix Relic Song preventing other Pokemon from transforming into Meloetta after its use. 2012-07-03 01:25:00 -05:00
Bill Meltsner
9b47cc9446 Overhaul Forecast to work more intelligently and to actually transform Castform instead of faking it (for better compatibility with things Transforming into it). 2012-07-03 01:24:25 -05:00
Bill Meltsner
bdf4acda55 Fix Trace, for real this time. Honest. 2012-07-02 20:07:00 -05:00
Bill Meltsner
a133ff8037 Rewrite Illusion to run on its own event.
Fixes issues with timing and switching to an Illusion Pokemon when that Pokemon is last in your team.
2012-07-02 20:06:57 -05:00
TheImmortal
ee238e2aa5 Some DW moves 2012-07-03 04:33:29 +04:00
TheImmortal
f7118acfdf Dream Eater not blocked by Sub. + correct message 2012-07-02 23:34:34 +04:00
Marty-D
42d0eeebf6 Fix Teeter Dance.
Teeter Dance no longer goes through Substitute and is no longer reflected by Magic Coat/Bounce.
2012-07-02 13:43:06 -03:00
Guangcong Luo
89da954e10 Merge pull request #73 from kotarou3/haxclauseFix
haxclause fix
2012-07-02 06:01:31 -07:00
Bill Meltsner
0ea1c82a51 Actually fix Trace properly. 2012-07-02 03:02:10 -05:00
小太
4966ac4e6d haxclause fix 2012-07-02 17:46:52 +10:00
TheImmortal
2cadc3e2e3 Make Trace work properly 2012-07-02 11:46:44 +04:00
Marty-D
c262e7da56 Revert part of 'Proper Trace implementation'
Crashes the server if anyone leads with a Trace user.
2012-07-01 22:01:12 -03:00
TheImmortal
6b07fdf6db Proper Trace implementation 2012-07-02 03:44:07 +04:00
TheImmortal
116e2c690b Dream World updates 2012-07-02 03:43:29 +04:00
Bill Meltsner
988261373b Make Marty's Roost fix a little more concise. 2012-07-01 18:22:23 -05:00
Bill Meltsner
ba147b5cb1 Some move message fixes for use with the updated client. 2012-07-01 18:12:12 -05:00
Marty-D
d9f0cfaf79 Roost fix for Gen V. 2012-07-01 20:04:13 -03:00
Bill Meltsner
b79c6614ad Fix Sleep Clause message. 2012-07-01 18:00:26 -05:00
Bill Meltsner
a60e4d024f July 2012 tier updates. 2012-07-01 02:00:46 -05:00
TheImmortal
1cb4e3283e Dream World updates 2012-07-01 02:15:25 +04:00
Bill Meltsner
2d468e8a6e Fix forme names in DW OU/UU banlists. 2012-06-30 15:31:14 -05:00
Marty-D
52606fa3e7 Normalize has no effect on Struggle. 2012-06-29 20:54:16 -03:00
TheImmortal
251589cfde Griseous Orb fixes 2012-06-29 23:26:39 +04:00
Marty-D
4b47c3f67a Klutz actually does ignore all of Iron Ball's effects. 2012-06-28 22:31:58 -03:00
TheImmortal
e12050c790 More Dream World 2012-06-29 01:54:45 +04:00
TheImmortal
c843e67c56 Frisk doesn't show a message if target has no item 2012-06-28 23:22:08 +04:00
TheImmortal
39a92d3762 More DW I missed in previous commit 2012-06-28 02:34:03 +04:00
TheImmortal
19b7cf4088 More DW that I missed in previous commit 2012-06-28 02:31:02 +04:00
TheImmortal
7b6c061d24 Even more Dream World releases 2012-06-28 02:04:24 +04:00
Antar1011
13e4a1b5cf Added Dream World tiers 2012-06-27 02:33:23 -03:00
TheImmortal
7b69d376bb Dream Radar Pokemon 2012-06-27 02:33:12 +04:00
Bill Meltsner
41cbf1ed91 Gen 4 cover legendaries are catchable in the Dream Radar. 2012-06-26 14:17:35 -05:00
Bill Meltsner
5f0514e9b7 Fix typos in the last commit breaking everything. 2012-06-26 12:44:54 -05:00
The Immortal
36670f11d0 Even more DW releases!
Imposter Ditto :O
2012-06-26 16:48:23 +04:00
Bill Meltsner
dce8dba0de More DW releases!
Techniloom is finally here :D
2012-06-25 22:16:09 -05:00
Bill Meltsner
ee35774ead Fix a crash in Encore 2012-06-25 22:05:21 -05:00
Bill Meltsner
75259ef4e2 Belly Drum should fail if the user's attack is already maximized. 2012-06-25 21:33:46 -05:00
Bill Meltsner
b238b24f45 Effect Spore does not have equal chances of each result. 2012-06-25 21:30:33 -05:00
Bill Meltsner
52a9c86120 Merge pull request #69 from TheImmortal/master
BW2 + DW Updates
2012-06-25 19:25:39 -07:00
Bill Meltsner
548bdbc79c Soul Dew is released. 2012-06-25 21:19:31 -05:00
Bill Meltsner
8b2a5b7530 Make Encore not break with Hidden Power.
This is technically inaccurate, but while Hidden Power is still brokenly implemented, better to compensate for it.
2012-06-25 20:19:00 -05:00
TheImmortal
d693313133 More DW 2012-06-26 02:41:40 +04:00
TheImmortal
7a67ba7730 BW2 + DW updates 2012-06-26 00:58:03 +04:00
Guangcong Luo
4ab519c94f Make sure Arceus is sent correctly in team preview 2012-06-24 19:46:18 -07:00
Bill Meltsner
2e2052ceba Add the Mollux playtesting tier. 2012-06-24 12:40:07 -05:00
Bill Meltsner
5780d2974d In-game event pokemon in BW2. 2012-06-23 23:21:47 -05:00
Bill Meltsner
d8cd1753ed More discovered DW releases. 2012-06-23 23:21:21 -05:00
Bill Meltsner
c006d3a788 With the banning of Sand Stream, Hippowdon is UU again. 2012-06-23 17:57:03 -05:00
Bill Meltsner
9166a3b057 New BW2 TM moves. 2012-06-23 16:56:43 -05:00
Bill Meltsner
24ae6d5401 Revert "Automatically decide between Keldeo and Keldeo-R"
This reverts commit 78548ce010.
2012-06-23 16:27:40 -05:00
Guangcong Luo
78548ce010 Automatically decide between Keldeo and Keldeo-R 2012-06-23 13:35:51 -07:00
The Immortal
9e05c4e80b Kyurem-B/W aliases 2012-06-24 00:31:33 +04:00
Bill Meltsner
f8a655786c Add Kyurem formes' learnsets.
The Kyurem formes get Fusion Bolt/Flare and Freeze Shock/Ice Burn *in place of* Glaciate and Scary Face, so checkLearnset should not recurse down to the base Kyurem forme.
2012-06-23 12:25:26 -05:00
Bill Meltsner
b5c1e1f44e More DW move releases. 2012-06-23 12:22:08 -05:00
Bill Meltsner
c9746241b2 Keldeo-Resolution should be usable, but only with Secret Sword. 2012-06-23 12:18:56 -05:00
The Immortal
41d5b1dddf Female DW Croagunk 2012-06-23 15:14:00 +04:00
Guangcong Luo
4001463370 Only show debug messages in debug mode 2012-06-23 00:59:42 -07:00
Bill Meltsner
9d5e5fccba Add BW2 level up moves, plus a missed DW move. 2012-06-23 01:46:11 -05:00
Guangcong Luo
6671d2da1b Salac Berry has been released 2012-06-22 22:04:22 -07:00
Bill Meltsner
9342650829 DW release party! 2012-06-22 23:37:35 -05:00
Bill Meltsner
83606de39f Temporarily ban Freeze Shock and Ice Burn from Balanced Hackmons until we get our act together with two-turn moves. 2012-06-22 22:49:10 -05:00
Guangcong Luo
d13aa3613a In my excitement I made a few typos 2012-06-22 16:37:36 -07:00
Bill Meltsner
e80b207533 UU banned Sand Stream. 2012-06-22 18:26:57 -05:00
Guangcong Luo
a7ce2e471b NEW B2W2 TUTOR MOVES OMGOMGOMG 2012-06-22 16:14:53 -07:00
TheImmortal
213716dacf Therian Formes aliases and sorted alphabetically 2012-06-23 01:16:24 +04:00
Bill Meltsner
c9714159eb More DW releases. 2012-06-22 15:16:32 -05:00
TheImmortal
91dd526586 DW Releases 2012-06-23 00:10:18 +04:00
Bill Meltsner
4231595b74 Starting tiers for the new formes.
Everything is OU for now, except the Kyurem formes.
2012-06-22 15:04:18 -05:00
Bill Meltsner
4d1aca7bcb Flag new formes as Unreleased until BW2 is out and they're given an official tier, even a temporary one. 2012-06-22 13:30:27 -05:00
Guangcong Luo
7d437ad7ee Fix a validation crash on a pokemon
- a pokemon without a formats-data would crash
- because SOMEONE doesn't know how templates work ;)
2012-06-22 09:42:22 -07:00
The Immortal
14487aa8f4 Tornadus/Thundurus/Landorus Therian Formes Stats 2012-06-22 20:07:35 +04:00
Bill Meltsner
b0e494cbfd The official English name for the new Genie formes is "Therian" forme.
I know, right?
2012-06-22 05:22:12 -05:00
Bill Meltsner
3ec053a5b9 fixing pokedex.js for merge 2012-06-21 20:15:00 -07:00
Bill Meltsner
c7a27b9a8e Kyurem-B/W base stats confirmed. 2012-06-21 21:57:59 -05:00
Guangcong Luo
d3805dd50a New Kyurem stat spreads working now 2012-06-21 18:26:03 -07:00
Bill Meltsner
a33f4e5dd4 Fix some Encore mechanics:
- Encore will fail if the move to be Encored has 0 PP, and will end automatically if the move runs out of PP while Encore is in effect.
- Encore will fail if the move to be Encored is Encore, Mimic, Mirror Move, Sketch, or Transform. (This prevents Magic Bounce + Encore causing trouble.)
- Encore will fail if the target doesn't actually have the move to be Encored.
2012-06-21 03:49:09 -05:00
Bill Meltsner
17b6c53e92 Encore now lasts the proper number of turns. 2012-06-21 03:21:54 -05:00
Bill Meltsner
2c9aa8e842 Hide Arceus formes in Team Preview.
This is to better match the cartridges, which only display the icons in team preview, thus making it impossible to tell what forme a given Arceus is in. The real forme of the Arceus is still visible to the owner when mousing over the button (and in the name if the Pokemon isn't nicknamed).
2012-06-21 02:52:21 -05:00
Guangcong Luo
3ebc51fa2b Placeholder data for new B2W2 formes 2012-06-20 21:50:07 -07:00
The Immortal
a1cc540260 Fix Conversion 2 crash 2012-06-18 02:52:09 +04:00
Bill Meltsner
7356905917 Fix Will-O-Wisp id. 2012-06-17 03:39:30 -05:00
Bill Meltsner
9c907e78dd Add Mollux. 2012-06-17 03:33:20 -05:00
Guangcong Luo
cb4aae18a3 formats.js can now list alternate gens 2012-06-16 15:50:34 -07:00
Bill Meltsner
ff22e93daa Two layers of Spikes should deal 1/6 of the opponent's max hp in damage, not 3/16. 2012-06-14 19:17:16 -05:00
TheImmortal
6237f77cf5 Added missing onResidualOrders 2012-06-15 03:20:28 +04:00
Guangcong Luo
b3054fefdf Load all data using tools.js
- the original names BattleItems etc have been deprecated; please use:
  - Tools.getItem() accessor method if possible
  - Tools.data.Items for lower-level access (e.g. iteration)
- app.js was also rearranged a bit
2012-06-13 22:51:37 -07:00
Guangcong Luo
cbde94b6a6 Let Tools install itself and scripts into Battles 2012-06-13 22:25:26 -07:00
Bill Meltsner
26669add8a Don't swap out rejected abilities if the alternative is also useless. 2012-06-12 22:18:02 -05:00
The Immortal
ce986bad7a Remove debug messages from Gems 2012-06-12 14:46:22 +04:00
Bill Meltsner
9bbb0b8d56 Convert battles to use the new, cartridge-simulating RNG.
Non-battle randomness is still based off of Math.random().
2012-06-12 03:47:14 -05:00
Bill Meltsner
8f6b7e380c Change the "stall" volatile to work more like the in-game version.
This has the added benefit of not using Math.pow anymore.
2012-06-11 22:22:39 -05:00
The Immortal
d368092f2b Fix Hydreigon 'subsitute' bmelts >_> 2012-06-12 00:30:00 +04:00
Bill Meltsner
39bf7f7d87 Tangela and Girafarig have been released in the DW. Also, flag Rotom formes as released.
Thanks to Lamperi for catching these.
2012-06-11 00:56:47 -05:00
Bill Meltsner
21a6d7a15c Wooper's DW ability is released. 2012-06-11 00:15:40 -05:00
Bill Meltsner
e0f005f00e Fix a few occurrences of "move: Substitute". 2012-06-10 15:28:36 -05:00
Bill Meltsner
0111c1ec18 Add a placeholder Struggle "no moves left" message. 2012-06-10 15:27:19 -05:00
Bill Meltsner
92c08bcd03 Implement Mimic. 2012-06-10 07:08:28 -05:00
The Immortal
e4414f688e Fix Iron Tail shortDesc 2012-06-10 00:19:04 +04:00
The Immortal
77ee2b475f Fix Shadow Ball shortDesc 2012-06-09 23:28:03 +04:00
Bill Meltsner
00cd357864 Update randbat viable movelists to the latest version.
Also adds a few missed Pokemon into the mix: Ditto, Flaaffy, Unown, Probopass, Drifblim, Jellicent, and Hydreigon.
2012-06-09 02:47:13 -05:00
Bill Meltsner
5cd458eafa Force Belly Drum and Substitute to fail when used by Shedinja. 2012-06-08 22:53:56 -05:00
Bill Meltsner
8c22e394a8 Fix various Substitute messages. 2012-06-08 22:53:55 -05:00
Marty-D
a8059d40cf Fix up Assist, Copycat, and Mirror Move's uncallable moves lists. 2012-06-08 19:30:55 -04:00
Marty-D
16c8e2bd6e Add the 100% secondary effect chances to the short move descriptions. Fix Mirror Move's description to be more correct. 2012-06-08 19:29:40 -04:00
Guangcong Luo
7009b3a4bb Revert bmelts's hasty porting of Id etc to Sugar.js extensions
- The reverted utility functions, toId/toUserid/sanitize/clampIntRange, were designed to handle unsanitized data gracefully
2012-06-08 15:44:49 -07:00
Guangcong Luo
e73c587e7d Move a bunch of files into data/
also take this opportunity to rename movedex.js -> moves.js
2012-06-08 14:25:45 -07:00