Commit Graph

13 Commits

Author SHA1 Message Date
Slayer95
70ebbf1fd6 Pass target location to ´beforeTurnCallback´
This fixes Assurance sometimes failing to track damage dealt in the turn.
2014-05-03 16:32:51 -05: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
3fc36ef80f 'clampIntRange is now a method of 'Tools' and no longer global 2014-04-18 15:14:54 -05:00
Ivo Julca
244f1700a0 Set old moves' categories on Gen 3 data load
This is only performed for Gen 3, as the data is passed down to older gens.
2014-02-14 18:47:20 -05:00
Ivo Julca
456883914b Gen 2 now inherits data from Gen 3
This fixes issues with a lot of moves, including but not limited to Acid, Beat Up, Bone Rush, Crunch, Dig, Extreme Speed, Fake Out, Future Sight, High Jump Kick, Hypnosis and Petal Dance.
2014-02-12 20:16:20 -05:00
Slayer95
9cd05b80a3 Specify basis for inheritance of mods needing it
Create scripts.js file for gen5bw in order to do so.
2013-11-03 16:39:06 -05:00
Joimer
6e30b6a9eb Gen 2: Fix phazing moves
In Gen 2,moves with negative priority work with negative speed.
It's the slower phazing move that will work first.
To achieve this, gen 2 runs its own compare priority and the functions
which use this one are edited so they use the custom compare priority.
2013-09-04 11:02:44 +02:00
小太
f2f973fe29 Obliterate trailing whitespace 2013-08-18 21:33:15 +10:00
Joimer
00a5f991fb Gen 2: Fix Light Screen and Reflect
Ater Light so they modify Def and SpD.
On critical hit, choose unmodified stat.
This also does half the work of crit mechanics.
2013-08-12 15:47:19 +02:00
Joimer
a9bc62149c Gen 2: Clean up scripts 2013-08-12 12:50:47 +02:00
Joimer
2190c8d6ec Gen 2: Fix bug on critical hit with debuff
If you have an attack debuff and get critical hit, turn crashes.
2013-08-10 18:10:58 +02:00
Joimer
a6b1bff6fb Gen 2: Add base files
Formats for its own validateSet, statuses, learnsets (from Veekun),
items, move changes, formats data for tiering, ability none,
and battle scripts.
2013-08-09 22:02:04 +02:00