Commit graph

5505 commits

Author SHA1 Message Date
Kaphotics
1eff57bd87 Simplify move suggestion method
Relying on linq... so rich.

Take the suggested moves, select a string array, and join.
2016-04-07 17:42:53 -07:00
Kaphotics
844e24024b Fix drag&drop and geolocation
PK6.cs now sets the SAV country/region instead of the pk6's.
SAV6.cs now sets the updated pk6 instead of the input ek6.

Thanks Dede!
2016-04-07 08:13:24 -07:00
Kaphotics
be63fe7b7f Simple Refactor
Simple :)
2016-04-06 22:52:55 -07:00
Kaphotics
677ec99256 Xamarin settings
Compiles just fine for Mono / .NET 4.0
2016-04-06 22:52:34 -07:00
Kaphotics
53e046fd7f Disallow exporting backup if sav is not exportable
CTRL-B could bypass the 'export' option being disabled.
2016-04-06 18:36:10 -07:00
Kaphotics
d3fbaed225 Remove moveID references, use language strings
Fixes #96
The legality core should not rely on text resources for legality output,
and move IDs are meaningless to the common user.
2016-04-06 18:13:43 -07:00
Kaphotics
cb9cab9ac0 wc6full fix
fix typo, add filter
2016-04-06 17:46:34 -07:00
Kaphotics
e0a2226228 Add cache detection to other sav detection methods 2016-04-05 20:37:36 -07:00
Kaphotics
4f6f0dddf0 Add cache folder detection to main window open 2016-04-05 20:27:57 -07:00
Kaphotics
e3499073cb Update shortcuts
Add showdown, fix PP/Friendship descriptions, add description for
individual IV/EV click shortcuts
2016-04-04 20:45:05 -07:00
Kaphotics
b200592a6b Showdown Import/Export Shortcut Keys
CTRL-T: Import from Clipboard
CTRL-SHIFT-T: Export to Clipboard
2016-04-04 20:41:26 -07:00
Kaphotics
d1cd61f0c4 Fix ctrl held at launch exception 2016-04-04 20:41:26 -07:00
Kaphotics
088996f4ce Merge pull request #95 from chenzw95/mono-fixes
Trim underscores in Util.ToInt32 and Util.ToUInt32
2016-04-04 09:34:35 -07:00
chenzw95
b5ce2fcfcc Trim underscores in Util.ToInt32 and Util.ToUInt32
Addresses Mono bug 12241.
2016-04-04 21:38:12 +08:00
Kaphotics
12c9636a09 Add better contest stat checks
A pokemon from XY that has never been traded cannot have contest stats
other than 0.

Milotic cannot be Beauty-LevelUp evolved in XY as an untraded mon.
2016-04-03 21:46:05 -07:00
Kaphotics
09811c32e4 Add verbose export
Partial commit error fixed
2016-04-03 17:11:58 -07:00
Kaphotics
87b65c4c5b Add Link shiny check
Thanks hehrerh!
2016-04-03 16:56:57 -07:00
Kaphotics
cf7ca51d83 Let the program handle genderless pkm on load
Previously a Male Arceus would load (gender 0 = male), just have the
program handle the gender/species.
2016-04-02 14:03:04 -07:00
Kaphotics
b0ccfe6a09 Init strings on load instead of every call
Makes exporting showdown text faster
2016-04-02 13:58:40 -07:00
Kaphotics
f90b33536b Minor tweaks
Don't do repeat checks in loop
2016-04-01 22:29:49 -07:00
Kaphotics
42f13c6294 DexNav Hidden Ability
Thanks Wanderer1391!
2016-03-30 19:55:27 -07:00
Kaphotics
8af8602c31 Fix Link Trade eggs
Thanks Wanderer1391!

Traded eggs get their Met Location set to 30002.
When an egg hatches, if Met Location > 0, copy Met Location to Egg
Location and set Met Location equal to current overworld location.
2016-03-30 19:07:52 -07:00
Kaphotics
5fb65c5ba7 Only screen gen6 for legality
Main window only checks legality for gen6, Database currently ignores
this restriction and runs the check anyway (unnecessary).
2016-03-30 18:54:36 -07:00
Kaphotics
4869f188bd Check memories for eggs/transfer
Catches some of those jan2014 banked pentagon mons without OT memories
The last check is unused; the last two checks are designed in case past
gen pkm are checked.
2016-03-30 18:53:34 -07:00
Kaphotics
9645cccbb5 Fix EonTicket const not being set if dropped direct
Rewrote the check to be a separate method for future cases of version
exclusive event cards.

