Prev: 53952 Up: Map Next: 53985
53978: Test Top Row
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.
Input
B Vertical position to test against
Output
F Zero if the start of the segment is at the position or below it
TestTopRow 53978 LD A,(52804) The segment row.
53981 CP B Return if A is less than B.
53982 RET C
53983 XOR A Clear A.
53984 RET Return.
Prev: 53952 Up: Map Next: 53985