Commit graph

9450 commits

Author SHA1 Message Date
pokecal
fa69b0e68e Merge pull request #4 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-25 16:04:35 +09:00
Kurt
2479cad6ea Japanese checksum fix & refactoring
Simplify checksum code (-50 lines)
set the bitflag on set, and clear on clear; don't clear and re-set if
setting.
Remove ToArray in favor of getData array fetch.
2017-02-24 23:01:07 -08:00
Kurt
fb2f8f322e Update 170225
Update changelog & update shortcuts list.
Update event wc7 binaries.
2017-02-24 20:53:28 -08:00
Kurt
6ddcdee9cf Fix dragging battle team slot sprite refresh
Refresh the image if the team slot indication needs updating
(true->false, false->true), else stay lazy and just set the image.

Could just refresh the image regardless but muh negligible speed
2017-02-24 20:26:28 -08:00
Kurt
82de3e5d12 Set max entry to count textbox
Converting to string be lazy instead of computing log10 for digits :)
#884
2017-02-24 18:45:53 -08:00
Kaphotics
56a343b4df Remove Normal Box from Ball Pouch
Closes #886, had removed incorrect item ID (items are sorted alphabetically, actual ID was 167).
Closes #884
2017-02-24 12:52:44 -08:00
Mrtops
3101c84cf1 Add disclaimer for cheating 2017-02-24 14:48:40 -05:00
pokecal
cacca6ae94 Merge pull request #3 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-25 00:47:16 +09:00
Kaphotics
cb5694fc8d Merge pull request #882 from pokecal/master
Update zh species names
2017-02-24 07:46:09 -08:00
pokecal
0bfcf898d0 Merge pull request #2 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-24 15:59:36 +09:00
Kurt
777b7f8963 Fix gen4 gendered dex seen bitflag set
Gen4 dexes are wacky as we already know (see formes). Thanks v8rwarct!
2017-02-23 21:25:56 -08:00
pokecal
579bb37b4d Merge pull request #1 from kwsch/master
Update from upstream repo kwsch/PKHeX
2017-02-24 10:23:55 +09:00
Kurt
a8ba8aeeae Refactor met location fetching for box report
Array length is checked before accessing
2017-02-23 16:39:03 -08:00
pokecal
51a82a01f6 Add files via upload 2017-02-23 22:13:44 +09:00
Kurt
c8b00a183b Tweak transferred encounter check
#872
Latter valid line unnecessary; verbose spits out original encounter
info.
2017-02-22 21:30:37 -08:00
Kurt
234189b627 Add RBY ingame trades
A little bit of logic reorganization
2017-02-22 21:19:34 -08:00
Kaphotics
e7fcee3b62 Merge pull request #879 from Mrtops/patch-2
Update supported save files
2017-02-22 16:37:27 -08:00
Mrtops
ac1d621137 Update supported save files 2017-02-22 12:16:34 -05:00
Kaphotics
0a8dd47bf9 Merge pull request #877 from LegoFigure11/patch-3
Add .gci in the supported file type dropdown
2017-02-22 08:47:53 -08:00
LegoFigure11
3ab2d303f8 Update Main.cs 2017-02-22 19:15:30 +11:00
LegoFigure11
33f1dd3221 Add .gci in the supported file type dropdown 2017-02-22 17:23:20 +11:00
Kurt
19bdcf518e Add dream ball incense breeds
Unbans dream ball species that acquired via breeding while holding
incense.
Closes #876.
2017-02-21 21:38:31 -08:00
Kurt
08436babfa Add empty-pouch consideration
FF is beyond pouch size limits
2017-02-21 19:45:08 -08:00
Kurt
8198bba01b Reorder move source determination
Closes #875
Also removes XY default eggmoves (will be necessary for new legality
checks for prior generations)
2017-02-21 18:10:09 -08:00
Kurt
9edf8615ab Add exclusion for greninja demo gift
Closes #869
2017-02-20 22:03:10 -08:00
Michael Scire
d1039e20f3 WC7 description support for cards with >1 item 2017-02-20 21:46:25 -08:00
Kurt
8136d33c15 Add zygarde forme change->core ability in gen7
Closes #868
2017-02-20 21:19:25 -08:00
Kurt
36624e14e9 Fix 1->7 evo chain disjointing
Original encounter details were replaced, thus breaking the chain at the
current species.

