diff options
author | yenatch <yenatch@gmail.com> | 2014-06-13 21:18:14 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-13 21:18:14 -0700 |
commit | eb9fc6676cfed0460d19ce441134dbcdfce49b0d (patch) | |
tree | c848f4046320a1dc1141bf454330f28eac992777 /constants/battle_constants.asm | |
parent | 560b892b2d24dc7d8766d59eb65337a07e7b3235 (diff) |
More battle code cleanup.
- Use more substatus constants.
- Reformat some code to be more atomic.
- Add constants for unused status prevention held item effects.
- Remove pointless or redundant comments.
Diffstat (limited to 'constants/battle_constants.asm')
-rw-r--r-- | constants/battle_constants.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index d4a5abb14..88a2fd27d 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -1,6 +1,8 @@ MAX_LEVEL EQU 100 NUM_MOVES EQU 4 +REST_TURNS EQU 2 + ATTACK EQU 0 DEFENSE EQU 1 SPEED EQU 2 @@ -110,6 +112,7 @@ SUBSTATUS_UNLEASH EQU 0 SUBSTATUS_CANT_RUN EQU 7 SUBSTATUS_DESTINY_BOND EQU 6 SUBSTATUS_LOCK_ON EQU 5 +SUBSTATUS_TRANSFORMED EQU 3 SUBSTATUS_TOXIC EQU 0 ; environmental @@ -119,6 +122,7 @@ SCREENS_SAFEGUARD EQU 2 SCREENS_SPIKES EQU 0 ; weather +WEATHER_NONE EQU 0 WEATHER_RAIN EQU 1 WEATHER_SUN EQU 2 WEATHER_SANDSTORM EQU 3 |