Commit graph

3271 commits

Author SHA1 Message Date
Evan Dixon
e254ec7c37 Activate illegal mode with commandline arg
Workaround for PKHaX being broken. Trimming each argument allows "hax", "-hax", and "--hax" to all work for activating illegal mode.
2017-05-16 20:55:24 -05:00
Kurt
1659405dc4 Add quick folder open menu item
Closes #1137
allows loading of tab separated value text file "savpaths.txt" which can
also be used to 'favorite' locations (ie, the program checks for
duplicate paths and only adds the first).
folder availability checked on form creation

shortcut: press ctrl-F on main window

Thanks @sora10pls !
2017-05-16 16:27:43 -07:00
Kurt
f3ca370087 Merge branch 'master' of https://github.com/kwsch/PKHeX 2017-05-16 08:56:16 -07:00
Kurt
2bfa98db09 Refactor dragdrop managing logic
Relocate class out of main form for reusability/less lines in main.cs
refactored to be a bit more oop
2017-05-16 08:56:13 -07:00
Kurt
8333e45a82 Merge pull request #1133 from Delphox/patch-1
Missing hash from gen 6 qr injection url
2017-05-15 14:23:07 -07:00
Delphox
a7d9566963 Missing hash from gen 6 qr injection url 2017-05-15 17:07:07 -03:00
Kurt
6f64c9be8e Fix update check url
version txt was in core project prior to refactor

Also restrict 3IV randomization to gen6+ (sub)legends.
Closes #1131
2017-05-15 08:27:19 -07:00
Kurt
d29acfb171 Add encounter slot checking
Frame list now can be queried for encounter slot matches
2017-05-14 23:21:34 -07:00
Kurt
6c6b3ae4b6 Refactoring
Add in frametype, rename classes for more coherent structure
2017-05-14 14:42:18 -07:00
Kurt
9380ca25d9 Update current RNG frame detection methods
Still not hooked in or handling every case, but is enough progress for
now.
2017-05-14 12:42:27 -07:00
Kurt
404651774a Further simplifications
Gender color display was copypasted everywhere, now just call the gender
color method.
2017-05-13 12:51:33 -07:00
Kurt
5ec3521d48 More c#7 shorthand
outs & pattern matching, other simplifications
2017-05-13 10:20:25 -07:00
Kurt
a3e1ec2a82 Flag any cxd origin with bad pidiv 2017-05-13 00:04:04 -07:00
Kurt
bbdb21c626 Separate forms from clone check
Only really useful for unowns that have been RNG'd to have the same
PID...
2017-05-13 00:04:04 -07:00
Kurt
3764e15867 Update README.md
reflects C# 7 requirements
2017-05-12 21:18:14 -07:00
Kurt
5461cdaa4b Fix language translation fetch by name
wrong method was called, specify file by exact name
Closes #1127
2017-05-12 20:44:12 -07:00
Kurt
a70a4d5e3f Switch to c# 7 get/set expressions
Add gen5 battle box locked flags
no functional change otherwise, just shorter
2017-05-12 20:32:43 -07:00
Kurt
a1e49f1d84 Merge pull request #1128 from pokecal/master
add EventFlags resources DP
2017-05-12 20:32:11 -07:00
pokecal
d134abcd4a add EventFlags resources DP
This resources include some flags, not all,
that be changed when defeated/captured in game,
but sufficient to repop.
2017-05-13 10:15:13 +09:00
Kurt
28957da0d4 Merge pull request #1122 from sora10pls/master
Unban Heracronite and Houndoominite
2017-05-12 17:42:16 -07:00
Evan Dixon
4139d42e02 Merge pull request #1124 from kwsch/f/dotnet-core
Add missing package for MemeCrypto in .Net Framework
2017-05-12 17:16:23 -05:00
Evan Dixon
23f2c9dcaa Add missing package for MemeCrypto in .Net Framework
Closes #1123
2017-05-12 12:16:11 -05:00
Matt
2b0e7ceb5c Unban Heracronite and Houndoominite 2017-05-12 12:59:51 -04:00
Kurt
d94a1c5efb Add beginnings of encounter slot legality
currently unused code
2017-05-12 09:41:21 -07:00
Kurt
aeb90d262c Cleanup 2017-05-12 09:33:12 -07:00
Kurt
6af17352c9 Update HGSS valid hatch location list
Closes #1119
2017-05-12 08:55:24 -07:00
Kurt
3594d1af5c Merge pull request #1118 from kwsch/f/dotnet-core
Convert PKHeX.Core to .Net Standard 1.3
2017-05-11 22:36:36 -07:00
Kurt
48eec82abe Merge pull request #1120 from kwsch/revert-1117-master
Temporarily Revert "Fix HGSS met location typo"
2017-05-11 22:35:45 -07:00
Kurt
4afa4c25bc Revert "Fix HGSS met location typo" 2017-05-11 22:35:21 -07:00
Kurt
cd74c7edb7 Merge pull request #1117 from sora10pls/master
Fix HGSS met location typo
2017-05-11 22:08:08 -07:00
Evan Dixon
3fa2c98407 Cleanup 2017-05-11 23:58:44 -05:00
Evan Dixon
97afb43abc Added packages to test project 2017-05-11 23:58:24 -05:00
Evan Dixon
916c352fba Added packages required by .Net Standard 2017-05-11 23:41:18 -05:00
Evan Dixon
96e315c035 Fixed missing resource references 2017-05-11 23:40:57 -05:00
Evan Dixon
145dc3615e Update gitignore to hide nuget packages 2017-05-11 23:40:41 -05:00
sora10pls
033d4d0f1b Fix HGSS met location typo 2017-05-12 00:38:31 -04:00
Evan Dixon
52c4fbbe97 Converted PKHeX.Core to .Net Standard
Refactored and rearranged things as needed to allow the change
2017-05-11 23:34:18 -05:00
Kurt
3e47e1e138 Merge pull request #1115 from sora10pls/master
Unban Pikashunium Z
2017-05-11 10:55:21 -07:00
sora10pls
5e29a08df7 Unban Pikashunium Z 2017-05-11 13:20:33 -04:00
Kurt
4aeb3ce818 Add cxd starter TID/SID correlation check 2017-05-11 00:32:31 -07:00
Kurt
a01e164e2e Misc fixes
Add a few more locations for cxd, restrict balls for gift pkm, fix cxd
fateful gifts (loc 254 not first entry in combobox), add special gift
pkm moves (bite for umbreon/eevee), add xd mt battle starters

