![]() |
Routines |
| Prev: D3C2 | Up: Map | Next: D425 |
|
Used by the routine at PUT_TILE.
|
||||||||||||
| CLIP_TILE | D415 | NEG | C = the rows below the play area; A = the rows above it, if any | |||||||||
| D417 | LD C,A | |||||||||||
| D418 | LD A,(HL) | |||||||||||
| D419 | INC HL | |||||||||||
| D41A | SUB C | |||||||||||
| D41B | RET M | |||||||||||
| D41C | RET Z | |||||||||||
| D41D | LD B,$00 | Past the rows below; from the bottom line | ||||||||||
| D41F | ADD HL,BC | |||||||||||
| D420 | ADD HL,BC | |||||||||||
| D421 | LD D,$48 | |||||||||||
| D423 | JR PUT_TILE_1 | |||||||||||
| Prev: D3C2 | Up: Map | Next: D425 |