Fix AI's right slot switching-in too early (#4851)

* apply safe switching to trainer doubles battles - with a config

* get rid of the config

* make it compile
This commit is contained in:
DizzyEggg
2024-06-21 12:17:12 +02:00
committed by GitHub
parent c31f982a7b
commit d0bb03e5a9
4 changed files with 26 additions and 20 deletions

View File

@@ -63,8 +63,8 @@
#define BS_EFFECT_BATTLER 2
#define BS_FAINTED 3
#define BS_ATTACKER_WITH_PARTNER 4 // for Cmd_updatestatusicon
#define BS_FAINTED_LINK_MULTIPLE_1 5 // for openpartyscreen
#define BS_FAINTED_LINK_MULTIPLE_2 6 // for openpartyscreen
#define BS_FAINTED_MULTIPLE_1 5 // for openpartyscreen
#define BS_FAINTED_MULTIPLE_2 6 // for openpartyscreen
#define BS_BATTLER_0 7
#define BS_ATTACKER_SIDE 8 // for Cmd_jumpifability
#define BS_TARGET_SIDE 9 // for Cmd_jumpifability