Prev: 47603 Up: Map Next: 47636
47616: Get Size Offset
Used by the routine at DrawTopStrip.
Subtracts half of the second size at 23796, plus the third size at 23797, from the screen position at 48033.
Output
HL The result
GetSizeOffset 47616 LD HL,(48033) The screen position.
47619 LD A,(23796) Half of the second size.
47622 SRL A
47624 LD E,A
47625 LD A,(23797) Add the third size.
47628 ADD A,E
47629 LD E,A
47630 LD D,0 Subtract that from the screen position.
47632 AND A
47633 SBC HL,DE
47635 RET Return.
Prev: 47603 Up: Map Next: 47636