Commit graph

303 commits

Author SHA1 Message Date
Kaphotics
cc1d3de1ed Retain unown form 2016-03-19 18:17:10 -07:00
Kaphotics
01341ceeae convert 5->6 decapitalize if not nicknamed 2016-03-19 18:13:09 -07:00
Kaphotics
d436caf273 Minor tweaks 2016-03-17 18:28:51 -07:00
Kaphotics
dc4628abe1 Add XY/AO attribute for PK6
A little more explicit.
2016-03-15 19:06:13 -07:00
Kaphotics
600159362e Fix Showdown Mega-X/Y Form parsing
Thanks Odaxis!
2016-03-15 18:14:20 -07:00
Kaphotics
9cf6753a36 Lowercase Update
Addresses #82
2016-03-14 17:54:30 -07:00
Kaphotics
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07:00
Kaphotics
d1e98cb429 Tweak egg prerequisites
Moved Met Level check into the encounter check, don't care about it for
checking an egg's relearn moves.
2016-03-12 09:13:27 -08:00
Kaphotics
c4612e2d9f Legality ContextMenu now returns analysis
Hooked up all the methods and can spit out if invalid.

I plan to put a legality indication where QR! was, but the legality
analysis needs more checks (moves, ability, nickname, ball, fateful...
you get it) and stability.

Have fun playing with the initial legality checks 😄
2016-03-11 19:43:40 -08:00
Kaphotics
0e1599e9d5 Farewell QR! label
Moved into the contextmenu.

shortcuts available:
shift click picturebox -> out QR (to window)
alt click picturebox -> in QR (from clipboard)
2016-03-11 18:40:08 -08:00
Kaphotics
9729e5a30e Merge pull request #79 from chenzw95/unown-pid
Generate legal PID for Gen III Unown
2016-03-09 00:38:05 -08:00
chenzw95
f405840ba5 Generate legal PID for Gen III Unown 2016-03-09 16:29:18 +08:00
Kaphotics
64759c7487 Remap unicode to ingame value
Don't rely on string setter either.
2016-03-07 19:31:22 -08:00
Kaphotics
eb4abb28d1 Unicode remap Nickname/OT
Thanks Localhorst! I suspect this isn't going to be final...
2016-03-07 18:49:42 -08:00
Kaphotics
0a4e27e501 Fix typo 2016-03-07 18:45:17 -08:00
Kaphotics
9ab426aa80 RandomPID: Simplify + Add Gen6 return option
Although our origin checks are done every loop, the speed difference of
such checks is negligible compared to the benefit of readability
2016-03-06 20:00:33 -08:00
chenzw95
f731dd9248 For Gen III & IV Pokemon, generate PIDs to ensure legal nature 2016-03-07 11:24:34 +08:00
Kaphotics
ce2f970bad Simplify level calc
start at level 1, change loop to be less wordy
2016-03-05 07:58:22 -08:00
Kaphotics
6ece2a5f1e Relocate JPEG code
-14 lines
2016-03-04 22:09:54 -08:00
Kaphotics
2d5fb503f3 FixMemories loop
Cycles through
--X-X => XX--- instead of -X-X-
2016-03-01 20:15:08 -08:00
Kaphotics
54595b063b Re-fix FixMoves
On second thought, that wasn't the best way. Just loop back and fix if
it created a hole. Coul always use a recursive call instead, but I think
this is a little cleaner.

