Commit graph

2481 commits

Author SHA1 Message Date
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
Kurt
424ad65d4f Fix dex species dropdown
now constrained to the real maximum species ID
2016-12-27 08:17:25 -08:00
Kurt
e51daa3a4b Add missing validity setters
Game checks for these region codes, if missing they won't appear in
party/box. just set to an arbitrary value
2016-12-26 21:26:45 -08:00
Kurt
53f8abc26c Check destination validity
locked slot would throw exception
2016-12-26 18:22:45 -08:00
Kurt
4041f56519 Update fashion payloads
Huge thanks to Holla! for figuring out what was causing the issue with
the existing code/payload.

https://projectpokemon.org/forums/forums/topic/39433-sun-moon-stat-records/#comment-206504

Closes #493
2016-12-26 17:37:41 -08:00
Kurt
750044ea31 Improve slot lock detection
Uses sm lock indication (same placement), now only appears for teams
that are locked
slots that are not locked but assigned to a team are now indicated as
such, no prevention / moving to adjust team values is done.
#661
2016-12-26 16:41:12 -08:00
Kurt
93cc7472da Tweak setNEW behavior
added checkbox in inventory editor to setNEW
inventory class setNEW is unused by form but available for anyone
reusing code
closes #670 as it fixes the root behavior issue
2016-12-26 13:57:54 -08:00
Kurt
b41aacc5a1 Remove parenthesis pk2 forme filename 2016-12-26 10:01:18 -08:00
Kaphotics
437208cc55 Merge pull request #671 from ReignOfComputer/master
Remove extra bracket in filename when exporting form
2016-12-26 09:59:59 -08:00
ReignOfComputer
a5d0ab0fa6 Remove extra bracket in filename when exporting form 2016-12-26 17:49:53 +08:00
Kurt
a7a97fe084 Add greninja form handling
#666
2016-12-24 15:50:26 -08:00
Kurt
67838e4643 Fix item transferral
Instead of just copying the value, get the corresponding transferred
value (and sanity check; the getG4Item returns 0x80 if held item does
not correspond to a sprite).
Closes #665
2016-12-23 17:28:39 -08:00
Kurt
a6e84f5aa9 Adjust forme export edge cases
Showdown handles these formes their own way. Match their format when
exporting formes.
Closes #666
2016-12-23 15:37:56 -08:00
Kurt
2da2af5ac7 Add clone deletion
Clone search/deletion func moved out of search method so it can be used
by both search&delete.
2016-12-23 14:12:58 -08:00