Prev: 53987 Up: Map Next: 54034
54019: Point IY at first entry in current level's complex state data that has class A
Used by the routines at 36753 and 53987.
Input
A Value of an entity class
Output
IY Address of complex state data for first entity of class A
54019 LD IY,(34238) Load start address of current level's complex state data into IY
This entry point is used by the routine at 53987.
54023 LD DE,13 Load DE with 13 (as entries in complex state data are 13 bytes wide)
54026 CP (IY+8) If current IY entity has class A...
54029 RET Z ...then return
54030 ADD IY,DE Advance to entry for next entity
54032 JR 54026 Loop back to 54026
Prev: 53987 Up: Map Next: 54034