Commit graph

136 commits

Author SHA1 Message Date
Kurt
f331fb95c9 Minor refactoring
Moved QR text generation and tweaked a few property generations.
2015-09-23 23:02:26 -07:00
Kurt
67aa4753d6 Remove 1MB native support
Finally rid of this monster.

There still exists a bug when loading the pk6 data to tabs; still need
to fix that before it's stable.
2015-09-23 22:45:44 -07:00
Kurt
5b3623caa5 Remove use of Regex 2015-09-23 22:44:15 -07:00
Kurt
1879bdf4e3 Bitflag and usage fixes 2015-09-23 22:21:53 -07:00
Kurt
809148ed54 Refactoring round two
Introduced the fully editable PK6 class object, which is now used by
PKHeX's pk6 editor, as well as updated the Box Data Report. Readability
should be increased as no

Includes bug fixes:
Odaxis' report regarding Event Flag Editor
Showdown sets using "Trait" instead of "Ability" (old old style) now can
be read.
Imported showdown sets will not use the imported gender label (instead
uses the current style, same 'value')
2015-09-23 20:29:31 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
9e64212a33 Revert e8b7b14 Commit
Needs to trim at the first index of a null terminator; not all empty
characters at the end.

Revenge of the Trash Bytes 😆
2015-09-18 16:33:37 -07:00
Kurt
f45ff5125c Fix Hidden Power Argument Usage
getHPType's input order needed to be updated -- the form usage was
changed via the characteristic fix commit.
2015-09-07 13:02:18 -07:00
Kurt
84586f2da9 Fix untrimmed showdown set 2015-09-04 18:50:14 -07:00
Kurt
e8b7b14efa Simplify \0 trimming 2015-08-08 21:44:52 -07:00
Kurt
22c63b4662 Use existing getSprite method
I thought I caught all these duplicate sprite fetch methods...
2015-08-06 20:50:26 -07:00
Kurt
6e9afc032e Undo https switch; the used apis don't use it
They worked just fine previously, just reverting.
2015-07-26 10:02:30 -07:00
Kurt
8dfa356a77 Fix form/nickname detection
Check for the form name in the inversion check
2015-07-21 18:17:10 -07:00
Spanti Nicola (RyDroid)
d656058524 Minor changes 2015-07-21 00:52:11 +02:00
Kurt
04229d1b9a Tweak set detection, added lineskip 2015-07-02 17:15:56 -07:00
Kurt
c1005945fd Sanitize apostrophes
King's Shield, King's Rock, Farfetch'd are notable examples of Showdown
strings differing from game default strings.
2015-06-13 00:30:45 -07:00
Kurt
bbf43d7e34 Refactoring and Showdown Bug Fix
Thanks Odaxis for reporting the Showdown import edge case with Mr. Mime!
2015-04-28 07:39:50 -07:00
Kurt
6b841cce2b Showdown import allow inverted nicknames
Thanks Favna for the edge case; simple implementation.
2015-04-16 23:03:01 -07:00
Kurt
a003db55b4 Import sets without items
Thanks Favna for bringing this to my attention!
http://projectpokemon.org/forums/showthread.php?45955
2015-04-14 17:50:16 -07:00
Kurt
8f2bc04a82 Fix hidden power string detection 2015-04-01 17:20:09 -07:00
Kurt
1aa77e2c9b Set Import Fixes & Trash Byte Fix
Set will now import gender and set nickname properly, also will now
import Showdown's stat descriptions.

Latest OT will now write only enough bytes and won't overwrite any
previous names, leading to trash bytes. Fun.
2015-03-18 20:45:06 -07:00
Kurt
0839f1b43c Finish implementing Showdown/Smogon paste importing
Some other minor tweaks to smooth the code.
2015-03-16 19:25:59 -07:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
68687a2bb3 Implement ORAS Save Trainer Data loading 2015-03-10 22:32:23 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
8b3b7ba29b Refactoring 2015-03-09 23:37:40 -07:00
Kurt
1ff60e7231 Click Hidden Power Type to change
Hold Control to go backwards in the list.
2015-03-03 18:57:08 -08:00
SciresM
4fafaaf1f3 Add another set of magics for pokemon x/y
Some PAL games have a different set of magics
2015-03-01 11:26:22 -08:00
Kurt
f8957a0b22 Add missing encounter types
Rock Smash, Distortion World, regular Starter/Gift/Fossil; should match
PokeGen's choices.

Rock Smash is HGSS exclusive; added identifiers to the other version
specific choices.
2015-02-26 22:39:52 -08:00
Kurt
ee050c531e Font Flexibility 2015-02-26 21:07:18 -08:00
Kurt
88060d0b7d QR Cleanup tweaks 2015-02-26 17:22:53 -08:00
Kurt
bba50f62e6 Removing unused code
Yay for workarounds being less code intensive than first thought.

Internet method is easier than doing it in the program; user needs
internet on their 3DS to scan QRs anyway.
2015-02-25 23:16:31 -08:00
Kurt
b9b553a0e9 Add QR functionality via Web (Google) 2015-02-25 23:12:38 -08:00
Kurt
d7414f8a01 Switched up QR Generation, change Number Padding
should be a little bit more reliable; old method via Control
2015-02-25 20:19:43 -08:00
Kurt
3ea597956e Improved QR generation 2015-02-24 23:19:00 -08:00
Kurt
84b53ad843 Finish QR Gen implementation 2015-02-24 20:42:05 -08:00
Kurt
042671f193 Add appropriate attribution for QR Code Image Gen 2015-02-24 20:15:49 -08:00
Kurt
d856a8c95c QRgen initial (unworking)
Further improvements to overall system stability and other minor
adjustments have been made to enhance the user experience.
2015-02-24 20:10:47 -08:00
Kurt
925293f9d6 Fix Hidden Power recalc
Oops.
2015-02-21 12:59:04 -08:00
Kurt
a0c96bd329 Hidden Power IVs method simplification 2015-02-20 14:24:50 -08:00
Kurt
21a2fe866e Hidden Power Type creation from current IVs 2015-02-19 16:26:01 -08:00
Kurt
8ddf420560 Init set IVs 2015-02-18 23:46:34 -08:00
Kurt
725b66d047 Improving set parser (still untested) 2015-02-16 22:35:06 -08:00
Kurt
e44fa449ea Fixing compile time errors
Thanks VS for not telling me before I commit... my fault for not test
compiling though!
2015-02-15 21:45:39 -08:00
Kurt
c7a32b1e0b Add beginnings of a set parser 2015-02-15 21:39:21 -08:00
Kaisonic
249b06ec5c Add Level to Box Data Report 2015-02-11 17:06:51 -05:00
Kurt
25e71d39a9 Box Data Report Bugfix
3DSRegion and Game Language should now have the correct index text.
2015-02-02 21:51:08 -08:00
Kurt
b1659c9f55 Shedinja Stat Calculation Fix 2015-02-02 20:52:10 -08:00
Kurt
6f516a23d1 Cleaning & Minor Improvements/Additions 2015-01-31 20:40:35 -08:00