![]() |
Routines |
| Prev: D2C0 | Up: Map | Next: D2E1 |
|
Used by the routine at DrawTerrain.
Tests the vertical position of the start of a segment of a tile in the top row against the vertical position in B.
|
||||||||||||
| TestTopRow | D2DA | LD A,($CE44) | The segment row. | |||||||||
| D2DD | CP B | Return if A is less than B. | ||||||||||
| D2DE | RET C | |||||||||||
| D2DF | XOR A | Clear A. | ||||||||||
| D2E0 | RET | Return. | ||||||||||
| Prev: D2C0 | Up: Map | Next: D2E1 |