| ← B269 | Map | B295 → |
B283: Score an ordinary brick, but not a revealed prize glyph
|
On the brick-hit path, scores an ordinary brick: it falls into the brick scorer. A revealed prize glyph scores nothing.
|
|||
| score_brick_if_ordinary | B283 | LD A,(HL) | HL points at the brick's sub-frame counter, which the caller just zeroed, so this guard never returns. |
| B284 | CP $06 | ||
| B286 | RET NC | ||
| B287 | LD HL,(hit_brick_addr) | Re-read the struck brick's tile address. | |
| B28A | LD A,(HL) | ||
| B28B | CP $6C | The safety net glyph scores nothing. | |
| B28D | RET Z | ||
| B28E | CP $79 | The glyph range is prize glyphs, which score nothing, so return; ordinary bricks go on to be scored. | |
| B290 | JR C,score_brick | ||
| B292 | CP $A5 | ||
| B294 | RET C | ||
| ← B269 | Map | B295 → |
