Commit Graph

144 Commits

Author SHA1 Message Date
Joimer
cc0efcbc47 June Jubilee: Add Hariyama and Aggron to the Pokémon pool
Added Hariyama with Surf and Aggron with Surf to the list of summer Pokémon to June Jubilee as per player request.
2013-06-03 15:15:09 +02:00
Marty-D
cd9e7ae25b Missed one typo. 2013-06-01 16:30:57 -04:00
Marty-D
60baa43235 Fix Seasonal Pokemon list, take 1v1 out of debug. 2013-06-01 16:18:37 -04:00
Joimer
2031e3f1de June Jubilee: Fix grammatical mistakes and name mistakes 2013-06-01 20:39:47 +02:00
Joimer
59def7689b Add new Seasonal: June Jubilee
June has a new Seasonal, June Jubilee, which features the coming of summer with all fire type Pokémon, its swarms of bugs, and a little Delibird story.
2013-06-01 20:15:20 +02:00
Antar1011
d4f5143e22 Bugfix: Basculin doubly represented in randbats
Because there's basculin and then there's basculinbluestripe
2013-06-01 13:51:30 -03:00
Guangcong Luo
1ea49e7376 Don't crash if Substitute intercepted a status move
This is a condition which should never happen in non-modded games
2013-05-27 16:32:52 -07:00
The Immortal
82c52d0ef6 Randbats script update
- Add Blaze, Overgrow, Swarm, and Torrent counters
- Prevent Dragon Tail with Roar / Whirlwind
- Allow Simple with Stockpile
- Give Substitute + Reversal a Gem instead of Leftovers
2013-05-06 01:32:29 +04:00
Guangcong Luo
c3a497e341 Remove a redundant check 2013-05-02 02:56:45 -07:00
Guangcong Luo
35ba7b70a2 Fix crash against Substitute 2013-05-01 19:22:12 -07:00
Joimer
f8e3ad9c19 Add new Seasonal Ladder, May Mayhem. 2013-04-30 13:10:41 +02:00
Joimer
af23038f54 Delete old Seasonals and unused suspect test formats 2013-04-30 12:58:41 +02:00
Guangcong Luo
782b497d3c Fix Encore + Mental Herb interaction
This fix involves overhauling how changeDecision works, which also
fixes priority order (and speed ties) getting rerolled when Encore
hits.
2013-04-23 17:21:58 -07: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
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
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
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
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
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
Cathy J. Fitzpatrick
e45652180b Remove use of some obsolete functions 2013-03-29 01:27:49 -06: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
The Immortal
42118ab5d0 Update Randbats script
- Add Adaptability counter
- Prevent a few combinations
2013-03-23 01:56:18 +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
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
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
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
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
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
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
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
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
53d62da175 Describe the event system in comments
also add a few other comments
2013-02-16 22:37:31 -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
The Immortal
ed1bd85dd1 Randbat script update 2013-02-17 01:14:09 +04: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
Marty-D
6a10746c34 Fix Jynx for Seasonal Ladder. 2013-02-07 21:45:35 -05:00