Commit graph

1530 commits

Author SHA1 Message Date
Kaphotics
c9f0eab1c9 Fix pt encountertype appearance
>= 7, <= 12, != 9

Wrong GameVersion enum values (why hgss uses a number before idk)
Thanks JSS!
2016-08-28 12:42:29 -07:00
Michael Scire
4738a2c716 Initial support for SAV1 loading...warning: mostly broken 2016-08-28 03:18:59 -07:00
Kaphotics
49435dc379 Add gen4 Form 'flags' 2016-08-27 23:30:49 -07:00
Michael Scire
a4c70eec63 Basic G1 String conversion 2016-08-27 20:12:33 -07:00
Kaphotics
c382388843 Fix gen3 unown form change
Thanks NinFanBoyFTW!
2016-08-27 18:42:07 -07:00
Kaphotics
7a5d4898b7 Fix gen4 gastrodon HasFormes
Thanks NinFanBoyFTW!
2016-08-27 18:41:40 -07:00
Kaphotics
ec0b502e3a Add gen4 language dex set
Formes are still todo; they aren't bitflags but are packed values
2016-08-27 13:07:21 -07:00
Kaphotics
7e456ca284 Add gen5 form bool setting
SAV6 updated for visual parity, no functional change
2016-08-27 13:06:01 -07:00
Kaphotics
a2f0099822 Per-Version sorting for met lists
Closes #197

Populates raw location lists on language init, when changing selected
version it obtains a new list and sorts.
2016-08-27 13:05:01 -07:00
Kaphotics
1484c15ff3 Refresh suggested relearn indication
Closes #202

Wasn't a bug, just that the indication didn't update. Don't do a
per-move update, just refresh the legality.
2016-08-27 08:56:50 -07:00
Kaphotics
3291f4eb2b Relocate relearnmoves derived property 2016-08-27 08:43:36 -07:00
Kaphotics
e0298595f4 Fix evomethod 2
Fixes #203, thanks @Rohul1997 !
2016-08-27 08:30:56 -07:00
Michael Scire
b2342cddb9 SAV1 skeleton implementation 2016-08-27 04:33:21 -07:00
Michael Scire
e4ec1cb45f Fix PK1 Species setting 2016-08-27 02:56:15 -07:00
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
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
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
Kaphotics
4df390a9c1 Release 08-22-16
Updated with latest event files.
2016-08-22 00:29:54 -07: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