Routines |
Prev: 917C | Up: Map | Next: 91BB |
Used by the routine at 907B.
|
||||
919E | LD DE,$FF88 | DE=FF88. | ||
91A1 | ADD HL,DE | HL+=DE. | ||
91A2 | LD A,H | A=H. | ||
91A3 | AND %00011111 | Keep only bits 0-5. | ||
91A5 | LD H,A | H=A. | ||
91A6 | LD DE,$7000 | DE=TerrainData_Active. | ||
91A9 | SRA H | |||
91AB | RR L | |||
91AD | SRA H | |||
91AF | RR L | |||
91B1 | SRA H | |||
91B3 | RR L | |||
91B5 | ADD HL,DE | HL+=DE. | ||
91B6 | LD DE,$50C0 | DE=50C0. | ||
91B9 | JR $917C | Jump to 917C. |
Prev: 917C | Up: Map | Next: 91BB |