Prev: A18D Up: Map Next: A1AA
A19F: Point DE at the frame list of a record's graphic
Used by the routines at draw_star_layer, draw_trail and sprite_graphic_width.
Each graphic number has an entry in the graphic table, the words from the 25th byte of object_handlers on: the address of a list of words, one per frame or variant, each the address of a graphic. This returns that list for the record's graphic (+0). object_graphic goes one step further and picks the frame.
Input
IX The record
Output
DE The graphic's frame list
graphic_frame_list A19F LD C,(IX+$00)
A1A2 LD HL,object_graphic_lists
A1A5 CALL table_word
A1A8 EX DE,HL
A1A9 RET
Prev: A18D Up: Map Next: A1AA