Routines |
Prev: 36904 | Up: Map | Next: 37125 |
The entry point to this routine is at 37118.
|
||||
37098 | LD (HL),48 | Roll the digit over from '9' to '0' | ||
37100 | DEC HL | Point HL at the next digit to the left | ||
37101 | LD A,L | Is this the 10000s digit? | ||
37102 | CP 42 | |||
37104 | JR NZ,37118 | Jump if not | ||
Willy has scored another 10000 points. Give him an extra life.
|
||||
37106 | LD A,8 | Set the screen flash counter at 33880 to 8 | ||
37108 | LD (33880),A | |||
37111 | LD A,(33879) | Increment the number of lives remaining at 33879 | ||
37114 | INC A | |||
37115 | LD (33879),A | |||
37118 | LD A,(HL) | Pick up a digit of the score | ||
37119 | CP 57 | Is it '9'? | ||
37121 | JR Z,37098 | Jump if so | ||
37123 | INC (HL) | Increment the digit | ||
37124 | RET |
Prev: 36904 | Up: Map | Next: 37125 |