Commit graph

8741 commits

Author SHA1 Message Date
Kaphotics
ed32471327 Cleanup
Add remaining logic methods for memories (not hooked up yet), removed
unused code.

TMHM checks are now done in the getMoves method.
2016-05-09 19:24:18 -07:00
Kaphotics
fb4847b1cb Split move fetch into more flexible methods
Allows the use of one method to filter move sources
2016-05-09 19:03:58 -07:00
Kaphotics
6f0bc1172a Add Memory 21
None of my database mons even had this memory :\
2016-05-09 18:19:31 -07:00
Kaphotics
e4b1e5fe47 Disallow Tutor Moves pkm that have never visited AO
Allow tutors only if ORAS origin or have been traded.
2016-05-09 18:07:26 -07:00
Kaphotics
5a21b70d11 Rearrange logic for Location
Get game ID once, check pk6 game first. Will be easy to insert a third
case if/when the time comes.
2016-05-09 17:51:35 -07:00
Kaphotics
ab687288f5 Merge pull request #110 from Eskuero/master
Checks for PKM Center memories
2016-05-09 17:40:00 -07:00
Oliver Garcia
9eb28533de Checks for PKM Center memories 2016-05-10 00:09:40 +01:00
Kaphotics
72ff630be8 Merge pull request #108 from Eskuero/patch-1
Add Smeargle exception
2016-05-08 18:26:20 -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
Eskuero
2840e46cb5 Add Smeargle exception
This boy can learn any HM move through Sketch so any memory regarding HMs is legal for him.
2016-05-08 23:56:08 +02:00
Kaphotics
2b364f0ed3 Add WC6 OT Memory checks 2016-05-08 14:29:08 -07:00
Kaphotics
1249380ce4 Merge pull request #107 from chenzw95/league-locationfix
Distinguish between Leagues of both regions in location dropdown
2016-05-08 06:25:07 -07:00
chenzw95
fde1c95700 Distinguish between Leagues of both regions
An oddity will otherwise force the smaller index (Kalos') to be selected instead.
2016-05-08 18:47:22 +08: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
Kaphotics
8c1dc42566 Merge pull request #106 from chenzw95/legality-movememories
Add legality checks for HM-specific memories
2016-05-07 00:56:20 -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
3a424c8b5b Add memorycheck 14 (species can be captured) 2016-05-05 20:35:18 -07: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
0f69fcb7f8 Add load modifyPK6 override
Extracted existing dialog from openFile to a method.
For loadBoxesFromDB and opening a box binary.

Thanks Eskuero for the suggestion!
2016-05-05 18:52:43 -07:00
Kaphotics
0c92f180c6 Update OT gender color on clickOT
load from save -> load gender, also fetch color.

Thanks Eskuero!
2016-05-05 18:47:40 -07:00
Kaphotics
96578e4cbd Add 3IV encounter check 2016-05-03 19:36:47 -07:00
Kaphotics
34cb70e16b Commit the rest
Why github do you just ignore if I save
2016-04-30 20:25:12 -07:00
Kaphotics
3213db3020 Keep gender when changing species
Only do gender detection if it's from previous games
2016-04-30 14:43:47 -07:00
Kaphotics
eb5c753db0 Fix iterator for wc6 checking relearn
The .Remove was tampering with the same variable that the foreach was
iterating over, causing exceptions. By casting to a WC6[], the List<WC6>
can be altered and the array is iterated over instead.
2016-04-30 14:23:56 -07:00
Kaphotics
7a94640c0c Add wc6full bin
Include loading into the database
2016-04-29 23:24:23 -07:00
Kaphotics
eb6c4abd02 Update wc6 bin 2016-04-29 23:23:38 -07:00
Kaphotics
1de3f31e9f Minor refactor
cleanup, remove parenthesis/unused

EV total backcolor matches IV backcolor instead of a defined color (for
those who alter their default color schemes)
2016-04-28 21:43:16 -07:00
Kaphotics
888d979fce Fix Gen4 platinum detection
Encounter Method now appears as intended
(old check ignored 12)
2016-04-27 21:09:50 -07:00
Kaphotics
397fb30df5 Remove Code Generator
Using the Cache for CyberGadget removes any need for a code generator,
as the code generator had many holes (partial writes if data already was
correct); future games would be odd to balance.
2016-04-27 21:07:35 -07:00
Kaphotics
dc43dea409 Fix demo & opening wc6 form
ctrl + drop wc6 -> window errors out, caught exception masks the
failure.

Prevent it by default
2016-04-26 23:01:59 -07:00
Kaphotics
2233747d87 Box Dump tweak
Disable for ORAS demo
Use box name for folder name instead of "BOX #"

Minor modifications adding if (SAV.XY) for future game branching.
2016-04-25 22:03:16 -07:00
Kaphotics
d3b5968efd Add more savegame specific safeguards for pk6set 2016-04-24 12:40:46 -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
150d781699 Tweak slot detection
Fixes hidden ability slot detection
2016-04-23 12:31:12 -07:00
Kaphotics
ce53cd704d XY Battle Resort egg met location
Hatched eggs would have to be Link Trade.
2016-04-23 10:12:52 -07:00
Kaphotics
9b0394847b Level 1 traded Milotic
Thanks Gastly!
2016-04-23 08:37:05 -07:00
Easy World
d35e0b0c25 Merge pull request #3 from kwsch/master
merge
2016-04-23 16:31:16 +08: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
4a42ac68ba Improve Fateful encounter check message 2016-04-22 20:08:02 -07:00
Kaphotics
a6ca9c8bf1 Add indication for Wurmple evolution
Hard coded english but whatever.
2016-04-21 19:46:33 -07:00
Kaphotics
cb2e3d9a04 Add legal EC generation
Wurmple evolution is accounted for, as is past gen EC matching PID.
2016-04-21 19:44:22 -07:00
Kaphotics
214473756e Add Fateful Encounter check
Cleared up the Event check a little to allow Fateful Encounters to slip
through.
2016-04-21 19:32:22 -07:00
Kaphotics
13ec0e9e89 Wondercard Window refactor
No functional change; more OOP.
2016-04-21 19:16:55 -07:00
Kaphotics
2c233be43f Refactoring
No functional changes
2016-04-21 18:48:21 -07:00
Kaphotics
2c523dcd97 Allow wc6fulls to be added to DB
Minor load/save improvements
2016-04-21 18:47:51 -07:00
Kaphotics
60205cd700 Wurmple evolution check (EC) 2016-04-21 00:28:40 -07:00
Kaphotics
a733b99b31 Defer Gift ball check
Now returns invalid ball instead of invalid encounter
2016-04-20 20:46:18 -07:00
Easy World
aee93ba932 Merge pull request #2 from kwsch/master
merge
2016-04-21 10:54:16 +08:00