Prev: F3D3 Up: Map Next: F3EC
F3E0: Given a room number, return the location of a bank card
Used by the routines at DE28 and F3EC.
Input
A Room number
DE On exit, holds the co-ordinates of the card
F3E0 ADD A,A Double the room number to get a word offset.
F3E1 LD E,A Put this in DE.
F3E2 LD D,$00
F3E4 LD HL,$F410 Add the base address of the bank card locations. (F410)
F3E7 ADD HL,DE
F3E8 LD E,(HL) Put the value found in DE and return.
F3E9 INC HL
F3EA LD D,(HL)
F3EB RET
Prev: F3D3 Up: Map Next: F3EC