Commit graph

8929 commits

Author SHA1 Message Date
Michael Scire
b5ec320b03 Cleanup, add Personal table for RBY 2016-08-27 02:48:04 -07:00
Michael Scire
3ded8b61c6 Initial PK1 implementation. 2016-08-27 01:52:34 -07:00
Kaphotics
fb45f95578 Fix o-power saving (x/y) 2016-08-26 16:34:28 -07:00
Evan Dixon
10ddab6a42 Fixed duplicate function parameter 2016-08-25 23:01:42 -05:00
Evan Dixon
02ce104425 Added overload to Util.Error to use ErrorWindow 2016-08-25 22:59:29 -05:00
Evan Dixon
644c0acee3 Merge branch 'master' 2016-08-25 22:44:07 -05:00
Kaphotics
4ea349df11 Add popup box viewer
Allows for dragging between boxes
Pop up via shift-click Box tab

Click the swap arrows to flip Main/Viewer current box

Fixes swallowed exception: DragDrop a slot (filename), start another
within 500ms before deletion thread deletes original dragdrop file;
since filenames are the same the file for the active dragdrop will no
longer exist resulting in an exception. Solved by tracking the current
path of a dragdrop operation.

Had to refactor the draginfo into its own class to 'cleanly' communicate
between forms.
2016-08-25 18:50:51 -07:00
Kaphotics
c34c4901ea Fix duplicate property name
MysteryGift has "Type" property, PGT has "Type" property; fix to make
them named differently.
2016-08-25 14:44:02 -07:00
Kaphotics
4a8ed41d26 Merge pull request #198 from kwsch/b/event-flags-signed-unsigned
Changed min and max of NumericUpDown from short to ushort
2016-08-24 18:07:44 -07:00
Evan Dixon
c83701805b Changed min and max of NumericUpDown from short to ushort 2016-08-24 19:46:24 -05:00
Evan Dixon
234987e018 Merge remote-tracking branch 'refs/remotes/origin/master' 2016-08-24 19:32:18 -05:00
Kaphotics
9fead34917 Expose SecondsToFame for Gen6
Closes #192
2016-08-23 18:11:35 -07:00
Kaphotics
8d741ec63a Fix drag-clone not displaying sprite
Control-DragDrop clones slot, switch boxes back and forth, pokemon
magically appears; fixed.
2016-08-23 18:09:55 -07:00
Kaphotics
27d55b47fb Implement PID-Ability corrections
Line 2211:
When the fields are loaded, if the user modifies the Ability on a <=Gen5
save file, if the ability is modified, the PID will be randomized to fit
the new PID.

When the Ability combobox is loaded, the personal entry may have 0 for
the ability2 (indicating same as ability1); if so, copy ability1 instead
of filtering it out.

