Commit graph

2436 commits

Author SHA1 Message Date
Kurt
0f45adda89 Handle skipped gens
Expand InhabitedGeneration to actually check if it can inhabit
generation instead of if species can exist on generation
misc behavior tweaks
2017-02-15 00:11:12 -08:00
Kurt
679efcd741 Further tweaks
Handle terminated strings better for 1->7
Indicate RBY encounter origins when transferred to 7+.
Remove check duplication
2017-02-14 22:06:15 -08:00
Kurt
dcb30e61a8 Add Festival Plaza name changing
Closes #854
2017-02-14 19:09:10 -08:00
Kurt
2e9f8e19ea Menu sprite distortion fix
Closes #858 by adding in updated Steelix sprite, uses ripped files
re-saved in paint.net
Thanks @sora10pls !
2017-02-14 18:54:46 -08:00
Kaphotics
c8fbb8e6ee Merge pull request #859 from Mrtops/patch-1
Add links and proper Name for Mono Runtime
2017-02-14 18:40:08 -08:00
Kurt
f9cc9c10ca Tweak suggestion behavior
Prefer lowest level wild encounter; expand suggestion for evolved pkm.
Add click event to Current Level (for gen1+ pkm since Met Location not
visible).
Add Nickname CheckIdentifier to change incorrect identifiers in Nickname
check.
2017-02-14 17:33:57 -08:00
Kurt
1087b31586 Fix wc7 gen7 species base friendship
personalinfo returned entry 0 for out of range on AO's table, just
define the table at the start instead of duplicate references.
flip some property setting around, no functional change. Pattern is card
val / sav val to be consistent with Nature etc.
2017-02-14 16:28:10 -08:00
Mrtops
f45df15c49 Add links and proper Name for Mono Runtime 2017-02-14 14:03:44 -05:00
Kurt
925a720b4c Fix wc7->pk7 gender determination
needed to reference SM not AO
2017-02-14 08:43:09 -08:00
Kurt
8c78afe499 Misc fixes
Fix volt tackle tutor for pikachu in gen6 (missing parenthesis)
fix rb fishing table species list
stop performing gen7 checks on pk1s
add special move check (do future games have encounters with 2+ special
moves)?
properly handle amnesiaduck/surfchu
still missing ingame trades lol
2017-02-13 22:49:32 -08:00
Kurt
a5e09bfe31 Fix legal move selection allowing future moves
Initially populated with a filtered list, was unfiltered when
repopulated for legal moves. Just split legal/illegal, have the main
form choose which one is the stored list.

Remove unnecessary linq for other forms
2017-02-13 21:20:10 -08:00
Kurt
6722afef76 Misc behavior updates
Closes #855
2017-02-13 20:42:39 -08:00
Kurt
749aa97bb3 Tweak gen1+transfer checking
Add stadium exclusives (surfchu / amnesiaduck) which are flagged on gen7
2017-02-13 18:06:01 -08:00
Kurt
1990870744 Merge branch 'master' of https://github.com/kwsch/PKHeX 2017-02-13 15:44:27 -08:00
Kurt
5294599533 Add 1->7 ingame trade OT name conversion 2017-02-13 15:44:24 -08:00
Kaphotics
5a318e2e5d Update README.md
Asterisk terminators
2017-02-13 14:35:41 -08:00
Evan Dixon
ce75c57b51 Merge pull request #852 from spof95/unix_check
Add Framework check for non-windows OS
2017-02-13 14:04:39 -06:00
Pol Eyschen
19b53e10e9 Tabs -> Spaces & Typo 2017-02-13 19:55:02 +01:00
SPoF
cf9bf85bb4 Add Framework check for non-windows OS
GetFrameworkVersion() throws an System.NullReferenceException since
there is no Registry on non-windows systems.

Fixed by checking the OS under which the program runs. If it's not
Windows, check the CLR Version instead of querying the (non-existant)
registry.
2017-02-13 13:06:54 +01:00
Kurt
41d8cc96ca Simplify move checking
extract duplicated method and simplify empty checks within
add z-moves to invalid sketch
2017-02-12 23:08:39 -08:00
Kurt
79ef477d3d Misc tweaks
Detecting how a pkm learned a move updated (split TMHM and tutor from
validMoves, rearrange checking order) => better indication
Levelup -> Level-up
2017-02-12 22:51:10 -08:00
Kurt
5ae378d09d Remove Pay Day from Mewtwo on transfer 1->7
Retains legality relevant to Bank transfer checks with Yellow's TMHM
table.
2017-02-12 22:40:47 -08:00
Kurt
e1b8a07cef split rb/y personal|lvlup binaries
slightly different values between games (fly charizard Yellow only), tm
etc.
Use yellow for pk1/sav1 but it doesn't matter (only TMs different, which
are unused).
2017-02-12 22:31:31 -08:00
Kurt
698c8e6e7c Correct offsets
counting is hard
2017-02-12 21:18:34 -08:00
Kurt
3569726835 Fix RGBY version names 2017-02-12 21:08:51 -08:00
Kurt
b89c1d7b6c Bias rby encounter selection due to lack of info
Previously, if encounterstatic was valid it'd treat it as the actual
encounter.
Now, select the lowest species possible.

