![]() |
Routines |
| Prev: BE08 | Up: Map | Next: BE26 |
|
Used by the routine at SelectNextTile.
Sets the tile to look at next to the one in the zone above the current one, at the bottom of it, for SelectNextTile.
|
||||
| SelectPreviousZone | BE10 | LD A,($5C2B) | The object reaches into the zone above. | |
| BE13 | LD ($5C2D),A | Update the segment screen row. | ||
| BE16 | LD HL,($5C30) | Fetch the word at BackToFrontFlag into HL. | ||
| BE19 | DEC H | Step H back. | ||
| BE1A | LD L,$B7 | L=B7. | ||
| BE1C | LD ($BF81),HL | The tile in the zone above, at its bottom. | ||
| BE1F | LD A,($CE43) | The segment column. | ||
| BE22 | LD ($5C2C),A | Update the segment screen column. | ||
| BE25 | RET | Return. | ||
| Prev: BE08 | Up: Map | Next: BE26 |