Prev: 54863 Up: Map Next: 54883
54873: Move Up Row
Used by the routine at DrawTownPanel.
Moves a screen address up by one row of characters.
Input
HL The screen address
Output
HL The new screen address
MoveUpRow 54873 LD A,L Subtract thirty-two from the low byte.
54874 SUB 32
54876 LD L,A
54877 RET NC Return if it has not gone into the previous third.
54878 LD A,H Subtract eight from the high byte.
54879 SUB 8
54881 LD H,A
54882 RET Return.
Prev: 54863 Up: Map Next: 54883