shithub: pokered

ref: 174ef99e0e0caf5e8af2825d0034c9f7b72784f8
dir: /data/tilesets/spinner_tiles.asm/

View raw version
spinner: MACRO
; \1: source
; \2: offset (BANK() chokes on literals)
; \3: dest
	dw \1 tile \2
	db 1
	db BANK(\1)
	dw vTileset tile \3
ENDM

FacilitySpinnerArrows:
	spinner SpinnerArrowAnimTiles, 0,   $20
	spinner SpinnerArrowAnimTiles, 1,   $21
	spinner SpinnerArrowAnimTiles, 2,   $30
	spinner SpinnerArrowAnimTiles, 3,   $31
	spinner Facility_GFX,          $20, $20
	spinner Facility_GFX,          $21, $21
	spinner Facility_GFX,          $30, $30
	spinner Facility_GFX,          $31, $31

GymSpinnerArrows:
	spinner SpinnerArrowAnimTiles, 1,   $3c
	spinner SpinnerArrowAnimTiles, 3,   $3d
	spinner SpinnerArrowAnimTiles, 0,   $4c
	spinner SpinnerArrowAnimTiles, 2,   $4d
	spinner Gym_GFX,               $3c, $3c
	spinner Gym_GFX,               $3d, $3d
	spinner Gym_GFX,               $4c, $4c
	spinner Gym_GFX,               $4d, $4d