summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-25 13:40:10 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-25 14:23:16 -0500
commite34e68095df1f91dc5357669c187623d7cba39c6 (patch)
tree5a452f39d9c44012df90a12f1524042c6dbcd062 /constants
parentda2b01a36c6855230ec36c42bd49e7cf2ca2d348 (diff)
Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % $100` or `X >> 8` and `X & $ff`
Diffstat (limited to 'constants')
-rw-r--r--constants/battle_constants.asm8
1 files changed, 6 insertions, 2 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm
index f86cd0873..e9d393fcc 100644
--- a/constants/battle_constants.asm
+++ b/constants/battle_constants.asm
@@ -10,8 +10,12 @@ NUM_MOVES EQU 4
BASE_STAT_LEVEL EQU 7
MAX_STAT_LEVEL EQU 13
-; turns that Rest sleep lasts
-REST_TURNS EQU 2
+; minimum damage before type effectiveness
+MIN_NEUTRAL_DAMAGE EQU 2
+
+; turns that sleep lasts
+REST_SLEEP_TURNS EQU 2
+TREEMON_SLEEP_TURNS EQU 7
; PlayerStatLevels and EnemyStatLevels indexes
; used for GetStatName