summaryrefslogtreecommitdiff
path: root/constants/battle.inc
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-10-28 15:41:15 -0700
committerYamaArashi <shadow962@live.com>2016-10-28 15:41:15 -0700
commitd9e59a388c7c4b2464769963b3d58980ce742f70 (patch)
treedc2c4dc78b6272854bfddd83c029323acd712391 /constants/battle.inc
parent38076cb64093e5d50323075516b832111dc59c92 (diff)
included .s to .inc
Diffstat (limited to 'constants/battle.inc')
-rw-r--r--constants/battle.inc55
1 files changed, 55 insertions, 0 deletions
diff --git a/constants/battle.inc b/constants/battle.inc
new file mode 100644
index 000000000..c6094b15f
--- /dev/null
+++ b/constants/battle.inc
@@ -0,0 +1,55 @@
+@ status 1
+.equiv SLP, 0x07
+.equiv PSN, 0x08
+.equiv BRN, 0x10
+.equiv FRZ, 0x20
+.equiv PAR, 0x40
+.equiv TOX, 0x80
+
+@ status 2
+.equiv S_CONFUSED, 0x00000007
+.equiv S_CONTINUE, 0x00001000
+.equiv S_TEMP_TRAP, 0x0000E000 @ Wrap, Bind, etc.
+.equiv S_INFATUATED, 0x000F0000
+.equiv S_FOCUS_ENERGY, 0x00100000
+.equiv S_SUBSTITUTE, 0x01000000
+.equiv S_MEAN_LOOK, 0x04000000
+.equiv S_NIGHTMARE, 0x08000000
+.equiv S_CURSED, 0x10000000
+.equiv S_FORESIGHT, 0x20000000
+.equiv S_TORMENT, 0x80000000
+
+@ status 3
+.equiv S_LEECH_SEED, 0x00000004
+.equiv S_ALWAYS_HIT, 0x00000010
+.equiv S_PERISH_SONG, 0x00000020
+.equiv S_ROOTED, 0x00000400
+.equiv S_YAWN, 0x00001800
+.equiv S_IMPRISONED, 0x00002000
+.equiv S_MUD_SPORT, 0x00010000
+.equiv S_WATER_SPORT, 0x00020000
+
+@ status 4
+.equiv S_REFLECT, 0x0001
+.equiv S_LIGHT_SCREEN, 0x0002
+.equiv S_SPIKES, 0x0010
+.equiv S_SAFEGUARD, 0x0020
+.equiv S_FUTURE_SIGHT, 0x0040
+.equiv S_MIST, 0x0100
+
+.equiv TARGET, 0
+.equiv USER, 1
+
+.equiv WEATHER_SUN, 0
+.equiv WEATHER_RAIN, 1
+.equiv WEATHER_SANDSTORM, 2
+.equiv WEATHER_HAIL, 3
+
+ enum_start 1
+ enum ATTACK
+ enum DEFENSE
+ enum SPEED
+ enum SP_ATTACK
+ enum SP_DEFENSE
+ enum ACCURACY
+ enum EVASION