probably needs more work for fateful determination (obedience flag vs
254 met loc).
2017-05-11 00:15:17 -07:00
Kurt
83962419db Simplify trash editing load
Gen5 allows editing of the final terminator; just use the raw length as
the amount of trash byte entries to show.
2017-05-10 22:52:14 -07:00
Kurt
d874092e58 Add missing parenthesis 2017-05-10 21:37:54 -07:00
Kurt
1b7e0e630c Add template loading when sav loaded
Closes #1114
Loads a template file (if it exists) instead of applying default
template info when a new save is loaded. No formats are hardcoded, as
ck3!=xk3!=pk3!=bk4
2017-05-10 19:24:58 -07:00
Kurt
71b9141962 Split Dream World special move entries
The structure of the downloaded dw pkm only allocates one move; thus,
only 1 special move can be obtained (not 2+). Ends up creating extra
entries.

Eg: Wobbuffet can't have Charm and Encore at the same time in gen6 if
originated from Entree/Black.
2017-05-10 19:01:01 -07:00
Kurt
6d9cbaaec0 Add IOException type write protection check
per recent forum thread
2017-05-10 19:01:01 -07:00
Kurt
5a96169cc2 4->5/6 transfer encountertype preference fix
Add a preference check when appropriate so that invalid encounter types
are not preferred over the wild encounters that may follow.

Closes #1095
2017-05-10 19:01:00 -07:00
Matt
753d18b751 change more Forme displays (#1113)
Xerneas-Normal => Xerneas-Neutral
Zygarde-Normal => Zygarde-50%
Mimikyu-Normal => Mimikyu-Disguised
2017-05-10 12:30:52 -07:00
Kurt
8ff762ce91 Update readme
Updates Hoopa-Normal to Hoopa-Confined
Updates preview image to better reflect current gen7 appearance

Closes #1110, unused as the proposed readme image was boring and hoopa
change copied
2017-05-09 21:36:30 -07:00
Kurt
a4565d71f6 Handle gen4 egg nickname edge case
Egg is not saved as "EGG", it is "Egg". Nice job gf.
Instead of ignoring the nickname flag, detect if it should be used or
not.
Gen4 never uses it. Gen7 doesn't use it when it's a gift, but uses it
for daycare eggs (...).
Closes #1100
2017-05-09 21:11:13 -07:00