The reverted change didn't fix PP or PP Ups for moves; I didn't think of
this new fix at the time!
2016-02-28 22:18:34 -08:00
Kaphotics
1817c52baa Revert "Fix -X-X moves => X-X-, now XX--"
This reverts commit b03c106599.
2016-02-28 22:10:35 -08:00
Kaphotics
b03c106599 Fix -X-X moves => X-X-, now XX--
Shortest way is using linq; this takes another line but is easier to
port for those unfamiliar with linq.
2016-02-28 17:16:53 -08:00
Kaphotics
82cdcf0e3b Add pgf retrieval 2016-02-28 13:50:06 -08:00
Kaphotics
572e1b9e32 Add 5th Gen save file object
new SAV5(data) => easy access to boxdata/party for export.
2016-02-27 19:28:41 -08:00
Kaphotics
accbbd89eb Add Sun/Moon Version IDs
We'll see if this guess holds up.
Possible that the VC games will have Version IDs afterwards.
2016-02-27 18:25:27 -08:00
Kaphotics
37ad88a4ce Feelings for Trades
0-9 Bank
0-19 Trade
Thanks suloku
2016-02-27 10:59:40 -08:00
Kaphotics
47f53a3a57 Add Gardevoir Forme
Shift all afterwards by 2.
2016-02-25 22:02:51 -08:00
Kaphotics
11b8010992 Cleanup
Use less lines to do the same thing
2016-02-24 14:38:12 -08:00
Kaphotics
968eabd053 Reorganization for future changes
Moving legality stuff into separate class
2016-02-22 22:52:48 -08:00
Kaphotics
153d058d67 Fix nature reset 4->X 2016-02-19 17:12:10 -08:00
Kaphotics
c426089c07 Add Move Legality Checker
Note that this is a first iteration feature; there are known edge cases.
This feature is merely to assist the user by highlighting moves that are
outside of the typical moveset.

Levelup/Eggmove/Tutor/TMHM are used in the logic.
2016-02-17 07:54:59 -08:00
Kaphotics
4af5e1c299 Add FormDex setting 2016-02-13 20:20:55 -08:00
Kaphotics
54e5b2b30c Fix Transfer Ability 4->6
Clear Shiny Leaves/Crown, and fix ability detection
2016-02-13 19:40:51 -08:00
Kaphotics
eae4b2ad5c Add Pokedex entry form editing
Thanks suloku for mapping out the order of flags!

Fixed a few bugs with the existing ModifyAll code.
2016-02-13 19:17:35 -08:00
Kaphotics
7b380cd0aa Refactoring
Minor fixes to coding style

PGT fixed default OT name from pk4HeX to PKHeX. Yay for replace all
"pk"-"pk4" case insensitivity.
2016-02-11 23:42:42 -08:00
Kaphotics
52b0b107f9 Fix OT Gender not being set on 5->6 2016-02-11 23:29:57 -08:00
Kaphotics
e8c1fb662d Add automatic save backup
Create "bak" file, or export a backup successfully anywhere to receive
the "create bak folder" prompt. When saves are loaded (with a new
timestamp), they will be backed up. Repeat loads of the same file will
not be backed up, as a backup of that file already exists
(OT/Game/SavedAt is the hash used).
2016-02-11 21:41:31 -08:00
Kaphotics
aeab85cb83 Simplify Characteristic calc
++ increments after calculation, array accessor uses the calculated
value
2016-02-11 20:52:10 -08:00
Kaphotics
1b4975f6c5 SAV remember import name&dir 2016-02-11 00:56:10 -08:00
Kaphotics
d2214f4fa1 Refactoring 2016-02-10 00:33:42 -08:00
Kaphotics
97b766eadb Add SAV6 ChecksumsValid property 2016-02-09 15:30:10 -08:00
Kaphotics
091f5c10d2 Simplify getStringList method calls
No need to go to List and back to array.
2016-02-09 15:27:24 -08:00
Kaphotics
64d29e3278 Remove unnecessary braces 2016-02-05 22:10:08 -08:00
Kaphotics
a329a17c62 Tweak Box name get/set 2016-02-01 22:33:15 -08:00
Kaphotics
2d4d973689 Refactoring
lines--
2016-01-31 23:15:54 -08:00
Kaphotics
e6d9a0681e Fix CardTitle trimming
Trim off null terminators
2016-01-31 22:14:22 -08:00
Kaphotics
3c1c6b86ba Clear OT memories on set if !Gen6 2016-01-28 19:35:48 -08:00
Kaphotics
1c53243283 Remove ram2sav
Also removed injectiondebug and trade packet handling.

Improved BAK suggested filename (last saved timestamp)
2016-01-27 20:24:32 -08:00