summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
Diffstat (limited to 'constants')
-rw-r--r--constants/move_constants.asm5
-rw-r--r--constants/move_effect_constants.asm13
-rwxr-xr-xconstants/status_constants.asm12
-rw-r--r--constants/wram_constants.asm3
4 files changed, 25 insertions, 8 deletions
diff --git a/constants/move_constants.asm b/constants/move_constants.asm
index 524e7814..9fdb1ce7 100644
--- a/constants/move_constants.asm
+++ b/constants/move_constants.asm
@@ -1,3 +1,5 @@
+NUM_MOVES EQU $A4
+
POUND EQU $01
KARATE_CHOP EQU $02
DOUBLESLAP EQU $03
@@ -163,6 +165,7 @@ SUPER_FANG EQU $A2
SLASH EQU $A3
SUBSTITUTE EQU $A4
STRUGGLE EQU $A5
+
; these do double duty as animation identifiers
SHOWPIC_ANIM EQU $A6 ; redraw monster pic
STATUS_AFFECTED_ANIM EQU $A7 ; effect when monster receives a status aliment
@@ -178,4 +181,4 @@ GREATTOSS_ANIM EQU $C5 ; toss Great Ball
ULTRATOSS_ANIM EQU $C6 ; toss Ultra Ball or Master Ball
HIDEPIC_ANIM EQU $C8 ; monster disappears
ROCK_ANIM EQU $C9 ; throw rock
-BAIT_ANIM EQU $CA ; throw bait \ No newline at end of file
+BAIT_ANIM EQU $CA ; throw bait
diff --git a/constants/move_effect_constants.asm b/constants/move_effect_constants.asm
index 088482dc..1a6d1be6 100644
--- a/constants/move_effect_constants.asm
+++ b/constants/move_effect_constants.asm
@@ -13,14 +13,18 @@ DREAM_EATER_EFFECT EQU $08
MIRROR_MOVE_EFFECT EQU $09
ATTACK_UP1_EFFECT EQU $0A
DEFENSE_UP1_EFFECT EQU $0B
+SPEED_UP1_EFFECT EQU $0C
SPECIAL_UP1_EFFECT EQU $0D
+ACCURACY_UP1_EFFECT EQU $0E
EVASION_UP1_EFFECT EQU $0F
PAY_DAY_EFFECT EQU $10
SWIFT_EFFECT EQU $11
ATTACK_DOWN1_EFFECT EQU $12
DEFENSE_DOWN1_EFFECT EQU $13
SPEED_DOWN1_EFFECT EQU $14
+SPECIAL_DOWN1_EFFECT EQU $15
ACCURACY_DOWN1_EFFECT EQU $16
+EVASION_DOWN1_EFFECT EQU $17
CONVERSION_EFFECT EQU $18
HAZE_EFFECT EQU $19
BIDE_EFFECT EQU $1A
@@ -49,9 +53,16 @@ ATTACK_UP2_EFFECT EQU $32
DEFENSE_UP2_EFFECT EQU $33
SPEED_UP2_EFFECT EQU $34
SPECIAL_UP2_EFFECT EQU $35
+ACCURACY_UP2_EFFECT EQU $36
+EVASION_UP2_EFFECT EQU $37
HEAL_EFFECT EQU $38 ; Recover, Softboiled, Rest
TRANSFORM_EFFECT EQU $39
+ATTACK_DOWN2_EFFECT EQU $3A
DEFENSE_DOWN2_EFFECT EQU $3B
+SPEED_DOWN2_EFFECT EQU $3C
+SPECIAL_DOWN2_EFFECT EQU $3D
+ACCURACY_DOWN2_EFFECT EQU $3E
+EVASION_DOWN2_EFFECT EQU $3F
LIGHT_SCREEN_EFFECT EQU $40
REFLECT_EFFECT EQU $41
POISON_EFFECT EQU $42
@@ -73,4 +84,4 @@ DISABLE_EFFECT EQU $56
; fixed damage constants
SONICBOOM_DAMAGE EQU 20
-DRAGON_RAGE_DAMAGE EQU 40 \ No newline at end of file
+DRAGON_RAGE_DAMAGE EQU 40
diff --git a/constants/status_constants.asm b/constants/status_constants.asm
index 8dd99e1d..866ea03c 100755
--- a/constants/status_constants.asm
+++ b/constants/status_constants.asm
@@ -1,6 +1,6 @@
-; status ailments (masks)
-SLP EQU %00000111
-PSN EQU %00001000
-BRN EQU %00010000
-FRZ EQU %00100000
-PAR EQU %01000000 \ No newline at end of file
+; status ailments
+SLP EQU %111 ; mask
+PSN EQU 3
+BRN EQU 4
+FRZ EQU 5
+PAR EQU 6
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm
index 111ae584..51c5c604 100644
--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -5,3 +5,6 @@ SPRITEBUFFERSIZE EQU 7*7 * 8 ; 7 * 7 (tiles) * 8 (bytes per tile)
W_WATERRATE EQU $d8a4
W_WATERMONS EQU $d8a5
+; Overload enemy stat modifiers
+wTradeMonNick EQU $cd1e
+