Prev: 31477 Up: Map Next: 31608
31587: Inglish: Copy A Name Into The Clause
Used by the routine at Inglish_BuildTheActionSentence.
Copies an object's name, or a location's name, into the clause. An id of 255 returns at once.
Inglish_CopyANameIntoTheClause 31587 INC B Return if there is no object (B is 255).
31588 RET Z
31589 DEC B Jump to Inglish_CopyANameIntoTheClause_AddressTheName to name an object when the noun-type flag in A is zero; otherwise name a location.
31590 AND A
31591 LD A,B
31592 JR Z,Inglish_CopyANameIntoTheClause_AddressTheName
31594 CALL Table_AddressPastTheLocation Call Table_AddressPastTheLocation to address past the location.
31597 JR Inglish_CopyANameIntoTheClause_CopyTheName Jump to Inglish_CopyANameIntoTheClause_CopyTheName to copy the six name bytes.
Inglish_CopyANameIntoTheClause_AddressTheName 31599 CALL Table_AddressTheObjectName Call Table_AddressTheObjectName to address the object name.
Inglish_CopyANameIntoTheClause_CopyTheName 31602 LD BC,6 Copy the prepared bytes.
31605 LDIR
31607 RET Return.
Prev: 31477 Up: Map Next: 31608