Prev: 6787 Up: Map Next: 679C
6791: Get Flower Sprite
Used by the routine at UpdateBloomingFlower.
Looks up the sprite for the stage of the flower.
Input
IX Flower object
Output
DE Sprite data
GetFlowerSprite 6791 LD A,(IX+$04) A=the stage from IX+04.
6794 SLA A Double the stage to make an offset into the table.
6796 LD HL,$6787 HL=FlowerSpriteTable.
6799 JP GetSpriteFromTable Jump to GetSpriteFromTable to read the address from the table.
Prev: 6787 Up: Map Next: 679C