Kurt
94179d123e
improve move randomization
...
closes #171
i really dislike this randomization implementation, wtb rand object to
make calls to. effort tho
improved STAB enforcement, it'd probably be faster to precompute valid
stab moves for count=4 && dmg=4, but completes in a minute = ok
2017-07-23 22:23:14 -07:00
Kurt
62011f77b9
Merge pull request #169 from kwsch/f/netstandard-project
...
Convert core project type
2017-07-17 18:08:27 -07:00
Evan Dixon
b630e0effd
Allow unsafe code when compiling as release
2017-07-17 18:52:09 -05:00
Evan Dixon
b8f3350e96
Convert core project type
...
This allows easy framework multi-targetting. From here, one can target .Net Standard, adding compiler directives to hide unsupported code.
This change should functionally be no different. However, because the client profile is apparently not available with this project type, pk3DS.Core now targets the full .Net Framework 4.0.
2017-07-17 18:48:01 -05:00
Kurt
a1ea88a2bc
Improve indexofbytes speed
...
~10% faster wew
removes range check when checking successive bytes
2017-07-10 23:35:59 -07:00
Kurt
6c82b815d1
Reduce range iteration
...
specifying count = 0 with a partial pattern match at the end (ie padding
00's at end with a pattern starting with 00) causes checking outside the
range
fix byte pattern offset for mart editor
#147
2017-07-10 23:09:47 -07:00
Kurt
62b19aa99a
Adjust offset detection
...
make static, remove references
too bad & hasty ew
#147
2017-07-10 22:24:45 -07:00
Kurt
9b85a93694
Update pikachu altform handling
...
per pkhex
as for totem mons, leave with the ?? form overlay for visual
identification; that's standard "no sprite available for this form"
behavior like in PKHeX
#167
2017-07-10 19:35:30 -07:00
Kurt
53b21f17ee
Add patched offset detection for Mart6/Tutor6
...
Closes #147
Thanks @sora10pls !
2017-07-10 19:19:16 -07:00
Kurt
5aa13871d3
Fetch sprite from util function
...
Closes #167
fix some potential error sources pertaining to casting null
2017-07-10 19:09:43 -07:00
Kurt
80c31275fc
Disable char remapping by default
...
Preserves ingame character usage (namely m/f symbols)
Compile with set to true if remapping is desired
Closes #137
2017-07-08 21:50:52 -07:00
Kurt
8dc043dcf7
Merge pull request #164 from SecretiveCactus/SMWE
...
Allow SMWE Wild Encounter Rate Editing
2017-07-08 19:13:01 -07:00
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