Only really affects moon stone evolution families, which are available
in the wild at lower levels than their coin counterpart (so we prefer
them).
Kinda flawed as DV spread can be checked (invalid=>use static) but this
should be good enough for now.
2017-02-12 21:02:24 -08:00
Kurt
ff0a179c42 Add Genesect item/form check
Closes #850
2017-02-12 17:06:12 -08:00
Kaphotics
33ecdec2b6 Merge pull request #851 from sora10pls/master
Update menu sprites
2017-02-12 17:02:13 -08:00
Kurt
578f05cd2e Initial Gen1 legality checks (WIP)
Have only tested pk1 format so far; there's still a few cases that are
unhandled (move discrepancies between games, trade gifts, event mew,
tmhm).

pls no report bugs unless you are very detailed (include WHY it is
wrong).
2017-02-12 17:00:03 -08:00
sora10pls
b3788ded57 Update menu sprites
10 Pokemon had their menu sprites updated in OR/AS. Diancie was accounted for, the other 9 were not
2017-02-12 16:14:16 -05:00
Kurt
22e49928c5 Tweak nickname language update behavior
Closes #849
2017-02-12 09:59:49 -08:00
Kurt
cbccc6a28b Add rby encounters
Includes fishing slots
todo on trades/static encounters; feel free to pull request (look at
tables6/7 for ref).
2017-02-12 09:52:31 -08:00
Kaphotics
dc7ac639d2 Merge pull request #848 from kwsch/b/nuget-pack
Changed default platform configuration for PKHeX.Core
2017-02-11 15:21:06 -08:00
Kurt
c9421f3c5b Add gen1 learnset/evo information
Still need encounter info for all 3 games.
2017-02-11 15:20:44 -08:00
Evan Dixon
f63e14239e Changed default platform configuration
Because creating a nuget package failed because it couldn't find bin\x86\Release, when it should have looked in bin\Release
2017-02-11 16:32:33 -06:00
Kurt
d248cdd280 Simplify batch editing
changes IV3 to faster variant used elsewhere,
sort properties alphabetically,
simplify 'any' intersection,
un-duplicate database filtering
un-duplicate box/folder per-pkm processing

-25 lines, a little bit of reorganization since the form has grown since
its initial inception
2017-02-10 23:54:36 -08:00
Kurt
1233a29661 Hide multiplayer icon (or/as) for X/Y saves. 2017-02-09 22:55:04 -08:00
Kurt
3dc5e9d579 Add legality suggestion commands to batch editor
Closes #842
Adds in ability for custom properties
Suggestables are called via $suggest
Only properties supported are Met_Location, Moves, and RelearnMoves
2017-02-09 22:45:58 -08:00
Kurt
fa145ec510 Add nickname clearing for batch editor
.IsNicknamed=False
results in the species name being applied.
Closes #839
2017-02-09 20:52:24 -08:00
Kurt
2f76d83add Add VC extension to openfiledialog filter
So crowded, put all files at the top for default behavior
2017-02-09 20:19:38 -08:00
Kurt
3b0485414d Move xorpad decryption out of winforms
simplify logic a little, fix a few issues
nobody uses powersaves & xorpads anymore tho
2017-02-09 00:44:38 -08:00
Kurt
eecb9094a8 Simplify gen3 ball check for gen7
Same approach as Gen4 ball, only check for the currently-banned species.
Glad these balltism banlists get simpler every new generation.
2017-02-08 15:59:12 -08:00
Kurt
92948885ff Simplify money/coin getset
Binary Coded Decimal
Closes #836
2017-02-08 15:51:22 -08:00
Kaphotics
d20006805f Merge pull request #834 from kwsch/b/settings-save
Fixed settings not saving when form closes
2017-02-07 21:24:28 -08:00
Evan Dixon
bd4b400626 Cleanup
Whoops.
2017-02-07 23:13:33 -06:00
Evan Dixon
6504d5305a Fixed settings not saving when form closes
Should resolve #833.

This is why I prefer if statement logic to return statements littered everywhere.
2017-02-07 23:12:18 -06:00
Kurt
2f5b5790db Add xy trainer nickname
Closes #283
2017-02-07 16:25:13 -08:00
Kurt
9897599420 Reorder 6->7 logic
Geolocation data cleared when converting 6->7
this tradebank/georegion apply happens first but don't modify the pk6.
all that matters is that we do this before the clearing
2017-02-07 16:10:14 -08:00
Kurt
c205eef22e Update 170207
Update version string & posted binaries
2017-02-06 22:48:39 -08:00
Kurt
2ecf1c1c7b Improve file loaded transfer preference
use last char of file extension if available. edge case for pk[m]
considered:
pk[m] => 0x6D, -0x30 = 61d, &7 = 5, which prefers 6 instead of 7+ :)

adds a check for transferred pkm not having their CurrentHandler being
flagged as the save file (impossible for a transferred PKM to be still
handled by the OT).
2017-02-06 22:19:10 -08:00