Add AI_FLAG_PP_STALL_PREVENTION to ai_flags.md (#6756)

This commit is contained in:
Pawkkie 2025-05-03 04:48:30 -04:00 committed by GitHub
parent 68d9c0e456
commit 5e2a066eda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,3 +179,6 @@ AI will determine whether it would switch out in the player's situation or not,
## `AI_FLAG_PREDICT_INCOMING_MON`
This flag requires `AI_FLAG_PREDICT_SWITCH` to function. If the AI predicts that the player will switch, this flag allows the AI to run its move scoring calculation against the Pokémon it expects the player to switch into, instead of the Pokémon that it expects to switch out.
## `AI_FLAG_PP_STALL_PREVENTION`
This flag aims to prevent the player from PP stalling the AI by switching between immunities. The AI mon's move scores will slowly decay for absorbed moves over time, eventually making its moves unpredictable. More detailed control for this behaviour can be customized in the `ai.h` config file.