![]() |
Routines |
| Prev: 7519 | Up: Map | Next: 7535 |
|
|
||||
| Handler_HumpJump | 751A | LD HL,($782E) | HL=*LevelProgressPointer. | |
| 751D | LD DE,$0011 | DE=0011. | ||
| 7520 | LD A,(HL) | A=*HL. | ||
| 7521 | CP $28 | Jump to HumpJumpAwardScore if A is lower than 28. | ||
| 7523 | JR C,HumpJumpAwardScore | |||
| 7525 | CP $46 | Compare A with 46. | ||
| 7527 | LD E,$08 | Alter awarded score to 0008. | ||
| 7529 | JR NC,HumpJumpAwardScore | Jump to HumpJumpAwardScore if A was higher than 46 (on line 7525). | ||
| 752B | LD E,$01 | Alter awarded score to 0001. | ||
|
Award the score.
|
||||
| HumpJumpAwardScore | 752D | LD HL,($7844) | HL=*Score+DE. | |
| 7530 | ADD HL,DE | |||
| 7531 | LD ($7844),HL | Write HL to *Score. | ||
| 7534 | RET | Return. | ||
| Prev: 7519 | Up: Map | Next: 7535 |