Commit Graph

672 Commits

Author SHA1 Message Date
Kurt
f60a981c65 Fix reload value reference
As noted in post-close comments of #126
Thanks @sora10pls !
2017-04-16 22:37:50 -07:00
Kurt
1f377de7e2 Un-stub shiny rate editor
Precomputed a list of instructions (format u16 rerollCount, u16 half of
instruction); upper16 bits are constant (A0 E3).

If a reroll count that is not in the precomputed list, pk3DS will bump
the rate up to the nearest precomputed value.

Increased the default value to 125 to make it obvious that 3% was not
the existing rate, and expanded the label usage. With so much text on
the form the actual editing area is now indicated by the red text.
2017-04-16 22:22:25 -07:00
Kurt
aea09b14b9 Add special-only mart randomization prompt
gen6/gen7
Closes #68
2017-04-16 17:38:42 -07:00
Kurt
a7d81ad09b Add level modifier for non-wild editors
Closes #76
2017-04-16 17:34:12 -07:00
Kurt
aa4f6e8c25 Add gen6 form randomization to static editor
Uses the refactored randomizer methods to pull the info.
Closes #127
Closes #124

For the gen6 starter editor, just edit from the static encounter editor
if you want formes
2017-04-16 17:20:58 -07:00
Kurt
7ecd77838d Add adjustable call rate to modifier macro
Closes #128, same implementation but allows a certain value to be set
(without line ending changes)
Closes #91
2017-04-16 17:06:15 -07:00
Kurt
54a588c970 temp stub save button
until a working solution is added
as documented in #126 , just manually edit to the XX XX A0 E3
instruction
2017-04-16 10:53:16 -07:00
Kurt
9eee50d6f3 Enhance ShinyRate editor
Back-calculate a reroll count from specified overall %
fixes reloading of existing count if > 4095
2017-04-15 22:43:59 -07:00
Kurt
9c5c5a9377 Add shiny rate editor
patches an instruction to override the amount of rerolls for the PID
generation routine

