Commit Graph

7 Commits

Author SHA1 Message Date
1e9835372f * Restructured the code and moved the report creation to an independent module. Moved the IV sorting to the report module. The main module is now only doing IV finding.
* Changed the reported estimated CPs from values to formulas.
* Moved the localized Pokémon names from the DialogStrings to AddonConfiguration, so that they can also be used in the report, too.
* Changed the report logic to report the estimated maximum CPs of the last evolution forms, instead of several special rules.
* Localized the report headers.
2017-06-08 17:13:28 +08:00
15e2d5012e Moved fnAskParam from 0Main to 1Dialog, to move all UI to 1Dialog and keep only algorithm in 0Main. 2017-03-24 16:51:32 +08:00
035c455a84 Fixed the indent from 4 spaces to tabs. 2017-03-01 23:48:57 +08:00
f0c756b917 * Added Pokémons from Johto region (generation 2), whose ID are from 152 to 251, without images yet.
* Moved fnMapPokemonNameToId from 0Main to 9Load, because it is only used in 9Load.
* Separated sPokemonId from sPokemonName in the data structure, to fix the confusion for Farfetch'd, Nidoran♀, Nidoran♂, and Mr. Mime.
* Advanced to 0.4.0.
* Updated the update information.
2017-03-01 23:11:17 +08:00
98069f942c Moved the dialog UI control from 0Main to 1Dialog, to keep the code clean. 0Main processes mostly the algorithm itself now. 2017-02-24 18:12:57 +08:00
16c621171f Moved the UI to the main module so that we do not need to duplicate the type. 2016-11-29 15:02:15 +08:00
932c6bed77 Fixed to move the source from the oxt directory and copied the xba source into the oxt directory. 2016-11-29 14:23:00 +08:00