The Immortal
7ffa583b58
Fix Nightmare bug
...
According to the desc, "The effect ends when the target wakes up, even
if it falls asleep again in the same turn."
2015-03-24 03:32:27 +04:00
The Immortal
3de23cb90a
Use the reflectable flag for Magic Bounce/Coat
2015-03-24 02:42:04 +04:00
The Immortal
bb11e15fdb
Use the mirror flag for Mirror Move
2015-03-24 00:36:08 +04:00
The Immortal
4d889a5328
Revert "Fix crash in Substitute with move flag 'sound'"
...
This reverts commit 45230a1dbc .
2015-03-23 21:51:09 +04:00
Juanma Serrano
45230a1dbc
Fix crash in Substitute with move flag 'sound'
...
Bug appeared in Seasonal, but it might happen elsewhere.
Putting gen check first just in case move is rewritten in a past gen.
2015-03-23 18:05:43 +01:00
Kevin Lau
e4f3c81e39
Prevent multiple Kyurem-Black and Kyurem-White on AG teams
...
Anything Goes allows anything that is obtainable in-game, and only one
Kyurem-Black or Kyurem-White can exist on a game cartridge at a time.
2015-03-22 17:12:42 -07:00
Marty-D
dea410b304
Merge pull request #1658 from ascriptmaster/move-fixes
...
Skill Swap sends End events even if it's the same ability
2015-03-22 19:59:12 -04:00
Kevin Lau
3adf58e5bc
Skill Swap sends End events even if it's the same ability
...
Fixes behavior with Flash Fire/Unburden with Skill Swap.
2015-03-22 15:01:08 -07:00
Guangcong Luo
d89a77ac87
Merge pull request #1639 from ascriptmaster/modifypokemon
...
Weight Refactor: Do not modify weight in ModifyPokemon
2015-03-21 22:38:43 -05:00
Marty-D
351c13aa98
Merge pull request #1655 from ascriptmaster/move-fixes
...
Flash Fire boost disappears when the ability is removed
2015-03-21 14:51:23 -04:00
Marty-D
ed074532c6
Make sure the flags object always exists
2015-03-21 14:29:07 -04:00
The Immortal
01c81f3415
Random Battle: Reject Stealth Rock with Rest
2015-03-21 19:27:45 +04:00
The Immortal
52536cd860
Fix Light Screen and Reflect in Doubles
...
- Screens affect allies
- Reflect does not affect confusion
The change to target.side.active is purely cosmetic as source works as
well. It makes more sense this way to me.
2015-03-21 15:32:32 +04:00
Kevin Lau
c60de125bd
Flash Fire boost disappears when the ability is removed
...
Added onEnd event to Flash Fire (and Unburden) to check for when the
ability disappears.
2015-03-20 15:55:16 -07:00
The Immortal
63cd918c48
Random Battle: Improve Charizard's moves
2015-03-20 23:24:15 +04:00
The Immortal
3801c97ed2
Add description of flags
...
It is unlikely to know what all the flags mean from just their name.
2015-03-20 22:26:24 +04:00
The Immortal
5b30ec9078
Remove isPowder property from moves
2015-03-20 16:20:29 +04:00
The Immortal
a1b04afb89
Fix Doom Desire / Future Sight crash
2015-03-20 12:07:30 +04:00
Rhythms
7736ae05cf
Seasonal: Lowercase antemortem
2015-03-19 23:08:50 -06:00
Guangcong Luo
4f312e7a51
Merge pull request #1642 from codelegend/getteam-patch
...
remove redundant code in get team
2015-03-19 17:47:32 -05:00
The Immortal
d81fdd4549
Remove isSoundBased property
2015-03-20 02:13:38 +04:00
The Immortal
ca31b6edc5
Remove isPunchAttack property
2015-03-20 01:51:55 +04:00
The Immortal
c527eecbeb
Seasonal updates
2015-03-20 00:45:17 +04:00
Marty-D
3533a15976
Make sure some Abilities are properly suppressed
2015-03-19 13:43:41 -04:00
Kevin Lau
b0c2dcde5f
Weight Refactor: Do not modify weight in ModifyPokemon
...
Added a new event, ModifyWeight, to deal with weight changes from items,
abilities, and moves. Add a function getWeight to call the event and
return a Pokemon's current weight.
2015-03-18 18:44:01 -07:00
Kevin Lau
0fc39a4815
Random Double Battle: Update Raticate
...
It doesn't want Super Fang since it usually gets Guts anyways.
2015-03-18 17:02:27 -07:00
codelegend
b72c19c49a
remove redundant code in get team
2015-03-18 23:18:01 +05:30
The Immortal
73ba701aa7
Merge pull request #1638 from ascriptmaster/randoms
...
Random Double Battle: Update Sharpedo
2015-03-17 22:43:17 +04:00
Kevin Lau
f153f55c02
Random Double Battle: Update Sharpedo
...
The Double Battle EV generator is different from that for Singles, and
makes it less beneficial to have mixed moves.
2015-03-17 11:37:51 -07:00
The Immortal
b527192431
Update Snatch to use flags
2015-03-16 22:42:24 +04:00
The Immortal
9a6ebce858
Update moves' isViable flag
2015-03-16 22:21:17 +04:00
Juanma Serrano
e41db19062
Gen 3: Implement properly future-hit moves
...
This fixes the problem of future moves getting STAB and effectiveness.
Relevant commits: fb6a75e3a3 and a057a77970
2015-03-16 13:56:58 +01:00
The Immortal
a48eb28773
Merge pull request #1636 from ascriptmaster/randoms
...
Random Battle: Reject Crunch and Dark Pulse together
2015-03-16 00:16:03 +04:00
Kevin Lau
70102961a1
Random Battle: Reject Crunch and Dark Pulse together
...
Affects Lucario. It should prefer Crunch unless it is a Nasty Plot set.
2015-03-15 13:13:17 -07:00
The Immortal
7c4c0480d1
Minor Random Battle change
...
Use the ate counter to check for Normal moves.
2015-03-15 22:31:00 +04:00
Kevin Lau
181d715cd6
Random Battle: Increase priority of Outrage+Setup item check
...
Prevents Sub+DD+Outrage from receiving Leftovers.
2015-03-15 10:55:30 -07:00
Kevin Lau
dbf9d58e1d
Random Battle: Force Unburden with Acrobatics
...
Affects Hawlucha.
2015-03-14 22:16:52 -07:00
Konrad Borowski
74b6869232
Make &Sweep hold Mail instead of Brick Mail
...
There is no item called Brick Mail.
2015-03-14 21:37:19 +01:00
Guangcong Luo
670a04dede
Merge pull request #1625 from ascriptmaster/move-fixes
...
Generation 4: Fix Simple
2015-03-14 14:38:31 -05:00
The Immortal
4785057aef
Fix Defog bugs
...
- Infiltrator should lower Evasion
- Prevent double end messages
- Safeguard and Mist also can't be removed from the user's side
2015-03-14 16:05:10 +04:00
Kevin Lau
d36297d491
Generation 4: Fix Simple to use proper DPP mechanics
...
In Generation 4, Simple did not double stat boosts as they changed.
Instead, it treated each stat boost as if it had twice the effect.
Reimplemented the deprecated ModifyBoost event, but with slightly
different functionality as before; it now modifies the live boosts so that
they work properly with Simple.
2015-03-13 18:02:33 -07:00
The Immortal
51c9544a4c
Merge pull request #1607 from ascriptmaster/randoms
...
Random Double Battle: Update level scales based on item/ability
2015-03-14 00:29:52 +04:00
The Immortal
47238d2bac
Minor Random Battle changes
...
Fixes #1627
2015-03-14 00:28:42 +04:00
Kevin Lau
420315407a
Random Double Battle: Update levels based on some abilities/Eviolite
...
This will prevent Pokemon like Azumarill from being too powerful due to
their low base stats with an ability that boosts it to incredible levels.
2015-03-13 13:15:06 -07:00
The Immortal
371d11bea8
Random Battle: Reject rain/sun with only one attack
2015-03-13 22:36:23 +04:00
The Immortal
8d1d789d86
Random Battle: Few updates
...
- Remove Sucker Punch from Hitmonlee as it gets Unburden majority of the
time (100% actually, according to usage stats) and already has Knock Off
- Remove old check specific to Breloom
- Fix Breloom getting Poison Heal when it wants Technician
2015-03-13 19:52:04 +04:00
The Immortal
4c3a2fde72
Update a few ability ratings
2015-03-13 12:16:57 +04:00
The Immortal
4d403ba182
Random Battle: Fix Meloetta-P
...
Also removed Chlorophyll check for Mega Venusaur because it only has
Thick Fat... Not necessary to hardcode it like Mega Mawile having
Intimidate.
2015-03-13 12:09:38 +04:00
The Immortal
ddaa3bc65d
Random Battle: Undo two changes from 8e8420971d
2015-03-13 01:48:03 +04:00
The Immortal
f353aab11e
Seasonal: Fix Transform properly
...
Also updated qtrx.
2015-03-12 23:57:40 +04:00