Commit Graph

48 Commits

Author SHA1 Message Date
Guangcong Luo
af2026436a More style fixes and Gulpfile updates
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.

The code has been fixed to match the new stricter standards.

JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
Guangcong Luo
a2f4120997 Merge pull request #989 from TalkTakesTime/patch-3
GSC: Roar/Whirlwind fail if they don't go last
2014-07-22 02:42:17 -05:00
Slayer95
8067c3f001 Fix typo in previous commit 2014-07-16 16:30:14 -05:00
Slayer95
7181b0172f Gen 2: Add Pink Bow and Polkadot Bow items 2014-07-16 16:28:04 -05:00
TalkTakesTime
15a0c241f5 GSC: Roar/Whirlwind fail if they don't go last 2014-06-07 12:25:10 +12:00
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
The Immortal
d4a757aa00 Update Mewtwo's gen 1 moves
It is impossible for Mewtwo to legitimately learn Confusion or Disable
as those moves are learnt at level 1, Mewtwo is obtained at level 70,
and there is no move relearner in RBY
2014-05-01 21:37:19 +04:00
The Immortal
495cd4a12f Update gen 2 tiers
Use LC where applicable (for consistency)
2014-04-25 16:53:45 +04:00
The Immortal
1e0ac0e801 Update gen 2 events
- Added event numbers
- Added missing events
- Fixed incorrect events
2014-04-25 15:35:05 +04:00
sirDonovan
0b762adc6f Fix Pokemon Ordering
New order to match all other gens + add Porygon2
2014-04-24 18:34:44 -05:00
The Immortal
bf5491d6bf Add gen 1 events
Also removed the commented out viableMoves as they are from gen 5
2014-04-24 16:57:12 +04:00
The Immortal
74dde57a7a Update gen 1 and 2 learnsets
- Deleted gen 1 learnsets as it inherits from gen 2
- The move Return was not in quotation marks
2014-04-24 00:47:10 +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
3fc36ef80f 'clampIntRange is now a method of 'Tools' and no longer global 2014-04-18 15:14:54 -05:00
Relados
3ace54a742 Remove typo 2014-04-16 15:38:24 -05:00
Relados
d1dc1d5f52 Allow Lum Berry in gen 2 2014-03-31 06:52:35 -05:00
Relados
691f59cd29 Allow gen2 berries to be used 2014-03-30 23:19:25 -05:00
Relados
44f65d4f8d Remove Gold Berry
According to Slayer95 gold berry behaves identically to ADV sitrus berry.
2014-02-26 20:23:53 -06:00
Relados
6738aa92ae Remove Berry
Berry is exactly the same as Oran Berry
2014-02-26 06:59:08 -06:00
Relados
eaa574e3ca Removing redundant berries
The status curing berries can be implemented using aliases to the existing berries.
2014-02-26 06:56:52 -06:00
Relados
6a3799e01b Add missing gen2 items
There are some berries and items that were lacking for gen2.  According to UPC the Berserk Gene's confusion lasts 256 turns.  It lasts the normal duration currently.
2014-02-25 13:43:32 -06:00
Ivo Julca
6b28305f25 Indent with tabs in type charts 2014-02-14 20:18:35 -05:00
Ivo Julca
a81cf072ac Use inheritance in type charts 2014-02-14 20:17:49 -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
2a67901135 Gen 1 now inherits data from Gen 2
Just a logical step after 456883914b
2014-02-12 21:42:42 -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
Ivo Julca
9201ffaa5e Items boosted attacks in 10% pre-gen4 2014-02-12 18:40:19 -05:00
Ivo Julca
d0dbea2171 Fix misusage of null in mods data 2014-02-12 17:58:01 -05:00
Juanma Serrano
ccc3ee8ac1 Gen 2: Mirror Move is valid on Metronome
Apparently Mirror Move can be called by Metronome on gen 2.
Source:
https://github.com/kanzure/pokecrystal/blob/master/battle/effects/metronome.asm#L46-61
2014-01-21 11:59:47 +01:00
Joimer
5e5f4c47f4 Fix Metronome on all past gens 2014-01-21 10:41:36 +01:00
Guangcong Luo
e2f82fa8f3 Rename data/formats.js -> data/rulesets.js 2014-01-09 19:37:04 -08:00
Slayer95
5c115f66f9 Gen 2: Waterfall has no change to flinch
Also, add newline at the end and remove trailing comma for compatibility.
Sorted moves alphabetically (Magikarp's revenge stays at the end as it used to be).
2013-12-15 15:33:55 -05:00
Slayer95
fcb36a040e Gen 2: properly check generation for items 2013-12-06 04:26:34 -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
Bill Meltsner
57f5772f69 Update moves and abilities with changed names, including High Jump Kick and Feint Attack.
This probably won't blow up in our faces.
2013-10-22 23:56:03 -07:00
Joimer
5f0e5a5e76 Update Pokedex
Information from:
http://www.smogon.com/forums/threads/oldmon-base-stat-changes.3490041/page-3
Added Golem and Staraptor since they're given proof.
Updated old gen mods Pokedex to include the old base stats.
Updated the format on Pokedex so it uses inherit.
2013-10-22 16:05:55 +02: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
Joimer
a172cb4b0e Gen 2: Implement Berry 2013-08-21 22:05:45 +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
563f3236fc Gen 2: Add its own Reflect 2013-08-12 12:51:03 +02:00
Joimer
a9bc62149c Gen 2: Clean up scripts 2013-08-12 12:50:47 +02:00
Joimer
e0b857315c Gen 2: Add readme 2013-08-11 10:05:59 +02:00
Joimer
0e8741a6c9 Gen 2: Put phazing moves correct priority 2013-08-10 22:31:18 +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
64d783aea0 Gen 2: Implement Hidden Power
Typechart is necessary for the types IVs for specific hidden powers.
2013-08-09 22:03:02 +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