This website requires JavaScript.
e38bb05007
Move itemscript back to using IPokemon instead of IBattlePokemon
main
battle-pokemon-refactor
Deukhoofd
2026-08-28 16:12:19 +02:00
41b7e90c3c
Fix pollen puff
Deukhoofd
2026-08-28 15:31:54 +02:00
d38e7da78c
Fix issue with getting abilities
Deukhoofd
2026-08-28 15:25:39 +02:00
8a2733a0a9
Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
Deukhoofd
2026-08-28 15:20:26 +02:00
942be8eaeb
Replace all raw string comparisons with StringKey, source generator that creates cache keys for all names for Gen7 plugin
Deukhoofd
2026-08-27 18:30:57 +02:00
3a58f55bbf
Adds mimic
Deukhoofd
2026-08-27 17:33:37 +02:00
d2a82b5fe3
Many more tests and fixes
Deukhoofd
2026-08-27 17:11:12 +02:00
32b3ef9c4a
Fix capturing Pokemon not being properly cleared
Deukhoofd
2026-07-11 12:41:03 +02:00
2f51e27811
More unit tests, fixes
Deukhoofd
2026-07-05 19:45:40 +02:00
db839ac214
Fixes for destiny bond
Deukhoofd
2026-07-05 19:13:18 +02:00
94ddf63861
More unit tests, more fixes
Deukhoofd
2026-07-05 19:02:00 +02:00
6a82c20cf2
More tests, more fixes
Deukhoofd
2026-07-05 18:26:55 +02:00
1ab15110f5
Adds some doc comments
Deukhoofd
2026-07-05 14:04:01 +02:00
a649e58826
Mark fixed test as fixed
Deukhoofd
2026-07-05 14:03:15 +02:00
166a99566f
Fix build
Deukhoofd
2026-07-05 14:01:14 +02:00
cc091d5327
Update TUnit, warning cleanup
Deukhoofd
2026-07-05 13:24:22 +02:00
16a1990486
More unit tests, fixes
Deukhoofd
2026-07-05 13:01:12 +02:00
f9878e76ba
Adds more tests, fixes
Deukhoofd
2026-07-04 13:03:54 +02:00
8fbf22a987
Fix bug in stat reducing not functioning properly
Deukhoofd
2026-07-01 17:56:13 +02:00
14a6c9b4fb
Fix evolution level check
Deukhoofd
2026-06-30 23:13:11 +02:00
e1029012bb
Implement basic evolution check handling
Deukhoofd
2026-05-25 18:51:03 +02:00
8089a2ad94
Fix for fury cutter
Deukhoofd
2026-05-25 18:04:33 +02:00
445c6d879e
Don't display Pokemon woke up dialog if it fainted
Deukhoofd
2026-05-25 12:02:20 +02:00
3e12a4a28f
Fix AllOpponent targeting the wrong side
Deukhoofd
2026-05-24 18:19:34 +02:00
be5100df8a
Implement stat drop handling for AI, Fixes for Conversion2
Deukhoofd
2026-05-23 12:57:15 +02:00
a5ef757b01
Growl is adjacent opponent, not all opponents
Deukhoofd
2026-05-23 12:16:38 +02:00
e18b193f7d
Fixes for sleep
Deukhoofd
2026-05-23 11:33:15 +02:00
391edd98f1
Fixes, tests for Aftermath
Deukhoofd
2026-01-09 15:17:54 +01:00
123c3773d2
Fix swapping party not properly packing
Deukhoofd
2026-01-09 09:21:28 +01:00
4928157cd4
Dont give experience to fainted+AI Pokemon
Deukhoofd
2025-11-20 17:27:36 +01:00
5d491a725d
Fixes rounding error in exp calculation
Deukhoofd
2025-11-20 17:26:36 +01:00
21ec4b28c7
Fixes and reworking of item use
Deukhoofd
2025-11-08 11:43:07 +01:00
fa05cdd773
Fix flee odds being incorrect
Deukhoofd
2025-11-08 10:32:29 +01:00
90eaeb1a72
Implements experience gain
Deukhoofd
2025-11-02 23:20:07 +01:00
f00453448f
Fix turn choice ordering not functioning properly
Deukhoofd
2025-11-02 22:57:46 +01:00
7e537c4003
Fix moves with accuracy 0
Deukhoofd
2025-10-31 12:48:22 +01:00
5831df701b
Make ExplicitAI configurable
Deukhoofd
2025-10-21 11:27:04 +02:00
8fd7df5d80
Don't allow switching into a Pokemon that's already in the field
Deukhoofd
2025-10-19 11:04:08 +02:00
f061ba2455
Work on item use/evolutions
Deukhoofd
2025-08-18 11:57:03 +02:00
e5041ec5f0
Fixes for Pokemon capture
Deukhoofd
2025-08-08 12:45:27 +02:00
a5675024a4
Tweaks and fixes for Pokemon capture
Deukhoofd
2025-08-03 12:00:20 +02:00
cccffc4954
Greatly improve performance due to ScriptIterator changes
Deukhoofd
2025-07-26 14:41:18 +02:00
6eba332096
Make moveflags of gen 7 plugin shared statically
Deukhoofd
2025-07-26 14:36:47 +02:00
77d7b86a3c
Implement most pokeballs
Deukhoofd
2025-07-20 11:15:45 +02:00
db3f7f2403
Rewrite StringKey hashing to fix issues on .NET Framework
Deukhoofd
2025-07-20 09:40:33 +02:00
bf83b25238
Implements AI Switching
Deukhoofd
2025-07-12 13:03:00 +02:00
364d4b9080
Implement basic AI check for whether a move would fail
Deukhoofd
2025-07-11 17:13:11 +02:00
a3a4993407
Getting started with implementing an explicit AI, based on the Essentials one.
Deukhoofd
2025-07-11 17:03:08 +02:00
084ae84130
Minor performance tweaks
Deukhoofd
2025-07-10 22:41:56 +02:00
7c270a6d52
Finish script interface refactor
Deukhoofd
2025-07-06 10:27:56 +02:00
83f6a183e3
Tweaks and fixes
Deukhoofd
2025-07-05 18:27:42 +02:00
d57076374f
Some initial work on prescient AI, AI runner, and some random fixes
Deukhoofd
2025-07-05 17:48:51 +02:00
7b25161a8d
More work on micro optimization
Deukhoofd
2025-07-05 16:13:53 +02:00
8a857ed232
Implements some micro-optimizations
Deukhoofd
2025-07-05 15:46:32 +02:00
c795f20e54
Implement highest damage AI, further work on AI runner, random fixes
Deukhoofd
2025-07-05 14:56:25 +02:00
32aaa5150a
Initial setup for testing AI performance, random fixes
Deukhoofd
2025-07-05 13:56:33 +02:00
4499927551
Further work on the script interface rework
Deukhoofd
2025-07-05 11:30:18 +02:00
1feb27e826
More work on refactor to interfaces
Deukhoofd
2025-06-29 12:03:51 +02:00
436d1899e0
Further work on refactor to interface based scripts
Deukhoofd
2025-06-28 18:40:33 +02:00
b7bdf2b744
Refactor move classes to implement respective interfaces for better structure
Deukhoofd
2025-06-28 12:02:24 +02:00
2319160b52
Refactor move selection prevention to use interface
Deukhoofd
2025-06-28 10:36:43 +02:00
04cf585f5a
Move OnInitialize to interface
Deukhoofd
2025-06-28 10:31:23 +02:00
d719ce03ea
Cleanup, move OnBeforeAnyHookInvoked function to an interface
Deukhoofd
2025-06-28 10:28:23 +02:00
43813c1c1c
Implements pledge moves
Deukhoofd
2025-06-22 12:17:08 +02:00
6d448e4e8d
Implements confusion effect
Deukhoofd
2025-06-22 11:56:29 +02:00
6394f4eab3
Implements terrain
Deukhoofd
2025-06-22 11:31:24 +02:00
02510fd1d0
Implements sandstorm
Deukhoofd
2025-06-22 10:53:56 +02:00
2533512eda
Slight cleanup, do some TODOs
Deukhoofd
2025-06-22 10:42:25 +02:00
e305cfaef6
Support for changing turn choice when executing
Deukhoofd
2025-06-15 14:23:28 +02:00
b11203cb3a
Last couple abilities
Deukhoofd
2025-06-15 13:32:58 +02:00
cd6095455a
More abilities
Deukhoofd
2025-06-15 13:20:58 +02:00
ec8681eaa9
More abilities
Deukhoofd
2025-06-15 13:05:52 +02:00
85d97cb9e6
More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
Deukhoofd
2025-06-15 12:29:13 +02:00
defb1349ca
Add EventHook parameter to item use scripts
Deukhoofd
2025-06-15 11:59:17 +02:00
f5d18d7186
More abilities, refactor stealing held items
Deukhoofd
2025-06-15 11:49:15 +02:00
1b9d137bb0
Surprisingly, more abilities
Deukhoofd
2025-06-14 13:37:58 +02:00
5961bb746e
Even more abilities
Deukhoofd
2025-06-14 13:21:23 +02:00
4b07f36176
Update TUnit
Deukhoofd
2025-06-14 12:30:26 +02:00
df9846b8d8
More abilities
Deukhoofd
2025-06-14 12:25:29 +02:00
6c13d20bf7
Even more abilities
Deukhoofd
2025-06-14 11:30:56 +02:00
24712fbb0d
More abilities
Deukhoofd
2025-06-13 15:39:08 +02:00
4385f0afaa
More abilities
Deukhoofd
2025-06-13 12:56:47 +02:00
8363b955af
More abilities, implemented support for form inheritance
Deukhoofd
2025-06-13 12:24:03 +02:00
6d71de375e
More abilities, refactor custom triggers to be typed.
Deukhoofd
2025-06-13 11:15:48 +02:00
4326794611
More abilities
Deukhoofd
2025-06-09 18:16:29 +02:00
e68491e72a
More abilities
Deukhoofd
2025-06-09 17:37:37 +02:00
1579d46671
More abilities
Deukhoofd
2025-06-09 15:24:37 +02:00
074f92bfc0
Even more abilities
Deukhoofd
2025-06-09 14:23:51 +02:00
97868ab4c6
More abilities
Deukhoofd
2025-06-09 13:44:26 +02:00
00005aa4bf
Implements more abilities
Deukhoofd
2025-06-09 12:10:25 +02:00
af0126e413
Fixes for unit tests
Deukhoofd
2025-06-07 11:34:37 +02:00
273d26057a
Adds doccomments to all abilities
Deukhoofd
2025-06-07 11:20:35 +02:00
b2ba3d96ba
Adds more abilities
Deukhoofd
2025-06-07 10:58:58 +02:00
232b94b04c
More abilities
Deukhoofd
2025-06-01 11:23:01 +02:00
b090aa65f9
First couple abilities implemented
Deukhoofd
2025-05-31 12:29:03 +02:00
c1a7b806b1
Tweaks for build run name
Deukhoofd
2025-05-24 17:30:19 +02:00
f4d5ad4e2a
Tweaks for loading data from plugins
Deukhoofd
2025-05-24 16:30:43 +02:00
2680aeff80
Adds optional way to set damage randomness on or off on individual integration tests.
Deukhoofd
2025-05-19 16:10:05 +02:00
405a21e887
Implements freeze, poisoned, badly poisoned
Deukhoofd
2025-05-19 15:56:27 +02:00
9d2c2de17a
Implements Paralysis
Deukhoofd
2025-05-19 15:30:57 +02:00