Commit graph

6443 commits

Author SHA1 Message Date
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
Kaphotics
eec754256a Lambda
Slick.
2016-03-22 20:30:48 -07:00
Kaphotics
c89e3a84c1 Allow menu strip to stay open on chk click
Allows the user to click multiple options in Set to SAV and Database
filters without having the options disappear on click.
2016-03-22 20:14:11 -07:00
Kaphotics
36d74b8d85 Refactoring & Fixes
Add tracking for wild / link encounters
Fixed sylveon ball check
Added Demo link pkm
Added Horde Hidden Ability checks
2016-03-22 19:47:13 -07:00
Kaphotics
4fa58841ad Remove unused asymmetric sprite
Slipped through the last purge
2016-03-22 14:07:51 -07:00
Kaphotics
fa68aa7a29 Minor fixes
Fix ribbon bits, fix formchange
2016-03-21 23:43:03 -07:00
Kaphotics
903f070e61 Fix Link ribbon check 2016-03-21 23:30:31 -07:00
Kaphotics
262abad921 Improve ingame trade filtering
More strict.

Dunno about PID/EC values.
2016-03-21 21:51:36 -07:00
Kaphotics
8211509d99 Add Ingame Trade ability, chk Fix Egg Ball chk
Missed the return at the end
2016-03-21 21:50:39 -07:00
Kaphotics
b109af18e7 Add History check, Expand ball check 2016-03-21 21:31:06 -07:00
Kaphotics
e938aa6765 Add more stringent wc6 comparators 2016-03-21 19:53:02 -07:00
Kaphotics
b05b66810c Add Ball/Ability checks & wc6 PID check
Probably am going to move the WC6 fetch logic out
2016-03-21 08:01:08 -07:00
Kaphotics
17109093bd Update legality display before alert
Instead of updating after displaying why it's (not) legal.
2016-03-20 21:57:50 -07:00