Also fixed a full card album underwriting data to the bitflag region.
2016-03-30 18:28:31 -07:00
Kaphotics
d4e746233c Merge pull request #94 from chenzw95/opendialog-fix
Explicitly set InitialDirectory when creating new OpenFileDialog
2016-03-30 10:46:51 -07:00
chenzw95
2ac37336dd Reset OpenFileDialog path only if it does not exist 2016-03-31 01:14:32 +08:00
chenzw95
f6c593ac7d Explicitly set InitialDirectory when creating new OpenFileDialog
Probably fixes most "no disk in drive" issues.
2016-03-31 00:24:58 +08:00
Kaphotics
ab925068a2 Merge pull request #93 from chenzw95/daycare-fix
ORAS: fix incorrect display if only daycare 1 is empty
2016-03-29 07:46:59 -07:00
chenzw95
28671eaf2d ORAS: fix incorrect display if only daycare 1 is empty 2016-03-29 17:58:14 +08:00
Kaphotics
4cef68cbc3 Add pokeball-only fossil pkm
Exlusions for the other balls happen in the other ball checks.
2016-03-28 22:42:29 -07:00
Kaphotics
7f8f8c4756 Check Pokeball outside & before egg ball chk
Fixes Fossil pkm getting flagged.
2016-03-28 22:36:01 -07:00
Kaphotics
c00651078a Add Gen3/4 Ball exclusions
Additional Changes:
Removed duplicate EncounterLink check
Moved RelearnBase resetting to the verifyRelearn() method.
2016-03-28 22:30:23 -07:00
Kaphotics
65901f7f41 Add more strict ball checks
Sport/Apricorn/Safari/Dream checked

Also snuck in encountertype tracking for readability/calcOnce
2016-03-27 22:05:51 -07:00
Kaphotics
908ff709c6 Add Apricorn & Hidden Ability check
Thanks Eskuero!
2016-03-26 20:52:06 -07:00
Kaphotics
f728608216 Add Clear All for Memory Country/Region 2016-03-26 19:40:02 -07:00
Kaphotics
7a7c8488f3 Add Ingame Trade OT/Nick check 2016-03-26 17:23:53 -07:00
Kaphotics
7868b925d3 Add Master Ball & Gender based Ball checks
Safari ball and general ball checks for past gen pkm are still weaker
than they can be.
2016-03-26 17:12:09 -07:00
Kaphotics
a277b4a734 Ingame Trade exclusion
Return early if not ingame trade
2016-03-26 16:40:12 -07:00
Kaphotics
ae424cb116 Update changelog (03-26-16)
new release posted (03-26-16)
2016-03-25 20:39:31 -07:00
Kaphotics
8822069852 Increase cardname length
Null terminator is technically a part of the title, but not going to
allow overwriting.
2016-03-25 14:16:50 -07:00
Kaphotics
f55c2df910 Remove old ramsav cases
Unnecessary, program can't handle them anymore.
2016-03-25 00:10:57 -07:00
Kaphotics
a2c42a2293 RelearnMove suggestion instead of copyMoves 2016-03-25 00:10:11 -07:00
Kaphotics
ebb6349ceb Less cryptic encountertype choices
Resolves #91
2016-03-24 17:04:28 -07:00
Kaphotics
ea3fabe8e9 Drop past gen pkm -> slot img refresh
Fixes #89
Thanks poutros
2016-03-24 16:44:57 -07:00
Kaphotics
2b91145612 Clear bad egg background when slot is overwritten
PKHeX will never write a sanity=0 or bad chk, so no need to check.
(anyone can make the program do that though!)
2016-03-23 21:35:36 -07:00
Kaphotics
6d6866de64 Add Link origin game lockouts
Certain link gifts can only be received in certain games.
2016-03-23 17:57:22 -07:00
Kaphotics
f1c119214a Method reordering
Nothing changed, just organization.
2016-03-22 22:50:54 -07:00
Kaphotics
092a34e239 Move MatchedWC6 into EncounterMatch 2016-03-22 22:49:46 -07:00
Kaphotics
38d67c9ef1 Refactor Safari to be an encounter slot 2016-03-22 22:31:30 -07:00