Prev: AFC7 Up: Map Next: AFDB
AFD5: Dispatch on object type
Used by the routine at upd_127.
Byte 0 of an object record is its type, which is also its sprite number. This looks the type up in upd_sprite_jmp_tbl and jumps to the handler. Handlers animate an object by changing this byte, so the same object passes through several types -- and several handlers -- as it moves.
jump_to_upd_object AFD5 LD L,(IX+$00) the type indexes the table of handlers
AFD8 LD BC,upd_sprite_jmp_tbl
Prev: AFC7 Up: Map Next: AFDB