Commit graph

1321 commits

Author SHA1 Message Date
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
Kaphotics
4d1c621eb5 Add Pressure/Flute encounter modifications
Thanks Angeflo for the report, including test cases.
2016-04-20 19:47:40 -07:00
Kaphotics
82ee4ac1bf Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-04-19 20:16:43 -07:00
Kaphotics
92c686fe94 Fix Friend Safari Floette
RBY are forms 013 not 024

Thanks Angeflo!
2016-04-19 20:16:40 -07:00
Kaphotics
5afc28aca5 Merge pull request #100 from Wheth/master
Fix Legality Check for some Wonder Cards
2016-04-19 07:02:57 -07:00
Wheth
171f1fdd82 Fix relearn moves' Legality Check for Pokémon with only one matching Wonder Card. 2016-04-19 15:43:05 +02:00
Kaphotics
027e0e19b1 Refactoring 2016-04-18 18:21:50 -07:00
Kaphotics
f39730b2b3 Init default savefile
No need to have warning when importing a wc6 as PKHeX has the default
info now.

Resolves #99 indirectly.
2016-04-17 15:41:28 -07:00
Kaphotics
b2ddb4d80c No loading maison stats for Demo 2016-04-17 13:54:08 -07:00
Kaphotics
f2cd7a9097 Generate date on wc6full input
date value = 0 -> datetime.now
2016-04-17 13:52:37 -07:00
Kaphotics
d0e12d306a Add event constant diff
Constant index display changed to +=1 to match ingame scripting callouts
2016-04-16 14:31:07 -07:00
Kaphotics
8298484e23 Improve move source indication
Empty slots say Empty instead of "Level-up" or "Relearn move"
2016-04-16 12:01:09 -07:00
Kaphotics
4d0ff2a197 Add move source indication to verbose output
Indicates the Valid legality of moves (level up, relearn pool, etc).
2016-04-16 11:36:01 -07:00
Kaphotics
5feb1c887b Fix nearly identical events with different moves
Charizardite X/Y events in particular came up as invalid (Y).

The Y event had Inferno (not a normal move), but it wasn't in the
relearn pool. Due to these nearly identical events only differing in
terms of usable movepool (not relearn pool), the check has to be able to
be deferred to later if multiple cards are still valid.
2016-04-16 11:35:16 -07:00
Kaphotics
802ecc9c66 Add wc6 import prompt if no SAV loaded 2016-04-16 11:32:25 -07:00
Kaphotics
707285cf0d Improve form centering, cleanup
Center database/report forms on load; doesn't happen by default as there
is no parent assigned when it is called by Show().

Add a form->form centering method, cleaned up the code behind the 16byte
hex seed fields.
2016-04-15 16:11:46 -07:00
Kaphotics
20ab597bc5 Merge pull request #97 from chenzw95/check-hatch-species
Check for illegal hatched species

Thanks chenzw95!
2016-04-15 08:00:25 -07:00
chenzw95
f192db095b Check for illegal hatched species 2016-04-15 15:40:35 +08:00
Kaphotics
309d521201 Add loading override for Battle Vido
for those who want to check pk6's without modifications
2016-04-14 17:10:06 -07:00
Kaphotics
16f291e4ac Add Form checks 2016-04-14 03:17:03 -07:00
Kaphotics
4ff64a2ff8 Fix transporter string
Cosmetic bug due to shuffling the languages around
2016-04-14 02:36:40 -07:00