Commit Graph

15 Commits

Author SHA1 Message Date
Maruno17
e2648032c1 More AI function codes, tweaked AI score threshold, renumbered all PBEffects constants 2023-03-19 17:22:53 +00:00
Maruno17
d0c99aa512 Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter 2023-02-20 23:33:09 +00:00
Maruno17
0e4053f837 Tackling of various AI "TODO" comments, a little tidying 2023-02-17 21:36:08 +00:00
Maruno17
81d069eef1 Refactored AI switching code, added "UsePokemonInOrder" skill flag 2023-02-14 16:40:52 +00:00
Maruno17
f7578002ea Rewrites of disabling move AI function codes, fixed various AI errors 2023-01-19 22:30:55 +00:00
Maruno17
2627d68782 Added more debug logging to AI, fixed some bugs in AI 2023-01-16 19:29:28 +00:00
Maruno17
98f16c2afa More AI function code rewrites, ensured all AI procs next an appropriate value 2023-01-14 23:51:39 +00:00
Maruno17
dd7cd414f0 Yet more AI function code rewrites 2022-12-31 15:26:41 +00:00
Maruno17
1258e4b9c9 More AI function code rewrites themed around stat changes 2022-12-25 00:39:25 +00:00
Maruno17
f33184d413 Generalised AI code for scoring stat changes 2022-12-18 20:51:16 +00:00
Maruno17
c53a52564b More AI rewrites of various function codes, made move score threshold multiplier depend on trainer skill 2022-11-26 22:31:28 +00:00
Maruno17
3408b038cf Split AI move handlers into general ones and ones per target, rearranged some main move-scoring code 2022-10-30 15:25:46 +00:00
Maruno17
e12fd08eb1 Some more rewrites of AI move score calculations (mainly item-related moves) 2022-10-23 18:24:18 +01:00
Maruno17
43290c39a2 Errors in the AI no longer cause it to do nothing 2022-10-16 14:52:27 +01:00
Maruno17
eb8fc1d298 More AI checks and fixes 2022-09-10 15:26:38 +01:00