Prev: 44633 Up: Map Next: 44671
44650: Initialise Character Data Structure
Used by the routines at 43698, 45084, ProcessCharacterData, 45375 and 45403.
Initialises a character data structure by finding the character with ID 30 storing the pointer to it in the previous character data location, and setting IY to point to the new character data.
Input
E Flags
Output
IY Pointer to the initialised character data structure
InitialiseCharacterDataStructure 44650 CALL InitialiseCharacterSearch
44653 LD A,30
44655 CALL AllocateMemory
44658 PUSH IX
44660 POP HL
44661 LD (IY-2),L
44664 LD (IY-1),H
44667 PUSH HL
44668 POP IY
44670 RET
Prev: 44633 Up: Map Next: 44671