Commit Graph

11 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
小太
5c8fc7b982 Space after function for anonymous functions 2014-04-22 01:58:16 +10:00
Guangcong Luo
a39fdd6006 Split off team validation to team-validator.js
This is the first step in a refactor to split team validation into
its own process.
2014-01-09 17:35:19 -08:00
Slayer95
197d5b22be Fix hidden abilities being allowed in Gen 3 & 4
Also fix hidden ability for Flygon in NEXT
2013-11-10 01:48:42 -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
Guangcong Luo
df8c66d937 Optimize banning things from newer gens 2013-04-27 11:21:25 -07:00
Guangcong Luo
b263daeea0 Lazily copy data for mods, rather than eagerly 2013-04-27 11:21:25 -07:00
Guangcong Luo
68fd57131c Memory optimisation in Tools data
During initialisation of Tools, each new mod no longer makes a copy
of every data object from the parent mod. Instead, a new object is
created when and only when the mod actually makes changes to a
particular object. In other words, this is a "copy-on-write" system.
2013-04-27 04:50:37 -07:00
Guangcong Luo
59785e4630 Fix Gen 4 learnset checking 2013-04-23 18:46:32 -07:00
Guangcong Luo
61a0bd9c09 Make sure self-target moves ignore Soundproof 2012-09-09 00:39:31 -07:00
Guangcong Luo
cb4aae18a3 formats.js can now list alternate gens 2012-06-16 15:50:34 -07:00