Prev: 39090 Up: Map Next: 39125
39116: Read World Map
Input
IX Object record
Output
E First byte of the entry (the frame flags of the room)
D Second byte of the entry
Read_World_Map 39116 PUSH HL Stash HL on the stack.
39117 CALL Find_World_Map_Address Find the address of the entry.
39120 LD E,(HL) Fetch the first byte of the entry.
39121 INC HL Move on to the second byte.
39122 LD D,(HL) Fetch the second byte of the entry.
39123 POP HL Restore HL from the stack.
39124 RET Return.
Prev: 39090 Up: Map Next: 39125