Adds basic trainer and smart trainer flags (#5298)

This commit is contained in:
Alex 2024-08-31 23:50:37 +02:00 committed by GitHub
parent 4f39354185
commit bbcb1cd5a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 362 additions and 358 deletions

View file

@ -50,6 +50,10 @@
#define AI_FLAG_COUNT 20
// The following options are enough to have a basic/smart trainer. Any other addtion could make the trainer worse/better depending on the flag
#define AI_FLAG_BASIC_TRAINER (AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_TRY_TO_FAINT | AI_FLAG_CHECK_VIABILITY)
#define AI_FLAG_SMART_TRAINER (AI_FLAG_BASIC_TRAINER | AI_FLAG_OMNISCIENT | AI_FLAG_SMART_SWITCHING | AI_FLAG_SMART_MON_CHOICES)
// 'other' ai logic flags
#define AI_FLAG_DYNAMIC_FUNC (1 << 28) // Create custom AI functions for specific battles via "setdynamicaifunc" cmd
#define AI_FLAG_ROAMING (1 << 29)

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff