Commit graph

3080 commits

Author SHA1 Message Date
Kurt
77c25c41d3 Add legality indication for exported QRs
only appears if the legality was checked (ie checking supported)
2017-02-05 12:55:17 -08:00
Kurt
00bb2ec84c Unprotect pelago setter
Allows it to appear in batch editor
closes #825
2017-02-05 12:54:36 -08:00
Kurt
f64d31c557 Faster G7TID generation
#823

generate a random T7SID instead of brute forcing a pair
2017-02-05 10:57:42 -08:00
Kaphotics
77a68c23b9 Merge pull request #823 from ReignOfComputer/f/g7tid-generator
G7TID Generator
2017-02-05 10:35:32 -08:00
Kaphotics
2afe7926a5 Merge pull request #822 from ReignOfComputer/b/invalid-ability-indexes
Add Check for Bad Ability Length
2017-02-05 10:08:36 -08:00
ReignOfComputer
2d0b216b33 G7TID Generator
Thought it'd be good to add a way to generate a TID/SID based on desired
G7TID. Using code from my repo at
https://github.com/ReignOfComputer/Reverse-G7TID-Calculator, thanks to
@PP-theSLAYER and @SciresM. For your consideration to add :)
2017-02-06 00:08:49 +08:00
ReignOfComputer
c7e570b92d Add Check for Bad Ability Length 2
Forgot to save, again.
2017-02-05 23:23:17 +08:00
ReignOfComputer
2de7da80b0 Add Check for Bad Ability Length
Prevents System.ArgumentOutOfRangeException: StartIndex cannot be less
than zero.
2017-02-05 23:23:02 +08:00
ReignOfComputer
930d1d12c9 Merge pull request #8 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-05 23:08:14 +08:00
Kurt
e95af533b7 Update gen7 apricorn table
Closes #819
Thanks @kamuisama !
Missed more than a few ;)
2017-02-04 23:58:18 -08:00
Kurt
7e23d13a78 Simplify egg sprite fetch
Call ChangeOpacity directly instead of layering with partial
transparency.
2017-02-04 23:42:55 -08:00
Kurt
f25adad211 Misc tweaks
allow qr for gens 1-3, change draginfo cursor type to object.
need to figure out how I can get it out of main
2017-02-04 23:11:48 -08:00
Kurt
5d3e167496 Box slot legality r3
Closes #814 thanks @JortonMV !
Closes #818 thanks @egzonqj !
(both were instrumental in regards to this commit, much appreciated)

Refactors to move the slot image generation per the save file to an
extension method, instead of having 4 methods (2 in main, getQuickFiller
& getSlotFiller, and 2 in box viewer, same names).

Uses the legality marker unscaled in the bottom left corner of the
sprite.
Fielded a few ideas in IRC (a commented-out line that tinted the sprite
red remains in the src), but the folks in IRC preferred the indicator.

