Commit graph

2342 commits

Author SHA1 Message Date
Kurt
53f8abc26c Check destination validity
locked slot would throw exception
2016-12-26 18:22:45 -08:00
Kurt
4041f56519 Update fashion payloads
Huge thanks to Holla! for figuring out what was causing the issue with
the existing code/payload.

https://projectpokemon.org/forums/forums/topic/39433-sun-moon-stat-records/#comment-206504

Closes #493
2016-12-26 17:37:41 -08:00
Kurt
750044ea31 Improve slot lock detection
Uses sm lock indication (same placement), now only appears for teams
that are locked
slots that are not locked but assigned to a team are now indicated as
such, no prevention / moving to adjust team values is done.
#661
2016-12-26 16:41:12 -08:00
Kurt
93cc7472da Tweak setNEW behavior
added checkbox in inventory editor to setNEW
inventory class setNEW is unused by form but available for anyone
reusing code
closes #670 as it fixes the root behavior issue
2016-12-26 13:57:54 -08:00
Kurt
b41aacc5a1 Remove parenthesis pk2 forme filename 2016-12-26 10:01:18 -08:00
Kaphotics
437208cc55 Merge pull request #671 from ReignOfComputer/master
Remove extra bracket in filename when exporting form
2016-12-26 09:59:59 -08:00
ReignOfComputer
a5d0ab0fa6 Remove extra bracket in filename when exporting form 2016-12-26 17:49:53 +08:00
Kurt
a7a97fe084 Add greninja form handling
#666
2016-12-24 15:50:26 -08:00
Kurt
67838e4643 Fix item transferral
Instead of just copying the value, get the corresponding transferred
value (and sanity check; the getG4Item returns 0x80 if held item does
not correspond to a sprite).
Closes #665
2016-12-23 17:28:39 -08:00
Kurt
a6e84f5aa9 Adjust forme export edge cases
Showdown handles these formes their own way. Match their format when
exporting formes.
Closes #666
2016-12-23 15:37:56 -08:00
Kurt
2da2af5ac7 Add clone deletion
Clone search/deletion func moved out of search method so it can be used
by both search&delete.
2016-12-23 14:12:58 -08:00
Kurt
3aac201ef3 Add clone search option
Disabled by default
users should tweak the hash func if they want to detect clones another
way
sure there's probably a faster way to do this, but for 5k it searches in
~5ms on my 4x4GHz machine, fast enough.
2016-12-23 13:37:53 -08:00
Kurt
00e0e69dd8 Fix showdown export generation specific forms
Adds the optional argument (default 6, not 7).
Closes #664
2016-12-23 09:37:15 -08:00
Kurt
48d6ea9f93 Fix database delete for savefile origin 2016-12-23 09:30:38 -08:00
Kurt
4941858f8a Add Gen2 gender changing
randomize attack IV until gender flips
Closes #659
2016-12-22 22:46:57 -08:00
Kurt
61dd99feef Set current stat level on drag&drop to party
Other battle stats (HP/Atk...) are already set, this is the only one
that is not set. The other setPartySlot call is for the main tabs
editing, which sets the stat level & battle stats at the end of the
specific method.

Closes #663
2016-12-22 22:03:32 -08:00
Kurt
9b4ab99d4f Add missing break for 3->4 conversion
Closes #662
2016-12-22 21:42:50 -08:00
Kurt
284ea120b1 Fix unused legality check (3/4/5th gen only)
Thanks Sabresite!
2016-12-22 18:18:35 -08:00
Kurt
69e9192484 Filter memory options
Constrain to 721 (Volcanion) for gen6 species
Constrain to 622 (Hyperspace Fury) for moves
Closes #660
2016-12-22 11:49:26 -08:00
Kurt
2c395d3634 Fix gender symbol setting
if nidoran is not nicknamed, it will use full width if it's not named
Nidoran.
if anything else is nicknamed, it will check to see if any
non-latin/special characters are used to determine if half width should
be set.