When the Ability index is loaded, hidden ability is checked first, else
it tries to match: invalid, hidden (unflagged=illegal), if abilities
same use PIDAbility, else use the actual ability index.
2016-08-22 20:37:50 -07:00
Evan Dixon
a9712eecc6 Added TheSonAlsoRises's updated French translation 2016-08-22 09:20:19 -05:00
Evan Dixon
6a0ba1e3b7 Added loaded assemblies to error window 2016-08-22 09:14:37 -05:00
Evan Dixon
55cb6ee2c0 Added vacero's Spanish ErrorWindow translation 2016-08-22 09:04:20 -05:00
Kaphotics
4df390a9c1 Release 08-22-16
Updated with latest event files.
2016-08-22 00:29:54 -07:00
Evan Dixon
e6cbd35f05 Added Todo comments 2016-08-21 20:23:32 -05:00
Evan Dixon
b0604b2fb3 Removed test exception 2016-08-21 20:21:44 -05:00
Evan Dixon
563d813307 Added my attempt at a French translation for the Error Window 2016-08-21 20:20:21 -05:00
Evan Dixon
f734f382f4 Added English for Error Window to other languages 2016-08-21 20:20:09 -05:00
Evan Dixon
56a32ec68c Changing language changes thread culture...
...which is used by the ErrorWindow for translation
2016-08-21 20:12:09 -05:00
Evan Dixon
09222e2cf4 Added form to provide a slightly more user-friendly error experience 2016-08-21 20:05:41 -05:00
Kaphotics
24b00d0371 Merge pull request #189 from vacero/master
Fix reorder moves and clear PP values for empty moves.
2016-08-21 10:25:06 -07:00
viacgo
e5737db404 Fix reorder moves and clear PP values for empty moves. 2016-08-21 18:09:22 +02:00
Kaphotics
a45b19364d Tweak dragdrop to computer
When the dragdrop succeeds to a location outside the program, the effect
is Move.
When the dragdrop succeeds to another slot, the effect is Link.
When the dragdrop succeeds to Tabs, the effect is Copy.
When the dragdrop fails, the effect is None.
2016-08-21 09:07:44 -07:00
Kaphotics
c44d808142 Merge pull request #188 from vacero/master
Fix for fix PPs in PK4 to PK5 conversion.
2016-08-21 09:00:03 -07:00
viacgo
1d75da730a Fix for fix PPs in PK4 to PK5 conversion. 2016-08-21 14:52:10 +02:00
Kaphotics
81451a57e5 Colorize dragdrop source slot on drag
Semi-transparent grey; instead of the sprite disappearing, the slot will
indicate "hey something's happening to my contents"
2016-08-21 00:23:07 -07:00
Kaphotics
137f341e37 Improve dragdrop to use sprites
Set cursor to slot sprite and 'pick up' the image, restore if not moved.
Drag&Drop GiveFeedback overrident to false to prevent the 'dragdrop'
cursor override.
Set the tabmain effect to Copy instead of Move so that everything
behaves!
2016-08-21 00:17:45 -07:00
Kaphotics
13e91cc9a1 Fix super training translation names
Update with correct control name
2016-08-20 15:45:38 -07:00
Kaphotics
6899e45f6a Merge pull request #187 from ajtudela/master
Better translations of spanish language
Closes #170
2016-08-20 15:31:21 -07:00
ajtudela
42453acd78 Update lang_es.txt 2016-08-20 20:22:30 +02:00
ajtudela
86c535d29d Better translations of spanish language 2016-08-20 12:04:47 +02:00
ajtudela
2728715855 Merge pull request #2 from kwsch/master
Up to date
2016-08-20 11:20:35 +02:00
Kaphotics
2b9b16ad39 Minor qol improvements
SAV6/SaveFile: Not use Skip.Take.ToArray() for data accessing,
drastically speeds up pcbin importing and misc data reads
Checks: Indicate GeoLocation MEMORY as illegal, was confused with the
PKM's origin geolocation data.
Main: Reorder buttons so the less used buttons are at the end. Fix
button view bugs:
Visible check doesn't function on load as the entire form is not yet
visible
BerryField button appears for ORAS but has no function (all
randomization is in PokeBlock), so only show for XY.
2016-08-19 23:36:13 -07:00
Kaphotics
0dcd5b22e8 Fix updateLegality on sav load
Legality indication disappeared when save was loading, just defer all
checks to the updateLegality method
2016-08-18 18:10:22 -07:00
Kaphotics
53a6aacd7d Fix ball clearing
Oops, 0x80/0x81 only, not 0x80/0x81/..0x82/0x83; was overwriting other
pkm properties.
0xBBA was treated as 16bit

Fixes #184 , thanks @Ninjistix !
2016-08-17 20:28:42 -07:00
Kaphotics
1650498fcc Fix gen5 hidden ability setting
actually set the hidden ability bit
2016-08-16 17:54:46 -07:00
Kaphotics
ae526e7880 Fix pk5 hidden ability r/w
Thanks JSS!

(read from 0x42 not 0x41)
2016-08-16 17:47:03 -07:00
Kaphotics
260b8d64b4 Alter gen6 version detect
Fixes blank save file detection
2016-08-15 20:57:42 -07:00
Kaphotics
455f3f3275 Fix mystery gift album manipulation
Fixes swapping something to 0th slot
Fixes deleting a cloned wondercard gift
Fixes swapping of wondercards
Delete now shuffles slots down
2016-08-15 20:48:02 -07:00
Kaphotics
98389d05df Fix mystery gift album manipulation
Add gift cloning
\u3000 (jp space) replaced with international space
Add type name retrieval for easy property
2016-08-15 20:47:34 -07:00
ajtudela
8758e9610e Merge pull request #1 from kwsch/master
Up to date
2016-08-15 20:46:45 +02:00
Kaphotics
2116d528e4 Improve batch randomization
allow .EncryptionConstant=PID
improve .PID=$rand to use random PID method instead of pure rand
switch comparisons to match command appearance in richtextbox
2016-08-14 23:23:38 -07:00
Kaphotics
d818eaec5f Fix transfer PP
Fixes #180
2016-08-14 09:55:58 -07:00
Evan Dixon
acfc42add9 Merge pull request #182 from kwsch/b/batte-video
Changed "Batte Video" to "Battle Video
2016-08-14 08:42:38 -05:00
Evan Dixon
68f1dfa68c Changed "Batte Video" to "Battle Video 2016-08-14 08:30:18 -05:00
Kaphotics
9c9ae18521 Decrease form opening time
Don't use linq for loading wc6db (took 400ms on my computer, keeps
increasing as database grows)
Don't validate comboboxes when setting datasources
2016-08-12 18:29:31 -07:00