Commit graph

2294 commits

Author SHA1 Message Date
Michael Scire
fda84ae992 Better WC7 Card Flags + Descriptions 2017-01-05 14:45:53 -08:00
Michael Scire
89622862b2 Add Gen 1 Pikachu Friendship Support (Closes #538) 2017-01-05 01:14:19 -08:00
Michael Scire
860742bd33 Add alolan vulpix wondercard to DB 2017-01-05 01:05:10 -08:00
Kurt
e7bf0b9a2c Minor refactoring
Switch EncounterGeneric to IEncounterable. A way to tie together all
encounters.
Added a few setters for mystery gifts if the code is ever reused in
other projects for that purpose.

No functional change.
2017-01-04 22:25:45 -08:00
Kurt
ed47e389d4 Improve supported extension openfiledialog
Existing code supported 3-x, wasn't updated for gen1/2.
Allows gens1/2 to override to their own gen format filter, and allows
gen7 to allow finding of pk1 files (not yet converted).

Noticed the backup would overwrite an existing backup; thus we only back
up if the target file exists AND the backup doesn't already exist.
2017-01-04 22:22:50 -08:00
Kaphotics
769f58ea97 Merge pull request #697 from kwsch/f/mono-fix
Contitionally add mono fix from #440
2017-01-04 18:11:00 -08:00
Evan Dixon
16156a56ac Contitionally adds mono fix from #440
Only affects Mono-Debug and Mono-Release build configurations
2017-01-04 12:00:32 -06:00
Kurt
986eca8f30 Add temporary _0x2A property
Search via !_0x2A=0
2017-01-03 21:21:12 -08:00
Kurt
63d0f0ea1e Minor program text changes
Add version string to top of window alongside SAV name
Update closing prompt for a thinner messagebox
2017-01-03 21:05:26 -08:00
ReignOfComputer
3af23e1e7e Island Scan Klink Incorrect Location (#696)
Seems like Klink has the wrong location value. This should be the correct one.
2017-01-03 20:53:11 -08:00
Kurt
ede8846162 Refactoring
Move fossils check to static encounter
apply small amount of inheritance to all encounter types (including
mystery gifts)
get actual evolution chain to ignore pre-evolution movepools (example
Surf Pikachu event gift cannot devolve to Pichu to get Nasty Plot). #694

A little bit of logic has been moved around, but my 5k pkmdb had no
change in legal/illegal counts. Hopefully no false positives from this
change 👍
2017-01-03 20:51:33 -08:00
Kurt
bf2e3a9abb Fix cosplay pikachu static fetch
with the addition of forme checking, these 'can switch forme' cosplay
pikachu are currently not recognized. just add a skip toggle instead of
duplicating the encounters (variant location and formes)
2017-01-02 22:20:16 -08:00
Kurt
2b0aa6e73d Show secret training for gen6->7 transfers
only training bag is removed on transfer
2017-01-02 22:18:23 -08:00
Kurt
775d68e88f Minor speed improvement
string culture slowdown with none specified, specify ordinal to shave
off 10% of overall legality check ms
2017-01-02 22:17:47 -08:00
Kurt
5d7147de67 rsbox/batrev sav tool hiding
fix loading a batrev sav twice (items can't clear if a datasource is
bound)
2017-01-02 22:16:15 -08:00
Kurt
ab7f9d7df1 Refactoring
move origin validity check to pkm class
2017-01-02 22:15:17 -08:00
Kurt
2173299ad0 Update island scan species prevo table
duosion and luxio weren't devolved to their base species
add budew and azurill too.

reorganize table so that species are listed in their 'modified' groups
(base, base/baby, -1, -2)
2017-01-02 14:34:08 -08:00
Kurt
01f153007b Add static encounter trade evo skip
#604
conkeldurr only trade evo pokemon as a static encounter
2017-01-02 14:23:24 -08:00
Kurt
41593fa0f6 Add bak file extension for openfiledialog
#693
2017-01-02 14:22:44 -08:00
Kaphotics
584a178b27 Merge pull request #693 from kwsch/f/open-file-remember-directory
Simplified OpenFileDialog logic
2017-01-02 10:24:21 -08:00
Evan Dixon
0a73b5298b Simplified OpenFileDialog logic
Also added appropriate filters
2017-01-02 10:51:23 -06:00
ReignOfComputer
fc2cd6e8bf HA Legality Check for Gen 7 Island Scan + Disable Unused Controls in Memories (#689)
* HA Legality Check for Gen 7 Island Scan Pokemon

Sun/Moon Island Scan Pokemon cannot have Hidden Abilities.

* Disable unused controls in Memories for Gen 7

AFAIK those aren't used for Gen 7.
2017-01-01 15:32:31 -08:00
chenzw95
1b45312141 Convert mystery gift database icon to RGBA (#690) 2017-01-01 15:30:53 -08:00
Kurt
27de7ea8bc Add formchange species for s/m
Closes #692
2017-01-01 15:30:22 -08:00
Kurt
15f2f07b4a Add friend safari IV check
2 IVs have to be flawless
2016-12-31 17:20:17 -08:00
Kurt
7df5072af7 Fix gen4/5 map info loading
oops
2016-12-31 17:20:17 -08:00
Korados
7d19df3139 German translation (#687)
* Update lang_de.txt
* Update text_EncounterType_de.txt
* Update lang_de.txt
* Update text_Forms_de.txt
2016-12-31 15:46:56 -08:00
Kurt
1c1b90cd38 Update gen4/5 map saving
Trainer Editor now only writes back coordinates if they were changed by
the user.
DP coordinate offsets for overworld data fixed.
PokeSAV didn't have Platinum overworld offsets programmed, so I had to
figure those out myself.
2016-12-31 15:45:08 -08:00
Kaphotics
7a4dcf0a3a Merge pull request #685 from chenzw95/png-fix
Fix black legality warning icon in non-Windows builds
2016-12-31 15:22:41 -08:00
chenzw95
35a9554bd2 convert warn.png from indexed colour to RGBA 2016-12-31 21:25:05 +08:00
Kurt
c8c73e635c Update pre-bank egg move table 2016-12-31 00:30:04 -08:00
Kurt
be8bd15dd1 Remove unused variable 2016-12-30 23:21:50 -08:00
Kurt
4bfaf27e5f Change decrypted check for gen4/5
pkm files with bad checksums (bad data || modifier by the program <---)
trigger decryption; just check unused bytes like for gen6/7.
2016-12-30 23:09:35 -08:00
Kurt
7eee266f17 Add EVs remaining tooltip
hover over EV total to indicate remaining EVs
2016-12-30 17:23:59 -08:00
Kurt
a02d798e12 Update verbose legality text output
Now indicates the encounter type, misc text tweaks
2016-12-30 17:13:22 -08:00
Kurt
edaec9cf6d Check static encounter forms
allow different formes if allowed to change
Closes #684
2016-12-30 17:09:59 -08:00
Kurt
a52205b137 Update 16.12.31 2016-12-30 13:47:38 -08:00
Kurt
ec6d5fe895 add relearn suggestion for static/etc 2016-12-30 12:54:52 -08:00
Kurt
5c913ce1d5 Add Record editing
Closes #603
2016-12-30 00:30:54 -08:00
Kurt
696398fd5d Add skin color editing
Thanks Holla!
2016-12-29 22:15:25 -08:00
Kaphotics
dcb3745cc1 Merge pull request #679 from kwsch/r/better-database-init
More database speed improvements
2016-12-29 19:32:46 -08:00
Evan Dixon
70b6e98b2f More database speed improvements
Extending 8b274ddbc3

Changes and their reasoning:
- Used a concurrent bag inside Parallel.ForEach to avoid the overhead of lock.
- Removed `RawDB.Where(pk => pk != null)` because the Parallel.ForEach lambda handles this check
- Because LINQ extension methods' execution is deferred, it's best to wait to create a list until it's needed, so the extension methods were changed together without creating intermediate lists.
2016-12-29 20:11:51 -06:00
Kurt
fe26b5d8a1 Add starter event constant
[1D28] Thanks Holla!
+misc nonfunctional changes to control names
2016-12-29 16:24:01 -08:00
Kurt
ce40ae73d2 Add Pelago slot info
Randomized levels => store as encounter area
Range 10-55, this is unverified but based on limited data gathered.
It's possible that some species have narrower ranges.

Closes #590
2016-12-29 15:57:32 -08:00
Kurt
ba51e85561 Visual tweak
row height +1 to match autosized height (row border line takes one
pixel)
2016-12-29 15:55:42 -08:00
Kurt
8b274ddbc3 Database speed improvements
Use parallel threading for loading pkm files, speeds up form open time.
allow empty string filtering like in the Batch Editor
2016-12-29 15:24:02 -08:00
Kurt
d81cf50f99 Simplify hex seed editing
Undo is nifty, no need to have 3 separate methods when the underlying
function is the same.
2016-12-28 14:35:14 -08:00
Kurt
c99ed5ead2 Data Report Form speed / functionality improvements
Bottleneck was autosizing rows/columns:
- remove column autosizing after initial population.
- remove row autosizing completely, resize manually on pop & sort.

Added column hide/restore to customize the data displayed.
Closes #675
2016-12-28 11:31:32 -08:00
Kurt
a4fbb7e0dd Fix header interaction on savefile clone
Probably should refactor this so all saves are handled the same way
(header & footer checks)

Closes #496
2016-12-27 15:05:06 -08:00
Kurt
2261a46670 Block loadBoxes from locked slots
missed one!
2016-12-27 08:21:39 -08:00