![]() |
Routines |
| Prev: CF38 | Up: Map | Next: D063 |
|
colour_piece runs on into it for the extra column after an end piece $13, and enters it through IY for the narrowest pieces. Each row upwards: the cell at HL, if it is inside the play area (in_play_area) and its columns 1-28.
|
||||||||||||||
| colour_one_cell | D04F | CALL in_play_area | One cell a row, upwards. | |||||||||||
| D052 | JR Z,colour_one_cell_0 | |||||||||||||
| D054 | LD A,L | |||||||||||||
| D055 | AND $1F | |||||||||||||
| D057 | DEC A | |||||||||||||
| D058 | CP $1C | |||||||||||||
| D05A | JR NC,colour_one_cell_0 | |||||||||||||
| D05C | LD (HL),C | |||||||||||||
| colour_one_cell_0 | D05D | AND A | ||||||||||||
| D05E | SBC HL,DE | |||||||||||||
| D060 | DJNZ colour_one_cell | |||||||||||||
| D062 | RET | |||||||||||||
| Prev: CF38 | Up: Map | Next: D063 |