Existing Code:
LDRB    R0, [R4,#0x23]
New Code:
MOVW R0, value (0-65535)

pk3DS creates the assembly instruction to replace the existing
instruction.
2017-04-15 18:43:18 -07:00
Kurt
9d044da267 Fix oras/demo detection
assigned wrong version name
closes #123
2017-04-14 19:55:05 -07:00
Kurt
3c4d845dfd Fix species off by one
len(0+maxspecies) == maxspecies+1
now matches other usages
2017-04-12 22:57:46 -07:00
Kurt
30770fbb20 Add gen7 pickup editor
Thanks @Sciresm !
2017-04-12 21:30:49 -07:00
Kurt
86031d00da Misc fixes
Thanks @sora10pls !
Closes #118
Closes #119
2017-04-02 23:40:19 -07:00
Kurt
0d947eba67 Misc tweaks
still not comfortable with the switch jump offset calc
2017-04-02 17:26:43 -07:00
Kurt
69d23a8d84 Refactor script parsing with full command list
Moon symbols too helpful; this subroutine checks the integrity of the
script prior to executing, else causes a panic.
2017-04-01 21:45:37 -07:00
Kurt
f9796d6a28 Exception safety
loading out of range values; things are still currently quite raw and I
doubt the location names are accurate.
2017-04-01 00:14:48 -07:00
Kurt
80f326f612 Update & enable OWSE7
OWSE (OverWorld & Script Editor) doesn't save any edits; it's just for
research purposes.
2017-04-01 00:05:16 -07:00
Kurt
9d9a070079 Minor tweaks r2
No functional change, just a little more explicit / exposed for the CTR
namespace classes
take faster unpackMini from PKHeX's optimized version
2017-03-30 21:37:49 -07:00
Kurt
8de8f61769 Minor tweaks
No functional changes
2017-03-30 21:05:56 -07:00
Kurt
0f891ff813 Fix level boost decimal gui appearance
Closes #115
2017-03-17 19:58:50 -07:00
Kurt
594697187d Merge pull request #114 from jpmac26/master
Fix two long-standing exceptions
2017-03-16 09:16:08 -07:00
James Pelster
85dc376454 Fix NPE loading Personal Stats for Pokemon with no sprite resource
This has been a really long-standing bug, hopefully it's fixed for good!
2017-03-15 19:47:37 -07:00
Kurt
d70d72d4c1 Fix tutormove order for gen6 2017-03-15 00:01:39 -07:00
Kurt
92dcc36006 Fix typechart7 write path
store codebin location for writeback at end
2017-03-12 11:37:21 -07:00
Kurt
ff05de5331 Change SMWE default level amp
aka no level amp
2017-02-14 22:25:32 -08:00
Kurt
9a1b754c5b Simplify level boosting
gen7 only, gen6 has 1,100 cap but no need to change.
2017-02-14 22:24:08 -08:00
Kurt
28ef5910da Update sprites
As per pkhex pr 858
2017-02-14 21:08:57 -08:00
Kaphotics
2a5b8a5660 Merge pull request #109 from sora10pls/master
Update menu sprites
2017-02-13 08:36:35 -08:00
sora10pls
10fc6abaac Update menu sprites 2017-02-13 09:26:15 -05:00
Kaphotics
4e3128a07c Merge pull request #103 from evandixon/master
Fixed casing errors
2017-01-26 11:09:14 -08:00
Evan Dixon
81c2d98899 Re-fixed casing issues 2017-01-26 12:31:22 -06:00
Evan Dixon
f5f194be72 Unfixed casing issue 2017-01-26 12:30:39 -06:00
Evan Dixon
8d621cda78 Re-fixed casing issues 2017-01-26 12:28:48 -06:00
Evan Dixon
3acc92f4bd Unfixed casing
Because renaming designer to Designer on Windows doesn't count as a change
2017-01-26 12:28:19 -06:00
Evan Dixon
0334c7912b Fixed casing issues in project 2017-01-26 12:27:33 -06:00
Evan Dixon
e5dc69c4d4 Potentially fixed linux builds 2017-01-26 11:58:19 -06:00
Kurt
94499043b4 disable custom exception handling under debug 2017-01-19 23:29:10 -08:00
Kaphotics
974c5b7b52 Merge pull request #96 from evandixon/master
Build Definitions & Error Checking
2017-01-19 23:27:26 -08:00
Kurt
f97cf9a688 Add SMWE randomization by BST (again)
Closes #97
2017-01-19 23:10:28 -08:00
Kurt
15cebd29b6 Add cancel dialog option
lol
2017-01-19 23:09:07 -08:00
Kurt
9b253c8aa4 Update garc packing from files
Closes #95, adds padding length option for files that may need it
2017-01-19 23:05:38 -08:00
Evan Dixon
f24167454d Added missing event handlers & fixed newline 2017-01-17 18:25:27 -06:00
Evan Dixon
1008f6f2de Added ErrorWindow 2017-01-17 18:21:14 -06:00
Evan Dixon
2c7da256ca Added Any CPU configuration due to memory concerns
Might address #95

The header changes in the solution file were automatically generated.  It can be reverted if requested, although probably won't matter.
2017-01-17 18:14:54 -06:00
Evan Dixon
3d8e0e6eb1 Fixed platform target inconsistent with configuration name 2017-01-17 18:11:20 -06:00
Kurt
30f43d0600 Add some error messages
Can get annoying if multiple folders contain 'rom'
2017-01-14 16:32:43 -08:00
Kurt
c9eb0eb714 Delete tempfile after pack
casual clutter
2017-01-12 23:50:33 -08:00
Kurt
eb57b3cfdf Update memgarc packing
Packing sizes different than 4 caused offset mismatches (don't think any
garcs that were used the method were affected).
Trade off a small amount of packing speed to reduce memory footprint.
Use 1 filestream instead of 2 memorystreams.
Didn't bother to profile, but instead of ->ms->ms->arr, we ->fs->arr
Ends up using ~1GB repacking the Wild Encounter GARC, which should now
behave with 32bit systems.
2017-01-12 22:54:00 -08:00
Kurt
d08ecefdf3 Add forme specific randomization
Based off how the game treats its formes
2017-01-12 22:44:50 -08:00
Kurt
8dfab897fd Add slot randomization options
Randomize All
Randomize Regular Only
Randomize SOS Only
Randomize Regular, Copy to SOS

Use the new randomizer class feature (reduce copied randomization code).
2017-01-10 20:28:27 -08:00