Commit graph

9450 commits

Author SHA1 Message Date
Easy World
03a7db751a Merge pull request #11 from kwsch/master
Update
2016-09-20 21:19:13 +08:00
Kaphotics
da29f9a296 Fix gen6 pokedex seen labels
Thanks @easyworld !

Closes #281

Kept 'em as "GB_Encountered" in order to not need to update the
translation files :|
2016-09-19 23:03:04 -07:00
Kaphotics
5bff35db66 parsing_robustness++
Refactored to split parsing into subroutines. Simplifies the overall
parsing process.
Can handle even more silly cases concocted by beggars, like using (
instead of [ for hidden power or nickname.
2016-09-19 22:59:15 -07:00
Kaphotics
6f0da56d1f More user-error exception prevention
I shouldn't be surprised that beggars are lazy and will screw up every
aspect of a ShowdownSet.
2016-09-19 19:20:55 -07:00
easyworld
6b91d5f26c update trans && same order with ../../en/lang_en.txt 2016-09-19 23:04:17 +08:00
easyworld
14b8640171 update Chinese translation 2016-09-19 20:45:58 +08:00
Easy World
142411f175 Merge pull request #10 from kwsch/master
Update
2016-09-19 20:39:50 +08:00
Kaphotics
6837b1f746 Allow error window resizing 2016-09-18 22:50:32 -07:00
Kaphotics
7ebd469cc7 Add preliminary Box R/S support
Some hacks were needed to get PC / box bin loading to work.

Wallpapers 17-20 are unavailable (not on bulbapedia)

http://bulbapedia.bulbagarden.net/wiki/Talk:Pok%C3%A9mon_Storage_System#Pok.C3.A9mon_Box_Ruby_.26_Sapphire_wallpapers_are_missing.21
2016-09-18 22:47:31 -07:00
Kaphotics
96188a3e8d Tweak itemname set to avoid exception
Set the value to (None) & 0 while we're at it, instead of leaving the
row uninitialized.

Thanks Delta Blast Burn!
2016-09-18 19:43:49 -07:00
Kaphotics
6239ee7c58 Fix colo/xd Fateful Encounter on transfer
Thanks @ByReverso !

Closes #278
2016-09-18 13:29:19 -07:00
Kaphotics
9faab577e4 Filter Species choices to only those available
Thanks \!
2016-09-17 22:31:47 -07:00
Kaphotics
d6f2080337 Misc showdownset improvements
Fix regurgitated message IV/EV shuffling, max move PP for imported sets,
fix array range access exceptions (invalid moves threw exceptions)

uncollapse the first line creation
2016-09-17 22:10:27 -07:00
Kaphotics
a9a22aa02b Merge pull request #276 from ajtudela/master
Minor spanish translations fix
2016-09-17 17:32:02 -07:00
ajtudela
5e1934bdcf Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-18 02:24:23 +02:00
ajtudela
4b267e6f1a Minor spanish translations fix 2016-09-18 02:24:03 +02:00
Kaphotics
0508ad58ed Merge pull request #212 from kwsch/f/clickonce-compile
Added project configuration for ClickOnce deployments
2016-09-17 12:43:32 -07:00
Kaphotics
e359cb911b Merge pull request #191 from kwsch/f/better-error-handling
Improved Error Handling & Minor Translation Refactor
2016-09-17 12:43:18 -07:00
Kaphotics
8fb10ccbdd Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-17 12:21:26 -07:00
Kaphotics
d472a51ce3 9/18/16 - New Update
Changelog, shortcut list, version, and wc6db updated.
Slide in a legality check for super training.
2016-09-17 12:21:23 -07:00
Kaphotics
0b4cc06da2 Update README.md 2016-09-17 08:50:34 -07:00
Kaphotics
af22a1577c Add Batch Editor datetime cases
Thanks AvantGourd !
2016-09-15 20:54:41 -07:00
Kaphotics
37ec68039d Show Gen2 item sprites
Add gen2->4 item translation table,
Recreate the gen3->4 item translation table,
Fix string accessors for items for past gen games, would throw
exceptions for invalid (65535) gen3 items. Use an unused invalid-item
index instead.
2016-09-15 20:25:46 -07:00
Kaphotics
096999ac94 Filter formats for import
1-2 can't be imported 3-6
2016-09-15 19:04:43 -07:00
Kaphotics
6cb27f9410 Fix boxviewer etc methods
Should be the remainder of setPKXBoxes() desync opportunities.
2016-09-15 18:37:40 -07:00
Kaphotics
f962ad6578 Fix boxviewer set/delete update
will update any box viewer with the same box opened.
2016-09-15 18:08:15 -07:00
Kaphotics
00cc249861 Sanity check pk1/pk2 similar to pk3/4/5/6
Refactors code so that the 'validity' check is done by the object not by
the form evaluating properties. Can be expanded upon to mark pk3's
invalid if species is >386 etc; however, it wasn't necessary to do
before for pk6's out-of-bounds.

Thanks theSLAYER!
2016-09-14 22:04:22 -07:00
Kaphotics
e6bf2909a7 Box Slot Count to variable
Closes #270
2016-09-14 09:00:58 -07:00
Kaphotics
9533acd52a Fix boxviewer / main desync
Communicate between forms to notify when a refresh of the sprites is
needed.

Open up boxviewer to box 1, and have Main on box 1. Move pokemon between
in Main, and the boxviewer now is notified and updates. Only updates if
it is viewing the box that was updated, and wasn't a source/dest that
already initiated its own update.

Even works for dragging pkm files in from another PKHeX.exe or file. No
cross-exe communication.

Realistically, this code should never be triggered, but users may have
multiple copies of the same box viewed (why???).
2016-09-13 21:17:07 -07:00
Kaphotics
aadae91b6a Change pk1/pk2 filename for export
Closes #269

Thanks @JHorbach !

Didn't feel like modifying CalculateChecksum as it may be misleading;
it's only used for creating a FileName, so only use it in FileName.
2016-09-13 20:24:50 -07:00
Kaphotics
e2a6eabd3b Fix gen3 ability 77->76
As per bulbapedia
http://bulbapedia.bulbagarden.net/wiki/Ability

Air Lock was 77 in gen3, but moved to 76 (76 was unused in gen3). Since
only Ability Number 0/1 is stored in a pk3, we can just manually modify
the Personal Entry.

Thanks Delta Blast Burn!
2016-09-12 18:29:31 -07:00
Kaphotics
5f39118b8a General/Storage block detect separation
sav1storage = uninit
sav0storage = init

sav1general = uninit
sav0general = init

both states are possible (and inverse possible). So we check all 4
states. Split the method.
2016-09-12 18:10:42 -07:00
Kaphotics
5368e449d8 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-12 18:01:29 -07:00
Kaphotics
11709253cf Fix uninitialized g4 save loading
Gen4 sets to sav1 (not sav0) when the game is first started, leaving
sav0 uninitialized (0xFF'd).

SaveUtil.cs:
When checking the save, check both sav0 and sav1 for the footer bytes.

SAV4:
When checking for the active blocks, check for this uninitialization
(and return appropriately).
Also fixed the map position offsets (didn't point to sav0/sav1, were
static to sav0).
Minor comment fix (end+=4 to range to match the Take length).
2016-09-12 18:01:26 -07:00
Kaphotics
a16eeb1f3f Merge pull request #266 from julroy67/master
Fix file path case (Linux is case sensitive)
2016-09-12 09:13:40 -07:00
Julien Humbert
22d9bbbd63 Fix file path case (Linux is case sensitive) 2016-09-12 11:07:40 +02:00
Evan Dixon
c25432b862 Merge branch 'master' 2016-09-11 21:51:55 -05:00
Evan Dixon
b590a3497b Merge branch 'master' 2016-09-11 21:49:20 -05:00
Kaphotics
74dd6012d1 Hide Tab_Other smarter
Hide it if daycare isn't documented.
Also, fix drag&drop cursor feedback for non-box slots. Previously,
initiating a d&d on a party slot would reset the drag cursor to the
default (arrow + square) instead of keeping the sprite-cursor.
GiveFeedback -> UseDefaultCursors = false :)
2016-09-11 18:57:12 -07:00
Michael Scire
a2fb6bdfa8 Merge branch 'master' of https://github.com/kwsch/PKHeX 2016-09-11 16:22:23 -07:00
Michael Scire
efc66fd0b3 Fix Mr. Mime/Farfetch'd Gen I/II name bugs 2016-09-11 16:22:05 -07:00
Kaphotics
822b8f2148 Add userprefs to gitignore 2016-09-11 15:19:38 -07:00
Kaphotics
315a2c1a5f Delete userprefs again 2016-09-11 15:18:43 -07:00
Kaphotics
7c4615a51e Delete userprefs 2016-09-11 15:18:06 -07:00
Kaphotics
d3188b51b8 Merge pull request #260 from ajtudela/master
Full translation for spanish language except C-Gear Skin. I don't know why it didn't have translated..
2016-09-11 15:16:42 -07:00
Kaphotics
f753816cb7 Fix gen2 met location
Wasn't being loaded, the last loaded save file locations persisted. Load
gen2 locations when loading a gen2 save file.
Closes #262
2016-09-11 15:14:42 -07:00
Kaphotics
984292c810 Cap gen3 item count @ 99
Closes #264
2016-09-11 14:58:19 -07:00
Kaphotics
418fbb7e22 Fix GenIII save cloning bug
Just write the save back when cloning; previously, the reserved section
wasn't set back.
2016-09-11 14:58:03 -07:00
Michael Scire
0b52c9a208 Fix Gen I/II Save cloning bug 2016-09-11 14:54:20 -07:00
Kaphotics
3d95df6fc6 Translation fixes
Add gen3/2/1 text files to Resources (existing code would fall back to
english).

L_Form is autosized now; the combobox may stick out on the right for
other languages -- the combobox shouldn't be made smaller just because
the form label is too big.

Closes #259

Sneaks in typo fix in ShowdownSet
2016-09-11 13:02:56 -07:00