![]() |
Routines |
| Prev: 9EA5 | Up: Map | Next: 9ED9 |
|
Used by the routine at test_landscape_piece.
Upside down (test_slope, with the depth negated).
|
||||||||
| test_slope_upside_down | 9EC0 | CALL test_slope | ||||||
| 9EC3 | LD A,B | |||||||
| 9EC4 | NEG | |||||||
| 9EC6 | LD B,A | |||||||
| 9EC7 | LD A,(scratch_count) | |||||||
| 9ECA | AND A | |||||||
| 9ECB | RET Z | |||||||
| 9ECC | LD A,L | |||||||
| 9ECD | ADD A,D | |||||||
| 9ECE | CP (IX+$00) | |||||||
| 9ED1 | JP NC,test_slope_reversed_0 | |||||||
| 9ED4 | XOR A | |||||||
| 9ED5 | LD (scratch_count),A | |||||||
| 9ED8 | RET | |||||||
| Prev: 9EA5 | Up: Map | Next: 9ED9 |