shithub: pokecrystal

Download patch

ref: 1b25964425131f0446209d00cea8910ad769bb61
parent: 95e0d98283dea2aa376e5834fe49dfdaee487f00
author: IIMarckus <[email protected]>
date: Tue Mar 20 18:03:03 EDT 2012

Add type constants.

--- a/constants.asm
+++ b/constants.asm
@@ -508,3 +508,22 @@
 ROCK_SMASH   EQU $F9
 WHIRLPOOL    EQU $FA
 BEAT_UP      EQU $FB
+
+; type name constants
+NORMAL   EQU $00
+FIGHTING EQU $01
+FLYING   EQU $02
+POISON   EQU $03
+GROUND   EQU $04
+ROCK     EQU $05
+BUG      EQU $07
+GHOST    EQU $08
+STEEL    EQU $09
+FIRE     EQU $14
+WATER    EQU $15
+GRASS    EQU $16
+ELECTRIC EQU $17
+PSYCHIC  EQU $18
+ICE      EQU $19
+DRAGON   EQU $1A
+DARK     EQU $1B