![]() |
Routines |
| Prev: D60B | Up: Map | Next: D62C |
|
Used by the routine at wipe_top_edge.
|
||||
| wipe_height | D61C | SUB B | L = the height in rows | |
| D61D | LD L,A | |||
| D61E | LD A,B | an area that starts above the top of the screen has nothing to wipe | ||
| D61F | CP $C0 | |||
| D621 | JR NC,wipe_next_object | |||
| D623 | ADD A,L | if it runs past line 192, keep only the part below | ||
| D624 | SUB $C0 | |||
| D626 | JR C,wipe_rect | |||
| D628 | NEG | |||
| D62A | ADD A,L | |||
| D62B | LD L,A | |||
| Prev: D60B | Up: Map | Next: D62C |