When toggling the legality indicator, the box viewer has to be updated
as well as the main box slots.
2017-02-04 20:39:42 -08:00
Kurt
560e471753 Correct japanese text reference
Fetch the language name from PKX instead of grabbing the entire list. ja
!= jp :)
2017-02-04 18:28:34 -08:00
Kurt
25f6b5259b Refactoring
Add documentation for PKM/PKX, move some code around
2017-02-04 18:27:28 -08:00
Kaphotics
23c4f1e700 Merge pull request #802 from Tsunamical/class-fixes
Class consistency fixes
2017-02-04 14:59:24 -08:00
Kurt
c930b7eb7e Relocate box load/dump/verify to extensions
now with shiny new documentation
2017-02-04 14:58:30 -08:00
Kurt
9e24a3a26c Fix gen1/2 coin set & gen2 TM capping
now writes coin count correctly (uint != ushort) and TMs are capped at
99; HMs shouldn't be allowed beyond 1 but oh well.
2017-02-04 12:13:54 -08: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
Kurt
718576393c Tweak apricorn inherit legality
best to store separate tables
due to reusing inherit6 in inherit7, move so that the compiler has them
in the same file (doesn't cause exception)
2017-02-04 10:42:56 -08:00
Tsunamical
3f76837512 Change PGT to a sealed class
This one is a bit more necessary as we have a virtual call inside PGT,
and if it isn't a sealed class, we may end up at a null dereference
under a race condition (which theoretically still *shouldn't* happen,
but rather be safe than sorry). This also brings it inline with PCD.
2017-02-04 11:20:59 -05:00
Tsunamical
66e669a42b Change NetUtil to a static class
NetUtil simply can be static, which brings it inline with the other
NetUtil.
2017-02-04 11:18:48 -05:00
Kurt
53eb8f9f57 Manually defining nickname from another lang
Don't automatically flag as Nicknamed if the pasted text
2017-02-03 21:48:43 -08:00
Kaphotics
b9efca759f Merge pull request #811 from ReignOfComputer/f/gen7-stat-clarity
Add Clarity to Gen 7 Stats
2017-02-02 22:00:49 -08:00
Kaphotics
469180033d Merge pull request #812 from kwsch/f/any-cpu
Added "Any CPU" build configurations
2017-02-02 22:00:25 -08:00
Evan Dixon
f44a813053 Removed unit tests from mono builds 2017-02-02 23:47:14 -06:00
Evan Dixon
da4df453de Added "Any CPU" build configurations
Prefer 32-bit is enabled, so there will be no functional difference from before, except that any of the assemblies can be referenced by a 64-bit process.
2017-02-02 23:41:58 -06:00
ReignOfComputer
98b785fdf7 Add Clarity to Gen 7 Stats
Reference:
https://projectpokemon.org/forums/forums/topic/40020-why-are-there-two-pokemon-caught-in-trainer-stats/#comment-209810
2017-02-03 12:38:21 +08:00
ReignOfComputer
c131724f62 Merge pull request #7 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-03 12:26:42 +08:00
Michael Scire
0378070263 Fix Memecrypto private key endianness 2017-02-02 19:58:47 -08:00
Michael Scire
18c2cc4939 Fix Memecrypto 2017-02-02 19:35:01 -08:00
Kurt
e93d814ce8 Simplify giratina check
No need to check both cases when we're really just checking for a
mismatch
2017-02-02 19:30:17 -08:00
Kurt
c0e5db6bb0 Add party-only form legality checks
Closes #806
2017-02-02 19:27:48 -08:00
ReignOfComputer
614b15f1b7 Catch MissingMethodException and Direct Users to .NET Framework 4.6 Install (#797)
* Catch MissingMethodException and Direct Users to .NET Framework 4.6 Install

* Revised .NET Framework Warning Message

* Check .NET Framework Version on Launch

* Check .NET Framework Version on Launch

* No Locale for Microsoft Download Center
2017-02-02 19:14:48 -08:00
Egzon Qukovci Jusufi
45456e2226 Fix on Giratina check (#808)
* Merge pull request #1 from kwsch/master

* Fix on Giratina check
2017-02-02 19:14:18 -08:00
Kaphotics
0b7332441c Merge pull request #810 from ReignOfComputer/b/fix-showdown-import-with-null-form
Fix Showdown Import and Export Cases
2017-02-02 19:13:08 -08:00
ReignOfComputer
a9c32de521 Additional Greninja Fix by @egzonqj 2017-02-03 09:50:58 +08:00
ReignOfComputer
04dcb11b54 Must have forgotten to save 2017-02-03 09:02:14 +08:00
ReignOfComputer
42a185c682 Additionally fix Vivillon and Furfrou Import/Exports
Fixes https://github.com/kwsch/PKHeX/issues/807.
2017-02-03 08:58:22 +08:00
ReignOfComputer
0be2bd4674 Fix Showdown Import with Null Forms
Fixes
https://projectpokemon.org/forums/forums/topic/40047-error-when-importing-pokemon-from-showdown/
2017-02-03 08:33:27 +08:00
ReignOfComputer
19dbae430c Merge pull request #6 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-03 08:07:35 +08:00
Kurt
7b2fa3d600 Add wormadam evolution info
devolving is fun
2017-02-01 22:19:37 -08:00
Kurt
1170a9ad06 Add evolve-to-form check
Espurr->Meowstic1
Pikachu->Raichu1
etc
2017-02-01 21:59:39 -08:00
Kurt
d9c93aa88e Add WC6/WC7 IV check
Closes thread 40025
2017-02-01 21:27:18 -08:00
Michael Scire
898dbaf5da Begin work on Rental QR support, Memecrypto Refactoring 2017-02-01 20:13:25 -08:00
Kaphotics
0be0dd1f2d Merge pull request #804 from JortonMV/mycommits
Correct translation for 'None' in Spanish.
2017-02-01 18:38:04 -08:00
Kaphotics
edfa30dd4f Merge pull request #801 from Tsunamical/master
Tests: Use DateTime.UtcNow for test cases
2017-02-01 18:22:55 -08:00
JortonMV
5879f7ddf1 Correct translation for 'None' in Spanish.
Because 'ningún objeto' means 'no object', and it is used for moves too.
2017-02-01 18:38:26 +01: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
115a8da8f2 Add C-Gear skin incomplete alert
Closes #790
2017-01-31 20:12:51 -08:00