Routines
| Prev: B5A4 | Up: Map | Next: B5D3 |
B5B6: Move on to the next sentence of the typed line
|
||||||||||||||||
| B5B6 | LD ($A01B),A | Remember A in $A01B | ||||||||||||||
| B5B9 | LD IX,($9FF2) | Read 9FF2 in "Game variables" into IX - The rest of the typed line (9FF2) becomes the current sentence (9FF0) | ||||||||||||||
| B5BD | LD ($9FF0),IX | Store IX in words the player has (9FF0) | ||||||||||||||
| B5C1 | LD L,(IX-$02) | Read byte -2 of the record at IX into L - Its link (the two bytes before it) becomes the new rest | ||||||||||||||
| B5C4 | LD H,(IX-$01) | Read byte -1 of the record at IX into H | ||||||||||||||
| B5C7 | LD ($9FF2),HL | Store HL in 9FF2 in "Game variables" | ||||||||||||||
| B5CA | LD (IX-$02),$00 | Set byte -2 of the record at IX to $00 - Cut the sentence's own link | ||||||||||||||
| B5CE | LD (IX-$01),$00 | Set byte -1 of the record at IX to $00 | ||||||||||||||
| B5D2 | RET | Return to the caller | ||||||||||||||
| Prev: B5A4 | Up: Map | Next: B5D3 |