summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-08-13 19:44:56 -0700
committeryenatch <yenatch@gmail.com>2014-08-13 19:44:56 -0700
commitda799c80d4f6f3c1b22687b6177ff09fecf6c324 (patch)
treeb013a1069e8175346cdf3de7d80778ab7c975046 /constants
parent88a15c50387d02a7cdb95b508c43fa9f10a46982 (diff)
Better trainer AI comments and finish off trainer attributes.
Diffstat (limited to 'constants')
-rw-r--r--constants/battle_constants.asm5
-rw-r--r--constants/misc_constants.asm15
2 files changed, 19 insertions, 1 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm
index f5dbe0b42..7615fbbce 100644
--- a/constants/battle_constants.asm
+++ b/constants/battle_constants.asm
@@ -109,15 +109,18 @@ SUBSTATUS_LEECH_SEED EQU 7
SUBSTATUS_RAGE EQU 6
SUBSTATUS_RECHARGE EQU 5
SUBSTATUS_SUBSTITUTE EQU 4
+; EQU 3
SUBSTATUS_FOCUS_ENERGY EQU 2
SUBSTATUS_MIST EQU 1
-SUBSTATUS_UNLEASH EQU 0
+SUBSTATUS_X_ACCURACY EQU 0
SUBSTATUS_CANT_RUN EQU 7
SUBSTATUS_DESTINY_BOND EQU 6
SUBSTATUS_LOCK_ON EQU 5
SUBSTATUS_ENCORED EQU 4
SUBSTATUS_TRANSFORMED EQU 3
+; EQU 2
+; EQU 1
SUBSTATUS_TOXIC EQU 0
; environmental
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 5b291f6e8..5ad9826f4 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -73,3 +73,18 @@ STEP_TURN EQU 5
STEP_BACK_LEDGE EQU 6
STEP_WALK_IN_PLACE EQU 7
+
+; ai
+CONTEXT_USE_F EQU 6
+UNKNOWN_USE_F EQU 5
+ALWAYS_USE_F EQU 4
+SWITCH_SOMETIMES_F EQU 2
+SWITCH_RARELY_F EQU 1
+SWITCH_OFTEN_F EQU 0
+
+CONTEXT_USE EQU 1 << CONTEXT_USE_F
+UNKNOWN_USE EQU 1 << UNKNOWN_USE_F
+ALWAYS_USE EQU 1 << ALWAYS_USE_F
+SWITCH_SOMETIMES EQU 1 << SWITCH_SOMETIMES_F
+SWITCH_RARELY EQU 1 << SWITCH_RARELY_F
+SWITCH_OFTEN EQU 1 << SWITCH_OFTEN_F