Commit graph

1244 commits

Author SHA1 Message Date
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
Kaphotics
1f1f3b8720 Add gender legality check
dirty cheaters

Tweaked ECPID to not bypass illegal flag checking if EC/PID were 0.
2016-07-03 18:36:04 -07:00
Kaphotics
1e2ef19d9a Tweak detection of pk6 party file 2016-07-03 18:27:12 -07:00
Kaphotics
1779420af1 Add gen3 personal info, move object refs
All PersonalInfo arrays are referenced from PersonalInfo's class instead
of Legal

Fixed a few bugs in the process (species translation, gen switch)
2016-07-03 15:05:15 -07:00
Kaphotics
4568bdc576 Add gen3 personal struct
Gen4 is the same struct, move to earlier game's class.

Still need to unshuffle the personals by natdex ID for gen3 games.
Tutors/TMHM aren't referenced so they can be appended if (n)ever desired
2016-07-03 13:41:50 -07:00
Kaphotics
7bff9b781a Fix out of range forme index request
Break up logic
2016-07-03 13:04:07 -07:00
Kaphotics
f1fa64ff11 Fix gen5 map position coords
Lazy c/p & edit from SAV6
2016-07-02 20:49:47 -07:00
Kaphotics
ce73469575 Gen5 bak name use specific version name 2016-07-02 20:38:13 -07:00
Kaphotics
7d767ee600 Re-add Clone-Delete
Thanks Wanderer1391!
2016-07-02 20:30:20 -07:00
Kaphotics
190382d5b6 Sync remaining
Missed the last bugfix
2016-07-02 20:25:47 -07:00