Commit Graph

745 Commits

Author SHA1 Message Date
Kurt
fe7edd6b3b Fix spread/expand learnset rand
closes #202
2017-10-07 22:11:42 -07:00
Kurt
a5f0d173bf add ability banlist for personal rand
closes #200
provide ability IDs (see bulbapedia) in a text file, each line has an
ability ID number.
2017-10-06 20:37:11 -07:00
Kurt
aa878d5401 Add homogeneous hordes for gen6
Closes #196
2017-10-05 20:25:34 -07:00
Kurt
1ae709b79c Add gui for file restoring 2017-10-04 21:19:55 -07:00
Kurt
d3519e8961 Sync missing changes 2017-09-23 06:51:14 -07:00
Kurt
4399a4f4b4 Allow first learned move to be non-stab
only forced if STAB is checked
2017-09-22 19:59:28 -07:00
Kurt
3dcfd6a3f4 Fix learnset randomizer percent not set
STAB count from move randomizer now calculates properly
2017-09-22 19:14:54 -07:00
Kurt
9c2b3a3aa9 Merge pull request #197 from sora10pls/master
Update README.md
2017-09-15 11:08:05 -07:00
Matt
e6cd3e9500 Update README.md
Reflects new button labels.
2017-09-15 13:48:27 -04:00
Kurt
2c72bbd257 Merge pull request #195 from sora10pls/master
More misc changes
2017-09-10 21:45:18 -07:00
sora10pls
2a5eca005b More misc changes 2017-09-11 00:29:53 -04:00
Kurt
7198a160f9 Merge pull request #194 from sora10pls/master
Misc changes
2017-09-10 12:41:36 -07:00
sora10pls
42d599af18 MaisonEditor7 updates 2017-09-10 14:21:59 -04:00
sora10pls
3ab1f85a31 Misc changes 2017-09-10 14:13:33 -04:00
Kurt
d0f303715a Fix gen7 eggmove rand/writeback
formtableindex was getting cleared if no moves were present, game always
writes at least 4 bytes (ptr & count) for gen7 format.

improve the editor by describing what the extra slots pertain to

Closes #193
2017-09-10 01:01:19 -07:00
Kurt
2918cfe2e4 Add missing moveinfo inflicts
2 other inflict actions (unknown purpose), no move uses them
#193
2017-09-10 00:32:33 -07:00
Kurt
fa5bdee781 Refactoring
use new randomization objects in other forms
re-standardize namespaces a little
2017-09-09 22:16:55 -07:00
Kurt
ddc7b8558d Rewrite evo/learnset/eggmove randomizers
sew fast oi
2017-09-09 21:34:43 -07:00
Kurt
74d39499b1 Simplify personalinfo randomization
shifting away from gui driven, more towards randomization managing
object-classes

can do if (x is PersonalInfo7 p7)... for type specific rands, way faster
than doing rand in by the GUI anyway.

p7 & p6 rand is actually the same, no SM specific additions were made.

eventually the other editor-randomizers will be treated like this, and
maybe GameConfig will be expanded to store more persistent string / etc
data.
2017-09-08 23:27:40 -07:00
Kurt
be15885a8a Merge pull request #192 from sora10pls/master
Port move text description update to TMEditor7
2017-09-08 13:47:26 -07:00
sora10pls
a131e87396 Port move text description update to TMEditor7 2017-09-08 16:27:58 -04:00
Kurt
e27aaf12c7 Merge pull request #187 from sora10pls/master
Add Secret Power to TM rand banlist
2017-09-04 13:36:57 -07:00
sora10pls
aa892addb4 Add Secret Power to TM rand banlist 2017-09-04 16:35:10 -04:00
Kurt
90cb791c52 Air Cutter -> Roost (oras tutors)
crowdsource vs data mining; refer to tutor editor under exefs tab
pad with leading zeroes
2017-07-25 23:27:57 -07:00
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