| Alien (BUGFIX 1.7) | Routines |
| Prev: 44651 | Up: Map | Next: 44722 |
|
RatingScore += 1 for every room whose damage meter is still below "20" (tens digit < '2') — 34 rooms, up to 34 points.
Used by the routine at 44125.
|
||||
| 44698 | LD BC,8704 | B = 34 rooms, C = 0 points | ||
| 44701 | LD HL,30006 | walk the damage TENS digits | ||
| 44704 | LD A,(HL) | below '2' (under 20 damage)? | ||
| 44705 | CP 50 | |||
| 44707 | JR NC,44710 | |||
| 44709 | INC C | yes: +1 | ||
| 44710 | INC HL | |||
| 44711 | INC HL | |||
| 44712 | DJNZ 44704 | |||
| 44714 | LD A,(40503) | RatingScore += the count | ||
| 44717 | ADD A,C | |||
| 44718 | LD (40503),A | |||
| 44721 | RET | |||
| Prev: 44651 | Up: Map | Next: 44722 |