summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
Diffstat (limited to 'constants')
-rw-r--r--constants/battle_constants.asm4
-rw-r--r--constants/item_constants.asm19
-rw-r--r--constants/misc_constants.asm4
-rw-r--r--constants/type_constants.asm3
4 files changed, 27 insertions, 3 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
diff --git a/constants/item_constants.asm b/constants/item_constants.asm
index 06e15fa34..e790d1650 100644
--- a/constants/item_constants.asm
+++ b/constants/item_constants.asm
@@ -267,6 +267,7 @@ HELD_BERRY EQU $01
HELD_LEFTOVERS EQU $03
HELD_RESTORE_PP EQU $06
HELD_CLEANSE_TAG EQU $08
+
HELD_HEAL_POISON EQU $0a
HELD_HEAL_FREEZE EQU $0b
HELD_HEAL_BURN EQU $0c
@@ -274,7 +275,24 @@ HELD_HEAL_SLEEP EQU $0d
HELD_HEAL_PARALYZE EQU $0e
HELD_HEAL_STATUS EQU $0f
HELD_HEAL_CONFUSION EQU $10
+
+HELD_PREVENT_POISON EQU $14
+HELD_PREVENT_BURN EQU $15
+HELD_PREVENT_FREEZE EQU $16
+HELD_PREVENT_SLEEP EQU $17
+HELD_PREVENT_PARALYZE EQU $18
+HELD_PREVENT_CONFUSE EQU $19
+
+HELD_ATTACK_UP EQU $1f
+HELD_DEFENSE_UP EQU $20
+HELD_SPEED_UP EQU $21
+HELD_SP_ATTACK_UP EQU $22
+HELD_SP_DEFENSE_UP EQU $23
+HELD_ACCURACY_UP EQU $24
+HELD_EVASION_UP EQU $25
+
HELD_METAL_POWDER EQU $2a
+
HELD_NORMAL_BOOST EQU $32
HELD_FIGHTING_BOOST EQU $33
HELD_FLYING_BOOST EQU $34
@@ -292,6 +310,7 @@ HELD_ICE_BOOST EQU $3f
HELD_DRAGON_BOOST EQU $40
HELD_DARK_BOOST EQU $41
HELD_STEEL_BOOST EQU $42
+
HELD_ESCAPE EQU $48
HELD_CRITICAL_UP EQU $49
HELD_QUICK_CLAW EQU $4a
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 605344478..bf56c15a1 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -72,9 +72,9 @@ D_DOWN EQU %10000000
; screen
HP_BAR_LENGTH EQU 6
-HP_BAR_LENGTH_PX EQU 48
+HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * 8
EXP_BAR_LENGTH EQU 8
-EXP_BAR_LENGTH_PX EQU 64
+EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * 8
SCREEN_WIDTH EQU 20
SCREEN_HEIGHT EQU 18
diff --git a/constants/type_constants.asm b/constants/type_constants.asm
index 764f41453..87b1e316a 100644
--- a/constants/type_constants.asm
+++ b/constants/type_constants.asm
@@ -25,7 +25,7 @@ UNUSED_TYPES EQU const_value
const TYPE_17
const TYPE_18
const CURSE_T
-
+UNUSED_TYPES_END EQU const_value
SPECIAL EQU const_value
const FIRE
@@ -37,3 +37,4 @@ SPECIAL EQU const_value
const DRAGON
const DARK
+TYPES_END EQU const_value