possibly applies to gen4/5, if so, please open an issue/post on forums.
2016-12-22 11:33:29 -08:00
Kurt
1c335c9389 Add missing gender symbols (jpn)
No idea how these dropped off...
2016-12-22 11:30:14 -08:00
Kurt
1de5315f64 Extend recent pr to gen6 editor
#658 same format
citra versions have year @ 1900 which is below 1932; min value year is
zero which is caught by the value validity check.
rename 2 labels that were unnamed.
2016-12-21 13:57:38 -08:00
Kaphotics
a9e0a881cf Merge pull request #658 from kwsch/b/gen7-dates
Fix Gen 7 Dates
2016-12-21 13:44:33 -08:00
Evan Dixon
95843378d2 Extended HOF and AdventureStart MinDate
Not tested with a real save, but if the seconds data structure used to populate the data is in fact signed, the year should be valid.
2016-12-21 08:46:21 -06:00
Evan Dixon
7c69682422 Refactored LastSavedDate
Makes usage a little cleaner IMO and fixes a bug opening the Trainer Editor with the default blank save
2016-12-21 08:45:22 -06:00
Kurt
e308f51177 Fix null ref tostring
empty text string in value, simple null check prevents null.ToString()
and just results in null => returns 0.
2016-12-21 00:24:33 -08:00
Kurt
9fdee96e38 Update 16.12.21
No need to have two seemingly duplicate urls at the top; old PKHeX url
was the thread link which now has a special redirect URL as listed.
2016-12-20 18:19:23 -08:00
Kurt
31b5e63222 Fix HT trade logic
TradeFriendshipAffection never triggered as TradeHT sets the HT_Name
just move the modification within the TradeHT method.
2016-12-20 17:54:48 -08:00
Kaphotics
3fe7d31183 Update readme GNU/Linux section
Revise description to use flatpak instead of Aptitude.
Discussed in #387, closes #387.
2016-12-20 17:31:20 -08:00
Kurt
6003c2b71a Misc gen2 upgrades
Filename & random shiny IVs
Closes #534
2016-12-20 17:24:41 -08:00
Kurt
67667f9778 Revert "Add Intro Time"
This reverts commit c73d8fcf39.
2016-12-20 13:42:31 -08:00
Kurt
c73d8fcf39 Add Intro Time
time offset == Intro Time is how the game freezes to the version
specific (day/night) time
2016-12-20 12:33:47 -08:00
Kurt
ab64ce4f13 Revise evolution check description
Now doesn't explicitly say the level is below evolution requirements,
just says that there's no possible way it was evolved to its current
state.
Closes #634
2016-12-20 09:27:19 -08:00
Kurt
1899e4e11e Fix file loading exception
Closes #653
2016-12-20 09:22:15 -08:00
Kurt
26986ff22b add gen2 unofficial vc size 2016-12-19 11:47:24 -08:00
Kurt
d91c6a0727 Add sm pokedex forme flag editing
Closes #642 -- for all languages, just use complete dex and the language
will fill in
Closes #363
2016-12-19 09:33:15 -08:00
Kurt
00bdee5d58 Fix party dragdrop same slot deletion
now just aborts the dragdrop operation if the destination is the same as
the source
2016-12-18 23:49:27 -08:00
Kurt
ba5ef5cf06 Improve illegal exp/level handling
Consistent between gens now
#322
2016-12-18 23:39:37 -08:00
Kurt
102f56c694 Improve giveall behavior
now just adds the remaining uncollected cells to the collected count &
cube count.
Closes #643
2016-12-18 11:06:14 -08:00
Kaphotics
f0d27e963c Merge pull request #652 from kwsch/b/output-directory
Updated build directories
2016-12-18 09:47:21 -08:00
Evan Dixon
5bc0b57147 Updated build directories
Also defined MONO compiler constant
2016-12-18 11:45:34 -06:00
Kurt
53e4d244da use savefile to calc stats rather than pk's
dropping deoxys into party in fr/lg saves used the rs base stats.
2016-12-18 00:15:36 -08:00
Kurt
b009cc8050 Standardize level loading when stats not present
check if stats present (HP max easiest check)
only changes the behavior when in HaX mode
closes #322
2016-12-17 22:44:26 -08:00
Kurt
796c2998ea Add Party dragdrop manipulation
Closes #295
Allows users to move eggs / empty pkm to the first party slot, allowing
that only because it's not a click-set operation.
2016-12-17 19:05:22 -08:00
Kurt
69d2bc74ca Add type: null edge case
colon caused break -> treat as unsplit line with default handling
Closes #648
2016-12-17 09:54:25 -08:00
Kaphotics
e860fd66f2 Merge pull request #649 from kwsch/f/build-config-clarification
Build Configuration Clarification
2016-12-17 09:38:47 -08:00
Evan Dixon
3889d8b186 Renamed build configurations to clarify usage
Also added the README to the solution and modified it to briefly describe when to use each build configuration.
2016-12-17 08:23:32 -06:00
Kurt
2664b4cac2 Fix split gender ratio per species/form
Closes #647
2016-12-16 20:30:10 -08:00
Kaphotics
9d54c3d847 Unlock party slot editing
Closes #646
2016-12-16 11:07:26 -08:00
Kurt
9f0d6223eb Add battle box batch editor protection
should be the last of the tweakable methods
2016-12-16 09:03:36 -08:00