From a7fbc916d47f0dd0c1e9ee2b54d0b93a848f88d3 Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 27 Mar 2013 23:08:47 -0400 Subject: [PATCH] sub/status constants --- constants.asm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/constants.asm b/constants.asm index b835db3cf..395c41b65 100644 --- a/constants.asm +++ b/constants.asm @@ -3442,6 +3442,44 @@ BATTLE_VARS_LAST_MOVE EQU 19 BATTLE_VARS_LAST_MOVE_OPP EQU 20 +SUBSTATUS_IN_LOVE EQU 7 +SUBSTATUS_ENCORED EQU 6 +SUBSTATUS_ENDURE EQU 5 +SUBSTATUS_PERISH EQU 4 +SUBSTATUS_PROTECT EQU 2 +SUBSTATUS_CURSE EQU 1 +SUBSTATUS_NIGHTMARE EQU 0 + +SUBSTATUS_CURLED EQU 0 + +SUBSTATUS_CONFUSED EQU 7 +SUBSTATUS_FLYING EQU 6 +SUBSTATUS_UNDERGROUND EQU 5 +SUBSTATUS_CHARGED EQU 4 +SUBSTATUS_FLINCHED EQU 3 +SUBSTATUS_ROLLOUT EQU 1 +SUBSTATUS_BIDE EQU 0 + +SUBSTATUS_LEECH_SEED EQU 7 +SUBSTATUS_RAGE EQU 6 +SUBSTATUS_RECHARGE EQU 5 +SUBSTATUS_SUBSTITUTE EQU 4 +SUBSTATUS_FOCUS_ENERGY EQU 2 +SUBSTATUS_UNLEASH EQU 0 + +SUBSTATUS_DESTINY_BOND EQU 6 +SUBSTATUS_LOCK_ON EQU 5 + + +; status +SLP EQU 7 +PSN EQU 1 << 3 +BRN EQU 1 << 4 +FRZ EQU 1 << 5 +PAR EQU 1 << 6 + + + ; battle animations ; animations below fc are 1:1 with move constants ANIM_CONFUSED EQU $103