Commit graph

23 commits

Author SHA1 Message Date
Kaphotics
54bc0b320d Add PersonalInfo for gens4/5
Abstracted the PersonalInfo class to the multi-generation format.
Structure hasn't changed since BW sans a few additions.
2016-07-02 20:24:17 -07:00
Kaphotics
4e9ea707f9 Fix untraded Glalie/Steelix link gift history chk
Has an OT, HT=player but doesn't get a geolocation, behaves like a wc6
gift.
2016-05-08 18:11:31 -07:00
Kaphotics
96578e4cbd Add 3IV encounter check 2016-05-03 19:36:47 -07:00
Kaphotics
150d781699 Tweak slot detection
Fixes hidden ability slot detection
2016-04-23 12:31:12 -07:00
Kaphotics
2c233be43f Refactoring
No functional changes
2016-04-21 18:48:21 -07:00
Kaphotics
a733b99b31 Defer Gift ball check
Now returns invalid ball instead of invalid encounter
2016-04-20 20:46:18 -07:00
Kaphotics
4d1c621eb5 Add Pressure/Flute encounter modifications
Thanks Angeflo for the report, including test cases.
2016-04-20 19:47:40 -07:00
Kaphotics
027e0e19b1 Refactoring 2016-04-18 18:21:50 -07:00
Kaphotics
09811c32e4 Add verbose export
Partial commit error fixed
2016-04-03 17:11:58 -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
38d67c9ef1 Refactor Safari to be an encounter slot 2016-03-22 22:31:30 -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
262abad921 Improve ingame trade filtering
More strict.

Dunno about PID/EC values.
2016-03-21 21:51:36 -07:00
Kaphotics
0fc4da3431 Begin adding EncounterTrade
Fixed a few things in the EncounterStatic, added a few attributes
(antishiny, Gender, Ability, IV, Contest) for appropriate pkm
2016-03-16 23:29:28 -07:00
Kaphotics
425de6242a Add duplicate move check
Cleanup the class too.
2016-03-14 23:26:51 -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
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07:00
Kaphotics
af5b2e09f9 Silly for-loop fix
Wrong way.
2016-03-12 09:13:52 -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
c618e1aac6 Add encounter slot checking, edge case handling
So much information is needed to check a given aspect that it's best to
just pass the pk6 around to functions.
2016-02-26 07:52:08 -08:00
Kaphotics
cb6a3394d5 Add encounter tables 2016-02-25 16:19:59 -08:00
Kaphotics
4b7f253a1e Add DexNav move legality checking 2016-02-24 16:36:26 -08:00
Kaphotics
968eabd053 Reorganization for future changes
Moving legality stuff into separate class
2016-02-22 22:52:48 -08:00