Commit graph

5354 commits

Author SHA1 Message Date
Kaphotics
2c5de67510 Tweak gen3 ribbon editing
Contest Ribbons now have dynamic pictures.
2016-07-16 21:42:03 -07:00
Kaphotics
df51269c7e Add gen3 met locations
English only for now.
2016-07-16 21:31:49 -07:00
Kaphotics
ee4a846aee Delete old ribbon editor
Replaced by simpler forms.
2016-07-16 20:03:33 -07:00
Kaphotics
3fb86f6dc5 Update ribbons
Added all gen3-6 ribbons.

Fixed bugs:
* Increased speed that the subform pops up (yay profiling!) --
TableLayoutPanel would be reconfigured on every row added; adding a lot
of rows constantly reconfigures, so disable the layout updates so that
it only procs at the end.
* Cleaned up display of the ribbons, fixed width (40x40) instead of
autosize. Now display 3 per row.
* Now display the golden "complete" ribbon for g6 memory ribbons.
2016-07-16 19:59:53 -07:00
Kaphotics
ba74b043e2 Fateful Encounter fix
Met location of 0xFF for pkm without an 'obedience' flag.
2016-07-16 17:59:04 -07:00
Kaphotics
deb7502ee5 Distribution checkboxes to correct panel
Also fixed checkbox enable/disable (didn't consider prefix)
2016-07-16 17:52:07 -07:00
Kaphotics
8a0976e6e3 Minor updates
Expose the buttons for medal/ribbon
2016-07-16 17:19:26 -07:00
Kaphotics
34fb98179c Add Ribbon/Super Training editor
Split from the existing form, now can handle multiple generations.
Need to rename / add ribbon images so that they show up in the box. WIP.
2016-07-16 16:13:33 -07:00
Kaphotics
b47b26222f More descriptive pkm properties (ribbon/training)
Adding new update for editors
2016-07-16 15:52:33 -07:00
Kaphotics
7ed0f1adf8 Move property reflection to util 2016-07-16 10:00:50 -07:00
Kaphotics
cb353e0065 Disallow box sorting if no boxes 2016-07-14 20:37:18 -07:00
Kaphotics
a1c0db27c3 Sync current changelog
Decent summary I guess...
2016-07-14 20:37:11 -07:00
Kaphotics
69e7f19101 Add Japanese prompt for <=Gen3 games 2016-07-14 20:22:24 -07:00
Kaphotics
b6e9202158 Allow batch editor without HaX
May be a mistake :)

Tweak ability display to behave properly regarding gen1/2 saves if ever
implemented
2016-07-14 20:15:05 -07:00
Kaphotics
260c80a3d0 Sync
why. does. this. not. commit.
2016-07-12 22:20:18 -07:00
Kaphotics
a1ac548485 Add Batch Editor (HaX)
= acts as a 'modify if' filter
! acts as a 'do not modify if' filter
. acts as a 'set property to' to value

!HeldItem=0
^ do not modify if held item is zero

=HeldItem=5
^ only modify if held item is index 5

.Species=7
^ set species to 7

!SID=666
.TID=666
^ set TID to 666 if SID is not 666

.TID=666
!SID=666
^ set TID to 666 if SID is not 666 (filtering can be after property
settings)

Run one 'batch modify' script at a time.
2016-07-12 22:19:51 -07:00
Kaphotics
0c88954d26 Fix foreign traded hatched egg species name
Language/Geolocation does not get modified when an egg hatches.

