Prev: CB79 Up: Map Next: CBA7
CB7B: Get Display Address Based On Flag
GetDisplayAddressBasedOnFlag CB7B LD A,($CB79)
CB7E BIT 7,A
CB80 LD HL,$C471
CB83 JR Z,GetDisplayAddressBasedOnFlag_0
CB85 LD HL,$C481
GetDisplayAddressBasedOnFlag_0 CB88 OR $80
GetDisplayAddressBasedOnFlag_1 CB8A LD E,(HL)
CB8B INC HL
CB8C LD D,(HL)
CB8D INC HL
CB8E RRCA
CB8F JR NC,GetDisplayAddressBasedOnFlag_1
CB91 LD A,D
CB92 OR E
CB93 JR Z,ProcessDisplayWithLocationCheck_0
CB95 LD A,($CB7A)
CB98 LD ($A034),A
CB9B LD HL,$6817
CB9E CALL PrintTextAndHandleControlCharacters
CBA1 CALL PrintTextToken
CBA4 JP PrintNewline
Prev: CB79 Up: Map Next: CBA7