Closes #872
2017-02-20 21:00:49 -08:00
Kurt
c7874f19b6 Fix get all evo chains
init for all possible formats
2017-02-20 20:25:15 -08:00
Kurt
b2f9bf50ec Minor refactoring
Memories are only set by generation 6 games (bank i/o is a single
memory). Only check for gen6 situations.

Generation=2 and Format=1 is not possible, as for 1/2 it's dependent on
format. Would need to detect encounters for gen2 games to determine what
game it originated from.

Tabs->Spaces
2017-02-20 19:40:50 -08:00
Kaphotics
d6574706b1 Merge pull request #863 from javierhimura/master
Past generations legallity tweaks
2017-02-20 17:26:52 -08:00
Kurt
35e9404d79 Fix bagon Focus Energy
clean garc -> unpack -> repack as mini. Only difference was this single
move.
Closes #873
2017-02-20 17:19:04 -08:00
javierhimura
3bcb6a0b57 Merge branch 'kwsch' 2017-02-17 16:19:08 +01:00
javierhimura
a1cca754d7 getMaxLevelGeneration should return met level when pokemon does not HasOriginalMetLocation and is not one of the special cases already considered 2017-02-17 16:16:39 +01:00
javierhimura
56ccddce8d getMaxLevelGeneration should return met level when met level data is lost 2017-02-17 14:56:50 +01:00
Kaphotics
139d08160b Merge pull request #862 from Mrtops/patch-1
Add JKSM and links to sources of resigning services
2017-02-16 07:21:12 -08:00
Mrtops
6c210ad847 final fix 2017-02-16 09:49:25 -05:00
javierhimura
0b0dd21d93 Fix for the last commit 2017-02-16 12:14:10 +01:00
javierhimura
c9bdcdd464 Do not return encounters if maximun level for a generation is 0, is an illegal level encounter 2017-02-16 12:13:06 +01:00
javierhimura
4ccbce5f24 Fix VC2 2017-02-16 12:06:05 +01:00
javierhimura
801b4f97d9 Do not decrease level for VC2 evolved pokemon in gen 1, they could have evolve in gen7 games 2017-02-16 12:01:18 +01:00
javierhimura
f0b4c83365 Create a function to obtain the max and min possible level a given pokemon could have in a given generation 2017-02-16 11:59:07 +01:00
javierhimura
85e25dad5c Fix for VC2 2017-02-16 10:43:27 +01:00
javierhimura
3a830ca682 Check if pokemon is inside an egg in getEvolutionChainsAllGens
Add special conditions for gen1 encounters and chains for spcies in gen2 future evolutions
Use current level to filter encounter slot for pokemon in format 1 and 2
2017-02-16 10:35:14 +01:00
javierhimura
98e11e2332 Remove unnecesary use of linq 2017-02-16 10:33:31 +01:00
javierhimura
26b9308890 Fix in getValidEncounterSlots 2017-02-16 03:03:29 +01:00
javierhimura
036449dfa0 Check future gen evolutions in InhabitedGeneration
Return true when format equals generation
2017-02-16 01:33:17 +01:00
javierhimura
dec2787aef Revert change in form parameter in getValidMoves 2017-02-16 01:23:13 +01:00
javierhimura
2b8cc8ffd5 Fixes 2017-02-16 01:04:48 +01:00
javierhimura
b123218e2c Include the special moves in the filters of level moves and move reminder to avoid duplicates when executing getValidMoves multiple times
Also filter those special moves by generation, to avoid return a gen 5 move when gen 4 is solicitied, even if that only could happen with illegal pokemons
2017-02-16 00:56:54 +01:00