Prev: C79A Up: Map Next: C7C6
C7B9: Get character struct
This returns the character struct indexed by A.
Input
A Character index.
Output
HL Points to character struct.
get_character_struct C7B9 LD L,A Multiply A by seven
C7BA ADD A,A
C7BB ADD A,A
C7BC ADD A,A
C7BD SUB L
C7BE LD HL,$7612 Point HL at character_structs
C7C1 ADD A,L Combine
C7C2 LD L,A
C7C3 RET NC
C7C4 INC H
C7C5 RET Return
Prev: C79A Up: Map Next: C7C6