![]() |
Routines |
| Prev: 47603 | Up: Map | Next: 47636 |
|
Used by the routine at DrawTopStrip.
|
||||||||
| 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 |