Kurt
0bad6738d4
Add C/XD specific checks
...
Pokespot: a given PID will satisfy ~37% of the time, flag pokespot
encounters
I can see hatching eggs being a problem, no idea how this would work
2017-04-30 16:53:54 -07:00
Kurt
2a28019ef3
Add gen3 event pidiv detection
...
includes antishiny mechanism detection, needed 2 new enum values to tag
those.
handle overflow case
2017-04-29 23:18:36 -07:00
Kurt
e814e7291f
Add chain shiny and shinyPGF pidiv detection
...
delete incorrect legality message entry (used a few lines up for super
training flags), is unused.
fix for transferred 8<=xor<16 PIDs in which case the encryption constant
is used (as it is the unmodified PID)
2017-04-29 20:04:54 -07:00
Kurt
82375ca464
Add PIDIV matching
...
Includes 1 test for each pkm pidiv type, haven't added absolutely every
method possible but it's enough for now
2017-04-29 16:22:32 -07:00
Kurt
691493cafe
String editing refactor
...
Move all sanitization operations from PK* and SAV* to PKX; add general
method for fetching a generation specific string
Changes the Text subform editor to show trash bytes when appropriate.
Special characters to be shown can be easily inserted in the future.
2017-04-09 14:06:50 -07:00
Kurt
cadd7342c0
Change pkm date properties to public
...
Allows direct use for randomization via the Batch Editor
2017-02-04 10:43:18 -08:00
Tsunamical
2bfdb72e1b
Tests: Use DateTime.UtcNow for test cases
...
DateTime.UtcNow is considerably faster than DateTime.Now, and since this
value isn't used for actual game purposes, we can take advantage of it.
2017-02-01 10:18:09 -05:00
Kurt
595c7eb4c5
Split winforms to separate project
...
resources still are associated with winforms, eh
program still runs fine and I've replicated the mono build options. lmk
if this breaks stuff
2017-01-07 23:54:09 -08:00
Kaphotics
d72db5ae72
MarkByte => MarkValue
...
Includes marking coloring for main form as well
changes type from byte to int
2016-10-30 19:15:48 -07:00
Kaphotics
ed14ab7436
Add personalinfo references per PKM format
...
Fix possible hang in pk6/pk7 if country/region is unset (continues
loop).
PersonalInfo references are not to be used when calculating stats (use
the savefile table instead)
2016-10-23 22:01:39 -07:00
Kaphotics
edb4928117
Minor cleanup
...
Unused usings/references
2016-08-10 19:32:57 -07:00
Evan Dixon
35d4edf85d
Fixed crash in DateUtil when Year is 0
2016-08-10 19:54:12 -05:00
Evan Dixon
e53fe6e180
Added tests for PKM.EggMetDate
2016-08-10 09:46:38 -05:00
Evan Dixon
17078c8d28
Added test for PKM.MetDate
2016-08-10 09:42:58 -05:00