Commit Graph

761 Commits

Author SHA1 Message Date
Kurt
aaa96d66df fix expansion / forced type mega
8d85460
2017-10-09 10:44:13 -07:00
Kurt
4422bf7684 reconfigure mega fetch
8d85460
mega items now fetched correctly
2017-10-09 09:51:47 -07:00
Kurt
f6db103473 disallow mega forms if slot was forced
closes #206
2017-10-08 23:07:06 -07:00
Kurt
8d8546047d Speed up RSTE randomization
essentially instant now
may have borked something, lmk; could have rewritten from scratch but
the conversion seemed simple enough
2017-10-08 23:01:52 -07:00
Kurt
24775fba68 Continue ripping out old randomizer code 2017-10-08 16:31:47 -07:00
Kurt
12719e0049 Merge pull request #205 from sora10pls/master
Misc changes
2017-10-08 13:41:57 -07:00
sora10pls
8941150fe1 Adjust TrainerRand Design 2017-10-08 16:36:32 -04:00
sora10pls
da5a423761 Misc changes 2017-10-08 16:15:35 -04:00
Kurt
43b629803b Use move randomizer for smte
was using learnset & old rand variant
Closes #204
2017-10-08 12:21:49 -07:00
Kurt
ff18098808 Add early exit for not-enough-species
#204 item 4
2017-10-08 11:23:20 -07:00
Kurt
5d16898597 Split mega dictionary
#204  1 & 2
split dictionaries to be game specific
change label text to indicate what it naturally replaces (based off held
item)
2017-10-08 10:13:13 -07:00
Kurt
b180b1032f Add mega gift like-for-like swap
Closes #175
2017-10-07 23:06:23 -07:00
Kurt
699155906a Add no-fixed damage moves option
closes #177
2017-10-07 22:37:30 -07:00
Kurt
987dc4abf1 fix typo
yeah not a typo, logic is hard ;)
2017-10-07 22:23:05 -07:00
Kurt
dc4432669b Add force-have 4 moves at level 1 option
closes #186
2017-10-07 22:22:14 -07:00
Kurt
0840a04319 Keep multi battle AI flags
Closes #188
2017-10-07 22:18:05 -07:00
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