Thanks @NotRaia
2016-07-10 22:22:55 -07:00
Kaphotics
109bd291f6 Delay d&d file deletion
Gives web browser programs enough time to acquire the data since the
file isn't being moved to a location on the user's local storage.
2016-07-10 10:35:44 -07:00
Kaphotics
250fc15f14 Add better format filtering 2016-07-10 10:33:01 -07:00
Kaphotics
5d25b919a4 PK6->PKM for labels/controls
Reflects multi generational
2016-07-10 10:32:51 -07:00
Kaphotics
62f7687fe4 Split out pk# populate/prepare 2016-07-09 16:18:29 -07:00
Kaphotics
171ab7b85f Split out pk# population/retrieval 2016-07-09 16:17:55 -07:00
Kaphotics
592390d1ca Move cbItem to ComboItem 2016-07-09 15:34:38 -07:00
Kaphotics
bd8d5fecc7 Split util file into many 2016-07-09 15:30:12 -07:00
Kaphotics
41f7c9fd6c Move util
Splitting next.
2016-07-09 15:05:12 -07:00
Kaphotics
cc2b3fc081 remove f#- from f1-f4 forms
Not relevant
2016-07-09 14:32:52 -07:00
Kaphotics
08d751d54b Move files
Getting a little crowded and misleading (PKX/SAV folders), let's
relocate.
2016-07-09 14:30:49 -07:00
Kaphotics
4c66f66963 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	PKX/f1-Main.cs

why
2016-07-09 14:22:43 -07:00
Kaphotics
9f554fe76e Ability out of range check
badly hacked pokemon with no abiltiy
2016-07-09 14:21:28 -07:00
Kaphotics
818a45cf28 Use func/action for pkm field manipulation
Gonna move the generation-specific methods to a separate file
eventually.
2016-07-09 14:01:31 -07:00
Kaphotics
689e7cec4b SAV4 Fix trainer coordinates 2016-07-09 13:54:49 -07:00
Kaphotics
0a8dc20de1 Add gen3 items list
english only
2016-07-08 18:38:40 -07:00
Kaphotics
edbd1a71d7 Revise assemblyinfo
Long forgotten
2016-07-08 18:37:09 -07:00
Kaphotics
6a514df63d Merge pull request #131 from Tsunamical/master
Small Code Improvements
2016-07-08 18:34:14 -07:00
Tyler Dunn
6b92806d70 Small code improvement in Program.cs
Give them their proper types
2016-07-08 21:14:15 -04:00
Tyler Dunn
5a73217c23 Remove safe cast in favor of direct cast 2016-07-08 21:11:21 -04:00
Kaphotics
ba6eec70ba Code formatting
Some stuff can be abstract / sealed.
2016-07-07 05:44:43 -07:00
Kaphotics
7fe2a56d21 Visually separate PCD from PGT
Cards 19-21 are not visible, move the 3 PCD cards to that location.

Resolves #130 , thanks @sora10pls !
2016-07-05 19:12:18 -07:00
Kaphotics
21621bb988 Display legal ability list gen3-5 2016-07-04 23:53:35 -07:00
Kaphotics
f0503540a0 Safety check
negative species/formestatsindex returns species
2016-07-04 23:53:15 -07:00
Kaphotics
52c87c8c5f Fix ability retrieval
incorrect offset
2016-07-04 23:52:50 -07:00
Kaphotics
edc9bb7046 Fix SAV3 party & info loading
forgot 0x1000
2016-07-04 23:52:37 -07:00
Kaphotics
55d89952dd Simplification of set/delete/view
Add comments. DEV_Ability is now used for past gen pkm abilities (for
the moment).

DEV_Ability was obfuscation, can modify slots (such as the battle box)
while in HaX mode.

Behave.
2016-07-04 20:11:28 -07:00
Kaphotics
c09a541b25 Fix Party slot Set/Delete
PartyCount now updates, added new logic to SaveFile class to perform the
deletion.

Should behave cleaner than the working solution from months previous.

Resolves #129 , thanks Favna!
2016-07-04 20:04:43 -07:00
Kaphotics
005d1abfa6 Fix main blank save init parameters 2016-07-04 16:16:34 -07:00
Kaphotics
e21037c57e Change converter country
31 should have been 0x31 == 49 (USA).

Ha.
2016-07-04 16:11:03 -07:00
Kaphotics
8dd5c40a93 Fix multiple matched cards
Charizardite Y with Inferno fixed, just add a break to get out of the
loop.
2016-07-04 16:06:07 -07:00
Kaphotics
8276c6fcc1 Add SAV4 dex flag setting 2016-07-04 13:06:01 -07:00
Kaphotics
6463201286 Add SAV5 dex flag setting
No formes flag setting tho
2016-07-04 11:56:30 -07:00
Kaphotics
bd2a1af0f8 Add Gen3 dex set captured/seen 2016-07-03 22:21:45 -07:00