Commit Graph

41 Commits

Author SHA1 Message Date
Kurt
33a2ab24f1 Minor clean 2022-10-01 17:46:11 -07:00
Kurt
2578ba073c Refactoring
File scoped namespaces for all lib projects
netstandard2.0 => net6; now uniform. bye netframework!
2022-10-01 17:08:17 -07:00
JelleInfinity
3a8328c0cd
Use interfaces for personal info to make updating the data easier (#234)
* Use GameVersion instead

* Fix formatting

* Update Personal info code

* Use interface versions in code

* Remove unnecessary param

* Remove TableLength

* Fix integration

Rename Forme to Form
Typed numbers
2022-09-18 12:44:51 -07:00
Kurt
e432370a40 Add Pokémon Legends: Arceus support
.NET5.0 -> .NET6.0

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2022-02-04 18:43:21 -08:00
sora10pls
a9e72c288f Skip TMs when randomizing Shops 2021-09-04 14:57:05 -04:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
sora10pls
caf9e635b4 Add AllowRandomFusions to Trainer Randomizer Settings
Move BattleExclusiveForms outside of Tables7 since it'll be used for every Generation, and update it with Gen 8 species.
Also fix FormRandomizer allowing Zen/Galarian Zen Darmanitan.
2020-07-01 15:16:03 -04:00
sora10pls
2e600b9080 Standardize using FormRandomizer for all randomizers 2020-06-27 14:59:59 -04:00
sora10pls
eb38d5cb83 Gigantamax Swap per SpeciesSettings
Accounts for when only specific Generations are allowed
If no criteria matches (e.g. only Gen 2 species allowed), make it any regular Dynamax
2020-06-08 16:14:06 -04:00
sora10pls
a105d88025 Expose and re-order SWSH AI bitflags
Three flags are related to the Motostoke Gym Challenge, not too interested in documenting them since they're only used for 3 Trainers in the entire game
Also fix Gigantamax Swap
Closes #21
2020-06-08 14:16:44 -04:00
sora10pls
3523ef97e0 Add Species enum 2020-05-30 23:09:43 -04:00
sora10pls
f415b81312 Fix LGPE MegaFormChoice randomization
0 for No Mega, 1 for Mega
If Charizard or Mewtwo, then 1 is Mega X and 2 is Mega Y
Also add more documentation for LGPE Trainer Classes
2020-05-28 19:23:30 -04:00
Matt
7fc8f967dd
Add Big Shiny Sprites (#62)
* Add Big Shiny Sprites
Also addresses Trainer Meltan failing to evolve if requirements are met.
Fix Personal Held Item randomization.

* Fix silly typo
Copy/paste is a curse.

* Add Double Battle Classes to blacklist
Don't allow them to be set to any Trainers for crashes.
2020-04-24 07:52:01 -07:00
Matt
64909ee7ac
Document all SWSH Trainer Classes (#59)
* Document all SWSH Trainer Classes
Disallow Double Battle specific Trainer Classes when randomizing to avoid crashes.
Now there shouldn't be any crashes!

* Remove spaces
2020-04-01 13:37:46 -07:00
Matt
5521b72431 Document and Expose CanDynamax Flag (#46) 2020-01-01 19:03:30 -08:00
Matt
7719701684 Add Gigantamax Swap feature (#44) 2019-12-23 09:07:26 -08:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -08:00
Matt
91b5ae0616 Expose Dynamax Level/CanGigantamax (#32)
Also revise Important Trainers.
2019-11-19 16:54:03 -08:00
Kurt
58b0597fea Sword/Shield Update
Many thanks to @SciresM and @sora10pls for assisting in this massive
update!
2019-11-15 17:00:41 -08:00
Kurt
537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00
Kurt
b611df6823 Misc clean
no functional change
2019-03-19 17:36:27 -07:00
Matt
da6ceb3bed Rename move rand type options (#11) 2019-03-15 14:35:19 -07:00
Kurt
35aef55110 Add boost/AI bulk mods, add teamcount mod toggle
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/?do=findComment&comment=240379

turning off teamcount bool will prevent fixed teamcount changes from
happening
certain diffulty boost mods can be done separately from the general
randomization (new tab)
2019-02-18 11:55:57 -08:00
Kurt
9abddb17e2 Add force fully evolved implementation
use current evo data instead of hardcoded max-evolved table for each
game
2018-12-16 20:45:16 -08:00
sora10pls
7ee812cd50 Update gg trainers 2018-12-13 15:19:03 -05:00
Kurt
104a554e9a Make generic randomizer more generic
int -> T
add getmany method
2018-12-01 15:16:37 -08:00
Kurt
b085c1976b Misc fixes
fix: double-trainer battles forced to 3
fix: high powered trainer rand moves no longer errors
2018-12-01 14:35:26 -08:00
Kurt
8590f9a461 Cap jesse/james trainers to 3
side effect is that it forces them to have 3 always, which is fine.
2018-12-01 14:28:51 -08:00
Kurt
6611e2dd21 Update special count handling
no longer forces count=6 to be 6 regardless of setting
2018-11-30 19:05:39 -08:00
Kurt
087089c2d5 Rework species-form-item randomization for gg 2018-11-29 19:43:31 -08:00
sora10pls
5f2f0a70ee Use fixed count indexes 2018-11-29 13:07:17 -05:00
Kurt
7ac8af06dd Use gg special classes 2018-11-27 16:38:40 -08:00
Kurt
c3642f7a36 Split out Crash classes 2018-11-27 16:36:37 -08:00
sora10pls
eeec9af64d Misc updates 2018-11-27 17:34:07 -05:00
Kurt
49a656a901 Precompute gg banned moves
Fake Out isn't flagged with F18, so F18 isn't valid with respect to
identifying allowed moves.
2018-11-24 09:55:07 -08:00
Kurt
6ea0885de8 Misc updates
larger settings display for poke rand
actually set banned moves for trainer rand
2018-11-24 09:02:30 -08:00
Kurt
0f933714c6 Allow pokechange for max AI 2018-11-23 22:22:14 -08:00
Kurt
c554e4a984 Add forcedoubles setting 2018-11-23 22:19:38 -08:00
Kurt
15974cd8d8 Make trainer rand work
tfw no fairy moves -> causing STAB fetch loop to hang for Clefairy, lul
2018-11-23 22:08:41 -08:00
Kurt
7582c5d307 Add trainer randomizer beginnings 2018-11-23 20:39:46 -08:00