Commit graph

18 commits

Author SHA1 Message Date
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
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
1a2aee930d Add Keldeo move mismatch
Probably going to move to a form check later.
2016-03-14 23:54:13 -07:00
Kaphotics
425de6242a Add duplicate move check
Cleanup the class too.
2016-03-14 23:26:51 -07:00
Kaphotics
c7cb52ecbd Add Shedinja encounter check 2016-03-14 17:04:03 -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
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
7f2b382353 Fix ability check wild 2016-03-13 18:37:54 -07:00
Kaphotics
c1f5c450c2 Add ability check for wild pokemon 2016-03-13 16:42:03 -07:00
Kaphotics
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07: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
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
b6fca5b306 Add some basic legality checks
Besides moves/encounters, we can check validity of certain traits.
2016-03-10 20:36:32 -08:00