Commit graph

40 commits

Author SHA1 Message Date
Kaphotics
1755b49a9c Fix EncounterLink OT
Set the "Receiver is OT" to false for Glalie/Steelix, else true.

Thanks @poutros !

Fixes #147
2016-07-28 21:30:38 -07:00
Kaphotics
da1f7c7426 Add movepp tables for 3->6
Split from the PKX table (now removed); since PP differs between gens we
have to keep track. Not gonna add a separate binary, just use a
reference table.
2016-07-21 23:49:52 -07:00
Kaphotics
fa9ca3ea59 Flag Legality of Battle Primals
Mark as illegal.

Thanks Asia81!
2016-06-29 17:42:00 -07:00
Kaphotics
d2342ba965 Fix pokecenter purchase ORAS
Ever Grande Pokémon League lobby has a vendor, and is considered a Pokécenter.
Thus, memory 5 is obtainable in OR/AS.

Resolves #125
2016-06-22 12:31:53 -07:00
Kaphotics
6378eb7f56 Current progress
Still a few milestones left to hit before official release.
2016-06-19 21:22:43 -07:00
Kaphotics
862c2fd823 Fix trade skitty level
25->30
2016-05-30 18:56:37 -07:00
Kaphotics
b5caf36fec Remove tab indentations
Change to 4space
2016-05-21 11:28:04 -07:00
Kaphotics
0ae2a82fc1 Fix legal egg locations
Battle Resort can't be the egg met location. It's set to 60002 (daycare)
2016-05-10 22:35:17 -07:00
Kaphotics
608d751f06 Add Pokémon Village static encounters
Thanks @ReignOfComputer
2016-05-10 08:04:32 -07:00
Oliver Garcia
9eb28533de Checks for PKM Center memories 2016-05-10 00:09:40 +01:00
Kaphotics
e98ab01c2a Tower of Mastery X/Y
Thanks @chenzw95!
2016-05-07 10:24:05 -07:00
Kaphotics
06023d10f6 Add Berry Field encounters
Resolves #105
Thanks @chenzw95 !
2016-05-07 01:19:58 -07:00
chenzw95
784bd8d661 Add legality checks for HM-specific memories
Pokemon which have memories of using moves that they cannot learn will be flagged as illegal.
2016-05-07 14:18:52 +08:00
Kaphotics
e06c38151c Fix typo in comment
such worth
2016-05-05 20:34:58 -07:00
Kaphotics
e7e793a2f4 Add basic memory checks
Thanks Eskuero. WIP.
2016-05-05 20:05:22 -07:00
Kaphotics
96578e4cbd Add 3IV encounter check 2016-05-03 19:36:47 -07:00
Kaphotics
c2981510a9 Cosplay pikachu fixes
Form can be changed only for the received cosplay Pikachu.
Can be obtained in any location.
Regular Pikachu cannot be given a cosplay-only form
Cosplay Pikachu cannot have a non-cosplay form.
2016-04-23 14:16:12 -07:00
Kaphotics
9ccdb945d4 Add baby pokemon ball inheritance
Parents are in the table, but the routine only checks base species.
2016-04-22 20:08:28 -07:00
Kaphotics
60205cd700 Wurmple evolution check (EC) 2016-04-21 00:28:40 -07:00
chenzw95
f192db095b Check for illegal hatched species 2016-04-15 15:40:35 +08:00
Kaphotics
16f291e4ac Add Form checks 2016-04-14 03:17:03 -07:00
Kaphotics
e226221662 Add Terminus Cave ceiling encounters
Thanks rinnegan!
2016-04-10 18:19:23 -07:00
Kaphotics
e66342fe6c Fix trade lapras level 2016-04-07 21:34:43 -07: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
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
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
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
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
fa68aa7a29 Minor fixes
Fix ribbon bits, fix formchange
2016-03-21 23:43:03 -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
d471c965aa Add fossil encounter checks 2016-03-16 19:15:49 -07:00
Kaphotics
6b410dd65c Add basic form moveset checking
Also added Pikachu/Rotom form moves
2016-03-14 23:46:18 -07:00
Kaphotics
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07: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
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
968eabd053 Reorganization for future changes
Moving legality stuff into separate class
2016-02-22 22:52:48 -08:00
Renamed from Misc/Legal.cs (Browse further)