Commit graph

9163 commits

Author SHA1 Message Date
Kaphotics
b9893a9472 Minor fixes
Fix hot springs egg location
Fix link gift not returning valid
2016-03-15 22:04:04 -07:00
Kaphotics
28568c2908 Tweak evo levelup param
0 - item required (method 5,6,7)
1 - trade required (method 8)
2 - level required (everything else)

Fixes encounter checks of trade evolution pkm
2016-03-15 21:46:49 -07:00
Kaphotics
7477d4d20e Farfetch'd edge case 2016-03-15 21:40:11 -07:00
Kaphotics
820412e93b Add Egg name checks 2016-03-15 21:15:40 -07:00
Kaphotics
3c7cab83d1 Add legality filtering to database search 2016-03-15 21:10:33 -07:00
Kaphotics
dc4628abe1 Add XY/AO attribute for PK6
A little more explicit.
2016-03-15 19:06:13 -07:00
Kaphotics
116f941dcf Add Nickname legality check 2016-03-15 18:56:18 -07:00
Kaphotics
9b9775b013 Add Friend Safari exclusive forms 2016-03-15 18:35:40 -07:00
Kaphotics
600159362e Fix Showdown Mega-X/Y Form parsing
Thanks Odaxis!
2016-03-15 18:14:20 -07:00
Kaphotics
f83efd5142 Merge pull request #83 from chenzw95/dexform-fix
Fix Pokedex form bitflags not saved in XY
2016-03-15 00:15:37 -07:00
chenzw95
91535c8a7b Fix Pokedex form bitflags not saved in XY 2016-03-15 15:04:21 +08:00
Kaphotics
1a2aee930d Add Keldeo move mismatch
Probably going to move to a form check later.
2016-03-14 23:54:13 -07:00
Kaphotics
6b410dd65c Add basic form moveset checking
Also added Pikachu/Rotom form moves
2016-03-14 23:46:18 -07:00
Kaphotics
425de6242a Add duplicate move check
Cleanup the class too.
2016-03-14 23:26:51 -07:00
Kaphotics
76b3031263 Invalidate legality on bad moveset
Make the legality pictureboxes global for the Main form.
2016-03-14 23:26:29 -07:00
Kaphotics
945d0187ee Lowercase hax detection 2016-03-14 17:55:42 -07:00
Kaphotics
9cf6753a36 Lowercase Update
Addresses #82
2016-03-14 17:54:30 -07:00
Kaphotics
c7cb52ecbd Add Shedinja encounter check 2016-03-14 17:04:03 -07:00
Kaphotics
9ab50c1342 Fix Dialga/Palkia 2016-03-14 00:48:24 -07:00
Kaphotics
c08e8a75c5 Safe accessing
2 gender chars at most -> any fuzz/bad pk6 won't throw here.
2016-03-13 23:20:45 -07:00
Kaphotics
1ed58fd8d3 Fix ORAS Starter location
Oops, not littleroot town.
2016-03-13 20:55:20 -07:00
Kaphotics
ef8a0ca708 Check for DexNav amped species
Level mismatch on regular wild check was lacking a comparison for
dexnav.
2016-03-13 20:45:18 -07:00
Kaphotics
e996135dd3 Fix comparison
Wrong way!
2016-03-13 20:43:29 -07:00
Kaphotics
c300e80e19 Fix Species Comments 2016-03-13 20:28:40 -07:00
Kaphotics
93677fcdda Add Spiritomb/Voltorb
Shoulda just checked stationary encounters for ORAS first ;)
2016-03-13 20:22:29 -07:00
Kaphotics
150a1c942f Add Electrode encounter 2016-03-13 20:20:11 -07:00
Kaphotics
49e7225c3e Refactoring
Tanabata Jirachi has an underleveled move (illegal), so we have to track
some data. Move LegalityCheck back into LegalityAnalysis, but in a
separate file still.
2016-03-13 20:19:04 -07:00
Kaphotics
623866da06 Fix prevo check leveling
current level can be the evolution threshold, so decrement prevo level
afterwards.
2016-03-13 19:58:23 -07:00
Kaphotics
752b315bb1 Add Lati@s encounters & Gift Checking
Gifts should always be in PokéBalls
2016-03-13 19:40:47 -07:00
Kaphotics
b357a00fe3 calendar at current date on load 2016-03-13 18:38:11 -07:00
Kaphotics
7f2b382353 Fix ability check wild 2016-03-13 18:37:54 -07:00
Kaphotics
c6439aa03c Add legality indication on loading to tabs 2016-03-13 18:09:12 -07:00
Kaphotics
c1f5c450c2 Add ability check for wild pokemon 2016-03-13 16:42:03 -07:00
Kaphotics
0d81fd2d09 Add Kecleon encounters 2016-03-13 16:41:36 -07:00
Kaphotics
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07:00
Kaphotics
6acb8183ed Merge pull request #81 from easyworld/master
translate all bornPlaces to Chinese
2016-03-13 11:50:43 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07:00
easyworld
22f0525df7 translate all bornPlaces to Chinese 2016-03-13 16:19:52 +08:00
Kaphotics
ce87cf675f Fix getBaseSpecies 2016-03-12 15:05:01 -08:00
Kaphotics
74f02eb16f Further relearn tweaks 2016-03-12 14:07:57 -08:00
Kaphotics
cc9cee5d1a Tweak egg move check
Renamed some variables, fixed an internal error
2016-03-12 10:35:17 -08:00
Kaphotics
0ebbcbccb4 Move Legality check rewrite
Moved to checks
Returns why it's invalid
Added base egg move checks -- all eggs need level1 moves, can only be
pushed out. The move table acts as a sliding window; grab a list of
level1 moves, tack on relearn moves, then observe window view (last 4).
Added egg met level check
2016-03-12 09:16:41 -08:00
Kaphotics
af5b2e09f9 Silly for-loop fix
Wrong way.
2016-03-12 09:13:52 -08: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
5b87114a2a Bugfix Invalid Checksum alert
PK6 Object may be modified in parent form, resulting in invalid checksum
errors if the same PK6 is reloaded.

Solved by not passing object, pass raw data.
2016-03-12 09:12:51 -08:00
Kaphotics
019d074f0d Speed up startup time
SelectionLength takes a lot of time when loading fields, so only start
doing it when the form is totally loaded.
2016-03-11 20:57:55 -08:00
Kaphotics
9210ef06c6 Add Move checking
Tweaked some inner logic to validate moves on creation of new
legalityanalysis for use in display, with refresh methods.
2016-03-11 20:56:40 -08:00
Kaphotics
20257ffc32 Abort legality check if not gen6 2016-03-11 19:57:33 -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
9e4daf9a26 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-03-11 18:40:11 -08:00