Commit Graph

9 Commits

Author SHA1 Message Date
Joimer
a60204dca2 Gen 3: Add its own getDamage 2013-08-16 22:48:13 +02:00
Marty-D
c671c01f6b Gen III: Fix learnset checking. 2013-05-21 15:06:01 -04: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
1a75beb806 Damage category refactor for gen 3
Damage categories are now read using .getCategory, which gen 3 overrides.

move.category can still be read directly to check if something's a status
move, but it should never be used for reading damage categories.

This also fixes a crash in gen 3 and makes it playable again.
2013-03-08 08:36:14 -08:00
Marty-D
9d405b2af8 Fix a typo. 2012-12-19 15:31:21 -05:00
Guangcong Luo
81a3243fe7 Better implementation of pre-phys/spec split gen 3 2012-12-18 23:41:17 -08:00
Christopher Monsanto
fb6a75e3a3 Relados gen3 support. 2012-12-19 01:18:06 -05:00