Prev: 1A2B Up: Map Next: 1A8E
1A5E: OELRoutine16
Used by the routine at OELRoutine15.
OELRoutine16 1A5E LD HL,(OELWord13)
1A61 LD E,(HL)
1A62 INC HL
1A63 LD D,(HL)
1A64 PUSH DE
1A65 LD HL,(lone_table_values)
1A68 LD A,(OELVariable02)
1A6B OR A
1A6C JR Z,OELRoutine16_0
1A6E LD HL,(escape_table_values)
OELRoutine16_0 1A71 LD DE,$03FF
1A74 ADD HL,DE
1A75 POP BC
1A76 PUSH BC
1A77 OR A
1A78 SBC HL,BC
1A7A PUSH HL
1A7B LD A,(OELVariable13)
1A7E LD E,A
1A7F LD D,$00
1A81 POP BC
1A82 POP HL
1A83 PUSH HL
1A84 OR A
1A85 SBC HL,DE
1A87 EX DE,HL
1A88 POP HL
1A89 INC HL
1A8A INC DE
1A8B LDIR
1A8D RET
Prev: 1A2B Up: Map Next: 1A8E