diff options
author | stag019 <stag019@gmail.com> | 2012-03-07 19:55:06 -0500 |
---|---|---|
committer | stag019 <stag019@gmail.com> | 2012-03-07 19:55:06 -0500 |
commit | d7c45fdde02d074d8906945d51fefddc89b7c220 (patch) | |
tree | 8c520cadf62ec9eec512296b6ae552471efcfd3c /constants.asm | |
parent | 2bb672ba9252b8930143b0ed810eb2c0c7e93fa5 (diff) |
Pokemon overworld sprites
hg-commit-id: a810d29962df
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index 09299cac..3ef503d6 100644 --- a/constants.asm +++ b/constants.asm @@ -50,6 +50,11 @@ TSETHEAD: MACRO dw \1,\2,\3 db \4,\5,\6,\7,\8 ENDM + +; macro for two nibbles +dn: MACRO + db (\1 << 4 | \2) + ENDM ; macro for putting a byte then a word dbw: MACRO @@ -2009,6 +2014,19 @@ BRN EQU %00010000 FRZ EQU %00100000 PAR EQU %01000000 +; pokemon's overworld sprites +SPRITE_MON EQU $0 +SPRITE_BALL_M EQU $1 +SPRITE_HELIX EQU $2 +SPRITE_FAIRY EQU $3 +SPRITE_BIRD_M EQU $4 +SPRITE_WATER EQU $5 +SPRITE_BUG EQU $6 +SPRITE_GRASS EQU $7 +SPRITE_SNAKE EQU $8 +SPRITE_QUADRUPED EQU $9 + +; overworld sprites SPRITE_RED EQU $01 SPRITE_BLUE EQU $02 SPRITE_OAK EQU $03 |