Routines |
Prev: 64512 | Up: Map | Next: 64579 |
Used by the routines at 31670 (to add the rope) and 64512 (to remove it). Also updates the screen refresh buffer (SRB) once the rope has been added or removed.
|
||||
64549 | PUSH HL | |||
64550 | PUSH DE | |||
64551 | LD HL,47386 | Flip bit 1 of the Z values in the block at 47360 that correspond to the rope (reset=rope, set=no rope) | ||
64554 | LD A,(HL) | |||
64555 | XOR 2 | |||
64557 | LD (HL),A | |||
64558 | INC L | |||
64559 | LD (HL),A | |||
64560 | LD E,208 | This is the x-coordinate of the left end of the rope | ||
64562 | LD BC,2815 | B=10 (y-coordinate of the rope), C=255 (11111111) | ||
64565 | CALL 61731 | Update the SRB for the left half of the rope | ||
64568 | LD E,216 | This is the x-coordinate of the middle of the rope | ||
64570 | LD BC,2815 | B=10 (y-coordinate of the rope), C=255 (11111111) | ||
64573 | CALL 61731 | Update the SRB for the right half of the rope | ||
64576 | POP DE | |||
64577 | POP HL | |||
64578 | RET |
Prev: 64512 | Up: Map | Next: 64579 |