Commit graph

6443 commits

Author SHA1 Message Date
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
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
65767423b1 Merge pull request #80 from easyworld/master
update zh translation about puff, superTraining, trainingBag.
2016-03-11 07:41:21 -08:00
easyworld
e3f0b8c6a3 update puff, superTraining, trainingBag. 2016-03-11 18:24:45 +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
Kaphotics
9604589a4a Add slot legality fetch for pk6
calling getEncounterSlots(pk6) yields a list of locations and valid
slots for given input pk6.
For later use in suggestion of legal values.

Flexible enough for future fetch of past gen, but I doubt I'd ever be
motivated enough to implement past gen checks.
2016-03-09 21:32:42 -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
97a8825406 Add legality text exporting
WIP -- no text is returned from the called method.
Fixes the Control Click preview box not exporting ek6 (was right click
previously).
2016-03-08 19:20:29 -08:00
Kaphotics
e18aeedebb Merge pull request #78 from easyworld/master
zh translation fix
2016-03-07 21:23:45 -08:00
easyworld
102697695b update ja words to zh. 2016-03-08 13:12:38 +08:00
easyworld
eefeda79bd Update some ja words to zh. Fix some bad translation. 2016-03-08 13:06:38 +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
d284256088 Update EC for pre Gen6 randomPID/shiny 2016-03-06 22:21:54 -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
Kaphotics
caaad37cee Merge pull request #77 from chenzw95/nature-pid
For Gen III & IV Pokemon, generate PIDs to ensure legal nature
2016-03-06 19:42:08 -08:00
chenzw95
f731dd9248 For Gen III & IV Pokemon, generate PIDs to ensure legal nature 2016-03-07 11:24:34 +08:00
Kaphotics
d34db0a4a9 Improve encounter level met check
DexNav boosts levels (up to 10?)
Non boosted => met level == slot level
2016-03-06 17:08:04 -08:00
Kaphotics
fea468e112 Encounter Slot met level check
Met Level should match the encounter slot's level.
Obviously for past gen checks this can't happen as the met level is
modified.
2016-03-06 16:46:07 -08:00