Commit Graph

110 Commits

Author SHA1 Message Date
Deukhoofd 919b486f69
Adds support for pokemon eggs 2021-06-26 11:36:38 +02:00
Deukhoofd 1153ad6034
Updates to latest pkmnlib 2021-05-24 11:41:55 +02:00
Deukhoofd 02c812a84b
Updates Windows native libraries. 2021-04-30 14:54:29 +02:00
Deukhoofd 05b8dcebc4
Updates pkmnlib 2021-04-30 13:53:46 +02:00
Deukhoofd e1dadddf06
Fixes exception not showing c++ stacktrace in some cases. 2021-04-30 13:53:41 +02:00
Deukhoofd 3cb243175c
Fixes assert not throwing exceptions for PkmnLibAI, now always throws exceptions if non-zero response. 2021-04-30 13:53:16 +02:00
Deukhoofd 12850e3771
Updates pkmnlib, adds wrappers for PkmnLib_ai 2021-04-23 10:53:50 +02:00
Deukhoofd ced4524737
Fixes ReadOnlyNativePtrArray.IndexOf returning invalid index. 2021-03-13 14:43:17 +01:00
Deukhoofd 3a7edb2fc3
Updates CreatureLib, implements support for ItemUseScript. 2021-03-07 19:36:09 +01:00
Deukhoofd cbe5747d04
Fixes issue where getting battle from a pokemon could result in battle being in a deleted state. 2021-01-31 12:53:35 +01:00
Deukhoofd 9f30f411cc
Adds ChangeStatBoostEvent, fixes issue where ExecutingMove would create default LearnedMove, instead of potential inheritor. 2021-01-31 12:48:02 +01:00
Deukhoofd d38338ddc3
Lock cache while using it in ReadOnlyNativeArray 2021-01-16 19:50:43 +01:00
Deukhoofd d5bbc18b1a
Fixes for scopedowner. 2021-01-16 14:48:07 +01:00
Deukhoofd 7807ee9676
Adds ScopedOwner class, that disposes owned values when garbage collected. 2021-01-15 16:53:32 +01:00
Deukhoofd 7e31bba05e
Support Windows. 2020-12-31 14:49:03 +01:00
Deukhoofd 351465ec79
Reduce file sizes. 2020-12-31 14:01:43 +01:00
Deukhoofd bbc12f2754
Don't use C# 9 for now. 2020-12-31 13:04:33 +01:00
Deukhoofd 8c8a8da39a
Further fixes for build. 2020-12-31 12:58:19 +01:00
Deukhoofd a1668cd374
Fixes build. 2020-12-31 12:54:33 +01:00
Deukhoofd ed7e655783
Fixes for clearing battle after it's finished. 2020-12-28 15:11:25 +01:00
Deukhoofd e9a3a70c13
Adds a setter to nickname for Pokemon. 2020-12-23 13:50:00 +01:00
Deukhoofd 8d5f7f318f
Updates to latest pkmnlib, fixes issues. 2020-12-23 12:27:58 +01:00
Deukhoofd 506f10b085
Adds switch and swap into event to party. 2020-10-31 16:13:10 +01:00
Deukhoofd 813cf65331
Populate uninitialized PokemonBuilder fields before running several initializion methods. 2020-10-31 12:27:13 +01:00
Deukhoofd 385d70e5ed
Allow random to be passed to PokemonBuilder build function, if none is passed use a static fallback. 2020-10-25 11:55:35 +01:00
Deukhoofd c34d7960ab
Support for getting types on Pokemon. 2020-10-23 18:59:38 +02:00
Deukhoofd 06e252dbac
Use full library names for Unity. 2020-10-17 18:16:00 +02:00
Deukhoofd 0a2ce2d6e4
Add generic LearnedMove in PokemonBuilder. 2020-09-07 18:54:09 +02:00
Deukhoofd c797a4180b
Getter for values of actual Pokemon ability. 2020-09-05 14:55:14 +02:00
Deukhoofd ce54b8c2c2
Dont lose references to libraries 2020-09-04 21:01:18 +02:00
Deukhoofd 471c082527
Allow ReadOnlyNativePtrArray to contain nulls when IntPtr is zero. 2020-09-01 12:27:16 +02:00
Deukhoofd 2ba7dbf6a3
Fix wrapper for MiscLibrary ReplacementMove 2020-09-01 12:20:54 +02:00
Deukhoofd a90fb3e481
Support for getting the last turn time. 2020-08-30 13:50:19 +02:00
Deukhoofd ea4c9c6877
Adds more events. 2020-08-25 19:13:15 +02:00
Deukhoofd 2ded1d3ceb
Cache pokemon in PokemonParty so they're not garbage collected. 2020-08-25 17:56:57 +02:00
Deukhoofd b1f134c2a1
Clear array passed to PokemonParty to assert dominance and take ownership of it. 2020-08-24 19:52:14 +02:00
Deukhoofd 8a7872cf3a
Fixed issue where .ArrayPtr() would not give the pointer to the desired array, and instead returned a pointer to an array of C# objects. 2020-08-24 19:08:51 +02:00
Deukhoofd 2c5f35c640
Use Constructor class in PointerArray 2020-08-24 18:33:04 +02:00
Deukhoofd f74f29daef
Make it possible to inherit from BattleBuilder. 2020-08-22 16:49:31 +02:00
Deukhoofd a2cf693bbd
Fixed bug with libraries returning some values twice in GetEnumerator, move more over to Constructor class. 2020-08-22 16:42:56 +02:00
Deukhoofd 59a5ddf5da
Move constructing from pointer to Constructor class to easily handle inheritance. 2020-08-22 16:26:14 +02:00
Deukhoofd 01fcbc1935
Update CreatureLib 2020-08-22 15:45:50 +02:00
Deukhoofd ba9333ebb7
Switch to NET Standard 2.0 for Unity 2020-08-22 15:38:10 +02:00
Deukhoofd 2187221a17
Additional support for ExecutingMove 2020-08-22 14:45:13 +02:00
Deukhoofd 59fbe5edaa
Wrapper for BattleSide functions. 2020-08-22 14:20:08 +02:00
Deukhoofd 8080e921bc
Support for getting a species by ID 2020-08-22 13:33:39 +02:00
Deukhoofd 2c931bd32c
Support for Evolution 2020-08-22 13:10:43 +02:00
Deukhoofd 59b4223d18
Grab stacktrace on signal. 2020-08-18 19:26:39 +02:00
Deukhoofd c852824c91
Update libraries 2020-08-17 20:20:55 +02:00
Deukhoofd 743c63a99c
Several fixes and improvements. 2020-08-17 18:51:07 +02:00