diff options
Diffstat (limited to 'asm/macros.s')
-rw-r--r-- | asm/macros.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/asm/macros.s b/asm/macros.s index 64b77383d..c97c6f177 100644 --- a/asm/macros.s +++ b/asm/macros.s @@ -63,3 +63,16 @@ .byte (\shadow_color << 4) | \bg_color .2byte 0 ; padding .endm + + .macro pokedex_entry category_name, height, width, text_pointer, pokemon_scale, pokemon_offset, trainer_scale, trainer_offset + .charmapstr "\category_name", 12 + .2byte \height ; in decimeters + .2byte \width ; in hectograms + .4byte \text_pointer + .2byte 0 ; unused + .2byte \pokemon_scale + .2byte \pokemon_offset + .2byte \trainer_scale + .2byte \trainer_offset + .2byte 0 ; padding + .endm |