Prev: 53968 Up: Map Next: 54019
53987: Reset complex state data for first entity of class A to that stored in initial-state table
Initial-state table is at 59821.
Used by the routines at 37639 and 48417.
Input
A Entity class value
IX (Entry at 53994 only) Address of complex state data for an entity
53987 CALL 54019 Load IX with address of complex state data for first entry in current level that has class A...
53990 PUSH IY ...
53992 POP IX ...
This entry point is used by the routine at 42064.
53994 LD IY,59821 Point IY at start of table of initial-state data for complex entities
53998 CALL 54023 Advance IY to first entry in copied complex state data that has class A
54001 PUSH IX Store IX (address of entry in complex state data to overwrite)
54003 LD B,E Load B with 13 (DE set to 13 in routine at 54019)
54004 LD A,(IY+0) Overwrite IX data entry with IY data...
54007 LD (IX+0),A ...
54010 INC IX ...
54012 INC IY ...
54014 DJNZ 54004 ...
54016 POP IX Restore IX (address of entry in complex state data just overwritten)
54018 RET Return
Prev: 53968 Up: Map Next: 54019