![]() |
Routines |
| Prev: 27667 | Up: Map | Next: 27849 |
|
Used by the routine at 27886.
|
||||
| 27805 | LD A,(26259) | Return if *26259 is not zero. | ||
| 27808 | OR A | |||
| 27809 | RET NZ | |||
| 27810 | LD HL,(26349) | HL=*26349. | ||
| 27813 | LD B,2 | B=2. | ||
| 27815 | PUSH BC | Stash BC and HL on the stack. | ||
| 27816 | PUSH HL | |||
| 27817 | LD B,3 | B=3. | ||
| 27819 | LD A,(HL) | A=*HL. | ||
| 27820 | OR A | Jump to 27839 if A is zero. | ||
| 27821 | JR Z,27839 | |||
| 27823 | CP 70 | Jump to 27839 if A is equal to 70. | ||
| 27825 | JR Z,27839 | |||
| 27827 | CP 7 | Jump to 27839 if A is equal to 7. | ||
| 27829 | JR Z,27839 | |||
|
See Immunity.
|
||||
| 27831 | LD A,1 | Write 1 to *26276. | ||
| 27833 | LD (26276),A | |||
| 27836 | POP AF | Restore AF and AF from the stack. | ||
| 27837 | POP AF | |||
| 27838 | RET | Return. | ||
| 27839 | INC HL | Increment HL by one. | ||
| 27840 | DJNZ 27819 | Decrease counter by one and loop back to 27819 until counter is zero. | ||
| 27842 | POP HL | Restore HL from the stack. | ||
| 27843 | SET 5,L | Set bit 5 of L. | ||
| 27845 | POP BC | Restore BC from the stack. | ||
| 27846 | DJNZ 27815 | Decrease counter by one and loop back to 27815 until counter is zero. | ||
| 27848 | RET | Return. | ||
| Prev: 27667 | Up: Map | Next: 27849 |