Routines |
Prev: 7519 | Up: Map | Next: 7535 |
|
||||
Handler_HumpJump | 751A | LD HL,($782E) | HL=*782E. | |
751D | LD DE,$0011 | DE=0011. | ||
7520 | LD A,(HL) | A=*HL. | ||
7521 | CP $28 | Jump to Handler_HumpJump_0 if A is lower than 28. | ||
7523 | JR C,Handler_HumpJump_0 | |||
7525 | CP $46 | Compare A with 46. | ||
7527 | LD E,$08 | Alter awarded score to 0008. | ||
7529 | JR NC,Handler_HumpJump_0 | Jump to Handler_HumpJump_0 if A was higher than 46 (on line 7525). | ||
752B | LD E,$01 | Alter awarded score to 0001. | ||
Award the score.
|
||||
Handler_HumpJump_0 | 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 |