Hunchback | Routines |
Prev: 6AD1 | Up: Map | Next: 6B08 |
6AEB | LD A,($60AD) | Get the number of bonus bells. | ||
6AEE | CP $00 | Return if we don't have any? | ||
6AF0 | RET Z | |||
6AF1 | LD HL,$5821 | Starting attribute. | ||
6AF4 | LD DE,$0020 | Position to move by for each one. | ||
6AF7 | LD A,($60AD) | Get the number of bonus bells? | ||
6AFA | LD B,A | Double it and put it in B. | ||
6AFB | ADD A,B | |||
6AFC | LD B,A | |||
6AFD | LD (HL),$06 | Make the bell visible. | ||
6AFF | ADD HL,DE | |||
6B00 | LD (HL),$06 | |||
6B02 | SBC HL,DE | |||
6B04 | INC HL | Point to next attribute. | ||
6B05 | DJNZ $6AFD | Loop if there are more bells to draw. | ||
6B07 | RET |
Prev: 6AD1 | Up: Map | Next: 6B08 |