Types
Sprite = object y*: uint8 ## in pixels x*: uint8 ## in pixels tile*: uint8
- Sprite format required by Game Boy hardware.
SpriteFlag {.size: 1.} = enum Bank1Gfx = 0, UseObp1, FlipX, FlipY, Priority
SpriteFlags = object palette* {.bitsize: 3.}: uint8 attributes* {.bitsize: 5.}: set[SpriteFlag]