Kevin Lau
aaea0556f7
Fix Pickup to use correct behavior
...
Pickup was not retrieving items consumed by allies, was picking up items
from nonadjacent foes, and had a chance of failing to retrieve an item
from a foe if the other one had not used its item that turn. Pickup now
queries all eligible Pokemon before randomly choosing one of the items to
pick up, instead of choosing the target before checking whether it had an
item that could be retrieved.
2015-02-25 20:19:09 -08:00
Kevin Lau
3306b02b48
Fix Unburden/Symbiosis interaction with Natural Gift/Air Balloon/Fling
...
Switched Unburden's onUseItem handler to onAfterUseItem instead, and set
Natural Gift, Air Balloon and Fling to send AfterUseItem events when the
items are removed. Sending these events also has the side effect of fixing
some of the functionality with Symbiosis not giving items when these moves
consume their items.
2015-02-25 19:23:01 -08:00
Kevin Lau
e27e7de08a
Fix Knock Off + Mail interaction
...
Change Mail's onTakeItem handler to allow Knock Off to remove it using
Battle#takeItem. This prevents Mail from being recycled and lets it
trigger Unburden.
2015-02-25 19:13:36 -08:00
Marty-D
78f5cacd63
Update item descriptions
2015-02-20 18:16:39 -05:00
The Immortal
608ee7af7e
Fix Safety Goggles interaction with Effect Spore
...
This fixes the bug created in 46008ea0a6 .
2015-02-09 01:08:22 +04:00
The Immortal
46008ea0a6
Add Safety Goggles message for powder moves
2015-02-08 16:26:05 +04:00
The Immortal
7f9cbf617d
Release Custap Berry
2015-02-03 17:11:33 +04:00
Marty-D
245af9721e
Fix Mental Herb
...
- Cures Heal Block in Gen 5 and 6
2015-01-20 20:20:04 -05:00
Ivo Julca
2b5e3bab10
Minor style fixes in data files
2015-01-12 00:11:48 -05:00
Guangcong Luo
80704c272d
Merge pull request #1298 from Slayer95/disabled-maybe
...
Hide moves disabled by Imprison or NEXT's Telepathy
2014-12-10 03:57:30 -06:00
Marty-D
8c2b18c622
Fix forced switch mechanics.
...
- Red Card and Eject Button do not activate if the holder is being
forced out.
- Circle Throw, Dragon Tail, Roar, and Whirlwind cannot attempt to force
out a Pokemon with no inactive unfainted allies.
2014-12-06 11:53:26 -05:00
The Immortal
d2f5f01830
Soul Dew is released
2014-11-26 01:03:38 +04:00
The Immortal
bcf19608c9
Update Mega Rayquaza
...
Rayquaza does not have a mega stone; it can mega evolve with the move
Dragon Ascent.
2014-11-21 16:26:56 +04:00
ascriptmaster
c0d2b26a89
Primal Reversion occurs before ability messages activate
...
Moved primal reversion checks to the SwitchIn event.
Moved the SwitchIn event to properly account for turn order.
2014-11-20 21:06:02 -08:00
The Immortal
579319bc9b
Release ORAS megas/primals
...
The ORAS formats are no longer needed.
2014-11-20 13:52:21 +04:00
Marty-D
e0eff117f3
Add missing item sprites.
2014-11-19 20:40:34 -05:00
The Immortal
8eac7f2e9a
Update ORAS mega stones
2014-11-19 13:37:38 +04:00
Guangcong Luo
4bc18009d9
Merge pull request #1315 from ascriptmaster/move-messages
...
Updated most moves, items and abilities to not use -message tags
2014-11-19 13:51:31 +08:00
ascriptmaster
54fd6f41d3
Updated most moves, items and abilities to not use -message tags
...
Some gen 1 moves like Dig/Fly, gen 4's Custap Berry, and everything in
NEXT is untouched for now.
2014-11-17 11:25:56 -08:00
Marty-D
fdc3d9f570
Fix several item mechanics.
...
- Griseous Orb, Plates, Drives, and Mega Stones can no longer be removed
from or given to their respective species by any means
- Mold Breaker and friends can no longer remove a Plate from an Arceus
- The Fling base power for these related items is now defined in Tools,
like Berries
- Sticky Hold works correctly with Bestow, Fling, Knock Off, Switcheroo,
and Trick
2014-11-13 15:51:28 -05:00
Ivo Julca
d928b64221
Implement BattlePokemon#disableMove to support hiding information
...
- Changed data to use it anywhere moves get disabled.
2014-11-13 14:45:49 -05:00
Marty-D
f0ca855d94
Add sprites for Blue and Red Orb.
2014-11-09 09:47:41 -05:00
Ivo Julca
4557cbd280
Fix client crash from 072d413
2014-10-29 17:23:25 -05:00
Ivo Julca
727579ff89
Revamp effectiveness calculation
...
- Implement BattlePokemon#runEffectiveness, accounting for battle events.
- Refactor Tools#getEffectiveness accordingly.
- Remove Inverse mod. It's now implemented using the global event 'Effectiveness', and with a few changes in the base data for hazards and Arena Trap.
- NEXT: Fix Filter and Solid Rock not accounting for the special effects of Freeze Dry and Flying Press.
2014-10-27 03:46:32 -05:00
The Immortal
69689c17fa
Allow Light Ball to work for Cosplay Pikachu
2014-10-25 19:03:09 +04:00
ascriptmaster
072d41345b
Removed placeholder message for Focus Band
2014-10-21 13:50:55 -07:00
Lucafausto96
bc8273d721
Fix Glalitite name
2014-10-19 17:40:15 +02:00
The Immortal
a72edc4ad1
Implement Primal Reversion
2014-10-18 19:10:17 +04:00
The Immortal
a382a8f908
Add Red and Blue Orbs
2014-10-17 16:16:59 +04:00
The Immortal
03a6b3e3fa
Add ORAS Mega Evolutions
...
Some Mega Stone names are assumptions.
Mega Glalie and Mega Steelix are the only ones with missing height and
weight.
2014-10-16 19:31:19 +04:00
The Immortal
bf2c64525b
Properly fix Shell Bell healing twice
2014-10-07 23:49:44 +04:00
The Immortal
b3d6730eeb
Fix Shell Bell healing twice with Metronome
2014-10-07 14:04:15 +04:00
小太
fe37f3b6a7
Apply jscs to the data files as well
2014-09-30 18:34:16 +10:00
QxC4eva
9bb8cd35ed
Remove e-acute from friendball desc for consistency
2014-08-29 18:46:22 +10:00
V4Victini
7f47f70033
Fix faint order for recoil items
2014-07-27 21:21:26 -04:00
Evan Wildenhain
2ca0cf5bdf
Changed Zoom Lens's description to better reflect the mechanics of its implementation.
2014-07-16 23:43:36 -07:00
Slayer95
377345454f
Shed Bell may be nullified by Sheer Force
...
Also remove 'AfterMove' global event from all gens, and 'AfterMoveSelf' from Gen 3 onwards.
2014-07-14 19:03:38 -05:00
Slayer95
26edd63959
Make sure that switched out pokemon get their moves cancelled
...
There are several issues alike to the one fixed in 62611b926b
2014-07-13 06:54:18 -05:00
Slayer95
62611b926b
Fix Eject Button interaction with Volt Switch/U-Turn
...
If a pokemon is switched out and in in the same turn, the move was not cancelled
2014-07-13 06:18:03 -05:00
V4Victini
657e80f523
Add Friend Ball
2014-06-24 00:32:25 -04:00
The Immortal
be5fe33eff
Allow Soul Dew to work for Mega Latias/Latios
...
Relevant to Hackmons
2014-06-12 21:24:23 +04:00
Guangcong Luo
9fa425bff1
Refactor selfdestruct faint order fix
2014-06-09 04:14:54 -04:00
Guangcong Luo
75bb5dd186
Fix Explosion faint order
2014-06-08 22:37:38 -04:00
The Immortal
fab3e08064
Add Fairy Gem
2014-05-02 13:26:35 +04:00
Guangcong Luo
4db56d30d1
Fix Rocky Helmet description
2014-04-21 20:10:33 -04:00
小太
5c8fc7b982
Space after function for anonymous functions
2014-04-22 01:58:16 +10:00
小太
6fb3bc332a
Spaces around operators and === instead of ==
2014-04-22 01:56:11 +10:00
Slayer95
c3ee9782fb
Fix ignoring abilities or items sometimes being not effective
...
Items: Light Clay, Metronome
Abilities: Aura Break, Contrary, Gluttony, Levitate, Mega Launcher, Minus, Mold Breaker, Persistent, Plus, Shadow Tag, Slow Start, Soundproof, Stall, Unburden, Teravolt, Turboblaze, Zen Mode
2014-04-16 18:59:39 -05:00
sirDonovan
89ef8b0dad
Fix Genesect Drives being removable
2014-04-13 18:29:21 -05:00
Slayer95
544804fe72
Shorten Iron Ball's description
2014-03-30 18:01:58 -05:00