| The Hobbit (v1.0) | Routines |
| Prev: A91B | Up: Map | Next: A968 |
|
Two turns after the spider web was broken (A2A7) the spiders have mended it: it is no longer broken, it is closed again (blocking the way), its strength is doubled, and its first adjective is set back to SPIDER (it had become BROKEN, A0BC).
Doubling uses SLA, which drops the top bit: the web starts with strength 64, so the first mending makes it 128, and the second makes it 0.
|
||||
| A950 | LD IX,$C0F5 | IX = the spider web's record | ||
| A954 | RES 3,(IX+$07) | Not broken any more | ||
| A958 | RES 5,(IX+$07) | Closed again | ||
| A95C | SLA (IX+$05) | Twice as strong (64, then 128, then 0) | ||
| A960 | LD DE,$0627 | Its adjective is SPIDER again... | ||
| A963 | LD ($C0FF),DE | ...instead of BROKEN | ||
| A967 | RET | |||
| Prev: A91B | Up: Map | Next: A968 |