Prev: 26503 Up: Map Next: 26524
26513: 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 26513 LD A,(IX+4) A=the stage from IX+4.
26516 SLA A Double the stage to make an offset into the table.
26518 LD HL,26503 HL=FlowerSpriteTable.
26521 JP GetSpriteFromTable Jump to GetSpriteFromTable to read the address from the table.
Prev: 26503 Up: Map Next: 26524