Prev: ACF1 Up: Map Next: AD0D
ACFC: Searches for start of object noun string.
Used by the routines at Room_Initialise, Offer_Action, Offer_Handle and Inv_Update.
Input
A Object index.
EXIT HL = Noun address.
Output
Limited to 0x7F objects.
Object_GetNounAddr ACFC AND $7F
ACFE LD E,A
ACFF LD HL,Object_nouns
AD02 LD BC,$0000
AD05 LD A,$5E
Object_GetNounAddr_0 AD07 CPIR
AD09 DEC E
AD0A JR NZ,Object_GetNounAddr_0
AD0C RET
Prev: ACF1 Up: Map Next: AD0D