Ct11217
67f473f38b
Fixed recommended issues.
...
Added additional comments.
Reordered switching ladder in ShouldSwitch() function.
Functions that can specify a specific party mon to switch into need to come first.
2022-08-23 19:49:54 -06:00
Ct11217
a4b53126f6
Added AI_FLAG_ACE_POKEMON
...
When this flag is set, the trainer will have an "Ace" pokemon that will
always be sent out last.
If this flag is set, the last Pokemon in the party will be considered the
"Ace" Pokemon.
This is similar to the gym leader functionality found in Sword & Shield.
2022-08-17 18:23:12 -06:00
ghoulslash
fac6f21ed0
AI_EFFECTIVENESS_xY are enums
2022-07-03 16:28:34 -04:00
sneed
2e855b204a
ai accounts for a third type
2022-05-29 04:55:37 +03:00
ultima-soul
02c9e040df
Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync
2021-08-11 16:33:10 -07:00
GriffinR
64d06f4c8f
Condense battle AI scripts, minor clean up
2021-07-02 02:46:01 -04:00
Evan
d65d5cb8fd
add AI_FLAG_SMART_SWITCHING, some burn checks
2021-02-14 09:37:04 -07:00
Evan
f21b0140b9
revert to CheckViability and stat change effect viabilities
2021-01-04 19:39:59 -07:00
Evan
7988a1f41d
Ai_TryOnAlly and reorganize files
2020-12-20 14:47:20 -07:00
Evan
31ec3e8479
non-partner good move checks
2020-12-19 21:58:23 -07:00
Evan
916d0416e3
outline AI_CheckGoodMove
2020-12-15 21:57:33 -07:00
Evan
ac332d5e98
check bad move
2020-12-13 15:02:21 -07:00
DizzyEggg
91b364e8d6
Ai use most powerful move smarrter
2019-08-27 18:29:34 +02:00
DizzyEggg
e1ea4b62e9
Natural Gift
2019-05-20 12:03:00 +02:00
DizzyEggg
ead21250a6
Label all battle ai scripts
2018-09-01 19:05:06 +02:00
DizzyEggg
a10fd5a7c4
create more battle constants
2018-02-08 00:35:13 +01:00
DizzyEggg
5ac6cc4860
move battle vars to c file
2018-02-07 22:53:40 +01:00
DizzyEggg
ca29ad22e8
dump trainer ai scripts
2017-12-30 16:04:31 +01:00