Commit Graph

722 Commits

Author SHA1 Message Date
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