Commit graph

345 commits

Author SHA1 Message Date
Kaphotics
592390d1ca Move cbItem to ComboItem 2016-07-09 15:34:38 -07:00
Kaphotics
41f7c9fd6c Move util
Splitting next.
2016-07-09 15:05:12 -07:00
Kaphotics
67e7d3edaf Simplify control finding for translation
Figured I'd rewrite this to remove the gotos
2016-06-30 22:36:54 -07:00
Kaphotics
1a6cc17515 Remove SAV5
Trying to resolve conflicts.
2016-06-21 20:14:38 -07:00
Kaphotics
83cd043fff Merge remote-tracking branch 'refs/remotes/origin/master' into multigen
# Conflicts:
#	Misc/SAV5.cs
2016-06-21 20:10:33 -07:00
Kaphotics
6378eb7f56 Current progress
Still a few milestones left to hit before official release.
2016-06-19 21:22:43 -07:00
Michael Scire
1bf70d99a3 Preliminary Gen V Checksum Support 2016-06-14 15:31:33 -07:00
Kaphotics
763bc525b9 Fix party stat decryption
now it doesn't autosize
2016-05-27 17:57:03 -07:00
Kaphotics
9438114fb7 Fix auto resizing to party size 2016-05-25 22:43:03 -07:00
Kaphotics
8a4ebf461b Add loading encrypted pkm files
Also fix 220 byte pkm file loading
2016-05-20 18:55:06 -07:00
Kaphotics
8941dd39de Fix non-event event location
Deoxys (story) is the only other pkm that can be received with a fateful
encounter, so exclude it.
2016-05-18 19:07:25 -07:00
Kaphotics
06f615bb3b Fix G5 save box r/w
There's a 0x10 byte gap in between each box (presumably updateCounter
and Checksum)
2016-05-16 23:26:54 -07:00
Kaphotics
a6d94f237c Fix bad eggs aborting past gen dump
Thanks xtreme1!
2016-05-16 23:05:21 -07:00
Kaphotics
a317d38bf4 Fix Gen5 save file detection
Thanks xtreme1!
2016-05-16 22:09:26 -07:00
Kaphotics
1036ee3ccb Simplify past gen crypto methods
Seed bypass used by PGT supplied checksum; this is what the fixed
methods do already (so remove the parameter).
2016-05-15 15:29:36 -07:00
Kaphotics
58babfff71 Past gen fixes + improvements
Fixed crypt of past gen pkms (use chk not PID), add gen4 save, add save
version detection
2016-05-15 15:24:31 -07:00
Kaphotics
75b5cfd646 Return actual box name
Better indication of what box a pkm is in when viewing the database.
2016-05-14 11:59:07 -07:00
Kaphotics
ffa044d4db Fix String->Int conversion with spaces in middle
Replace instead of trim, then trim.
2016-05-10 22:21:23 -07:00
Kaphotics
3539bf6af0 Fix offsets
00 00 01 00 02 00 03 00 04 00 is at the front of this data
2016-05-10 17:53:35 -07:00
Kaphotics
a8ae56f6f0 Add ItemInfo block
Just exposing these properties
2016-05-10 17:51:12 -07:00
Kaphotics
2b364f0ed3 Add WC6 OT Memory checks 2016-05-08 14:29:08 -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
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
027e0e19b1 Refactoring 2016-04-18 18:21:50 -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
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
cfe982dbe1 Add JKSV detection 2016-04-08 22:14:16 -07:00
Kaphotics
844e24024b Fix drag&drop and geolocation
PK6.cs now sets the SAV country/region instead of the pk6's.
SAV6.cs now sets the updated pk6 instead of the input ek6.

Thanks Dede!
2016-04-07 08:13:24 -07:00
Kaphotics
be63fe7b7f Simple Refactor
Simple :)
2016-04-06 22:52:55 -07:00
Kaphotics
088996f4ce Merge pull request #95 from chenzw95/mono-fixes
Trim underscores in Util.ToInt32 and Util.ToUInt32
2016-04-04 09:34:35 -07:00
chenzw95
b5ce2fcfcc Trim underscores in Util.ToInt32 and Util.ToUInt32
Addresses Mono bug 12241.
2016-04-04 21:38:12 +08:00
Kaphotics
12c9636a09 Add better contest stat checks
A pokemon from XY that has never been traded cannot have contest stats
other than 0.

Milotic cannot be Beauty-LevelUp evolved in XY as an untraded mon.
2016-04-03 21:46:05 -07:00
Kaphotics
b0ccfe6a09 Init strings on load instead of every call
Makes exporting showdown text faster
2016-04-02 13:58:40 -07:00
Kaphotics
f90b33536b Minor tweaks
Don't do repeat checks in loop
2016-04-01 22:29:49 -07:00
Kaphotics
8af8602c31 Fix Link Trade eggs
Thanks Wanderer1391!

Traded eggs get their Met Location set to 30002.
When an egg hatches, if Met Location > 0, copy Met Location to Egg
Location and set Met Location equal to current overworld location.
2016-03-30 19:07:52 -07:00
Kaphotics
a277b4a734 Ingame Trade exclusion
Return early if not ingame trade
2016-03-26 16:40:12 -07:00
Kaphotics
8822069852 Increase cardname length
Null terminator is technically a part of the title, but not going to
allow overwriting.
2016-03-25 14:16:50 -07:00
Kaphotics
cc1d3de1ed Retain unown form 2016-03-19 18:17:10 -07:00
Kaphotics
01341ceeae convert 5->6 decapitalize if not nicknamed 2016-03-19 18:13:09 -07:00
Kaphotics
d436caf273 Minor tweaks 2016-03-17 18:28:51 -07:00
Kaphotics
dc4628abe1 Add XY/AO attribute for PK6
A little more explicit.
2016-03-15 19:06:13 -07:00
Kaphotics
600159362e Fix Showdown Mega-X/Y Form parsing
Thanks Odaxis!
2016-03-15 18:14:20 -07:00
Kaphotics
9cf6753a36 Lowercase Update
Addresses #82
2016-03-14 17:54:30 -07:00
Kaphotics
cc8f962acd Add Static/Friend Safari Encounter checking 2016-03-13 14:56:25 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07:00