shithub: pokered

ref: 4e96f9d232cd51be9d51a76f7d0cc6211aaccdca
dir: /data/icon_pointers.asm/

View raw version
MACRO mon_icon_header
	dw \1 tile \2
	db \3
	db BANK(\1)
	dw vSprites tile (\4)
ENDM

MonPartySpritePointers:
	; gfx pointer, gfx tile offset, # tiles, vSprites tile offset
	mon_icon_header MonsterSprite,       12, 4, ICON_MON << 2
	mon_icon_header PokeBallSprite,       0, 8, ICON_BALL << 2
	mon_icon_header FairySprite,         12, 4, ICON_FAIRY << 2
	mon_icon_header BirdSprite,          12, 4, ICON_BIRD << 2
	mon_icon_header SeelSprite,           0, 4, ICON_WATER << 2
	mon_icon_header BugIconFrame2,        0, 1, ICON_BUG << 2
	mon_icon_header BugIconFrame2,        1, 1, ICON_BUG << 2 + 2
	mon_icon_header PlantIconFrame2,      0, 1, ICON_GRASS << 2
	mon_icon_header PlantIconFrame2,      1, 1, ICON_GRASS << 2 + 2
	mon_icon_header SnakeIconFrame1,      0, 1, ICON_SNAKE << 2
	mon_icon_header SnakeIconFrame1,      1, 1, ICON_SNAKE << 2 + 2
	mon_icon_header QuadrupedIconFrame1,  0, 1, ICON_QUADRUPED << 2
	mon_icon_header QuadrupedIconFrame1,  1, 1, ICON_QUADRUPED << 2 + 2
	mon_icon_header TradeBubbleIconGFX,   0, 4, ICON_TRADEBUBBLE << 2
	mon_icon_header MonsterSprite,        0, 4, ICONOFFSET + ICON_MON << 2
	mon_icon_header PokeBallSprite,       0, 8, ICONOFFSET + ICON_BALL << 2
	mon_icon_header FairySprite,          0, 4, ICONOFFSET + ICON_FAIRY << 2
	mon_icon_header BirdSprite,           0, 4, ICONOFFSET + ICON_BIRD << 2
	mon_icon_header SeelSprite,          12, 4, ICONOFFSET + ICON_WATER << 2
	mon_icon_header BugIconFrame1,        0, 1, ICONOFFSET + ICON_BUG << 2
	mon_icon_header BugIconFrame1,        1, 1, ICONOFFSET + ICON_BUG << 2 + 2
	mon_icon_header PlantIconFrame1,      0, 1, ICONOFFSET + ICON_GRASS << 2
	mon_icon_header PlantIconFrame1,      1, 1, ICONOFFSET + ICON_GRASS << 2 + 2
	mon_icon_header SnakeIconFrame2,      0, 1, ICONOFFSET + ICON_SNAKE << 2
	mon_icon_header SnakeIconFrame2,      1, 1, ICONOFFSET + ICON_SNAKE << 2 + 2
	mon_icon_header QuadrupedIconFrame2,  0, 1, ICONOFFSET + ICON_QUADRUPED << 2
	mon_icon_header QuadrupedIconFrame2,  1, 1, ICONOFFSET + ICON_QUADRUPED << 2 + 2
	mon_icon_header TradeBubbleIconGFX,   4, 4, ICONOFFSET + ICON_TRADEBUBBLE << 2