Commit Graph

709 Commits

Author SHA1 Message Date
Secretive Cactus
bdf1cd89a7 Allow saving of maps with a total encounter rate of 0%. 2017-07-08 12:41:22 -04:00
Secretive Cactus
cb2de16104 Add the ability to change encounter rates in Pokemon SuMo. 2017-07-08 12:27:30 -04:00
Kurt
be332e7411 Fix levelup spread evenly
value was a decimal which wasn't parsed back correctly as an int.
Closes #135
2017-07-07 20:53:00 -07:00
Kurt
f0923d5997 Duplicate TM & Maison buttons
Show different labels for different generations
Closes #163
2017-07-07 20:47:58 -07:00
Kurt
d243f9940d Fix sprite get on gen7 personal editor
pngs were moved out of core project
2017-07-07 17:42:59 -07:00
Kurt
993abf01fc Fix garc unpack exception after unpack
label object was not provided
Closes #161
2017-07-07 17:41:16 -07:00
Kurt
6976607627 Cleanup
mostly unused usings
2017-06-26 20:11:58 -07:00
Kurt
f1f316cb2d Merge pull request #158 from kwsch/f/refactor
Initial segregation of Core and WinForms
2017-06-18 17:29:32 -07:00
Evan Dixon
cdc9c4dfc3 Remove obsolete warnings 2017-06-18 15:03:35 -05:00
Evan Dixon
76fb98f849 Initial segregation of Core and WinForms
There's still several uses of System.Drawing and System.Windows.Forms which will take more time to segregate
2017-06-18 15:02:09 -05:00
Matt
f8a2d34111 Misc changes (#156)
* Misc changes

* Doesn't actually work
2017-06-15 23:10:10 -07:00
Kurt
9da0444527 Convert level % mult to decimal mult
Closes #155
2017-06-14 18:08:55 -07:00
Matt
75297acc3b Quality of life changes (#154)
* Quality of life changes

* Consistency with Gen 6 wild encounter editors

* Add prompts to Move Editors

* Caps lock is hard

* Fix loose ends
2017-06-14 17:55:05 -07:00
Kurt
2e07d92636 Copy gen7 sprite fetch to gen6
closes #153
could probably standardize a sprite fetch request with scaling, but meh
2017-06-13 19:50:04 -07:00
Kurt
3c47867c39 Improve text editor writeback handling
Begin line editing when cell is entered (rather than double clicking in)
Finish any pending edits when form is closing
Handle errors instead of crashing
Save error messages to text file
Save failed text files to text file for reimporting when fixed

Closes #151

GameText will pass the reference to the persistent gametext; bad text
will stay as bad text until the program closes (where it won't be
saved).
2017-06-11 11:27:12 -07:00
Kurt
9aba1ced9c Add more encountertrade struct docs
sub_379F4C in 1.0 moon
Add memories (all default to 03, 01, 28, 05)
2017-06-08 18:14:21 -07:00
Kurt
26e36810fc Merge pull request #149 from sora10pls/master
Update README.md
2017-06-02 16:57:43 -07:00
Matt
b412853421 Update README.md 2017-06-02 15:13:15 -04:00
Kurt
abad15dc5a Merge pull request #145 from kwsch/f/library-refactor
Initial Library Refactor
2017-05-31 19:29:13 -07:00
Evan Dixon
919b271d33 Fix GameConfig's Initialize methods
TextFile no longer holds a static reference to GameConfig
2017-05-29 08:52:53 -05:00
Evan Dixon
7f20c9c370 Remove static variable from pk3DS.Core 2017-05-27 17:58:15 -05:00
Evan Dixon
b8eedf2b58 Move changelog to ui project 2017-05-27 17:57:58 -05:00
Evan Dixon
7997f06dc5 Initial split to pk3DS and pk3DS.Core 2017-05-27 17:53:32 -05:00
Kurt
17af97d4c8 Expose shiny lock for Gen7 Static Encounters
Closes #144
2017-05-23 22:25:01 -07:00
Kurt
04c5cba293 Merge pull request #141 from jpmac26/master
Fix message when dumping Level Up Moves
2017-05-17 11:56:37 -07:00
James Pelster "CaptainSwag101
6457611a53 Fix message when dumping Level Up Moves
It seems those sneaky copy-paste bugs have struck again ;)
2017-05-17 11:23:30 -07:00
Kurt
aca8174c38 Merge pull request #138 from sora10pls/master
Add adjustable Catch Rate to modifier macro (PersonalEditor6/7)
2017-05-11 13:48:43 -07:00
sora10pls
93d527d34f Add adjustable Catch Rate to modifier macro (PersonalEditor6/7) 2017-05-11 15:24:21 -04:00
Kurt
2de3639f31 Update backup/restore feature
trycatch the restoration action, and force overwriting

https://projectpokemon.org/forums/forums/topic/34377-pk3ds-xyoras-rom-editor-randomizer/?page=37#comment-213548
2017-04-28 17:41:03 -07:00
Kurt
8fa0f9cc7e Merge pull request #134 from sora10pls/master
Add close functions to multiple editors + CRO editing prompt for MartEditor7
2017-04-18 13:40:51 -07:00
Matt
ba86b02f5d Add CRO editing prompt (MartEditor7) 2017-04-18 16:28:23 -04:00
Matt
e557887c6b Close form on save (MartEditor7) 2017-04-18 15:54:15 -04:00
Matt
261c214bc2 Close form on save (PickupEditor6) 2017-04-18 15:53:56 -04:00
Matt
0d9cedd42d Close form on save (MartEditor6) 2017-04-18 15:53:38 -04:00
Kurt
329425a69d Refactor backup/restore method
Now restores all files; users can still manually restore individual
files.
Closes #31
2017-04-17 23:30:31 -07:00
Kurt
20a6b701e2 Further simplifications
BST checkbox was added recently, use that instead of asking the user
2017-04-16 23:42:25 -07:00
Kurt
d0d31374e3 Fix gen6 gift/static form randomization
if BST wasn't selected then it'd do a simple loop and return; added code
was missing from that section

simplify the code a little to only use one loop.

#127
2017-04-16 23:41:08 -07:00
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