Prev: 59152 Up: Map Next: 60177
60152: Copy The Character Onto Both Records
Copies the character being processed onto the two records and gives both the location 50. Reached from the script command at 59999, run by DispatchCharacterScript. Run by 51812 after the display record at 60150. A non-zero return means the script step succeeded.
CopyCharacterOntoBothRecords 60152 LD A,(41012) Read the room display parameter.
60155 LD IX,(40981) Store that id at offset 1 of the record at 40981.
60159 LD (IX+1),A
60162 LD (IX+15),50 Give that record the location 50.
60166 LD IX,(40979) Give the record at 40979 the location 50.
60170 LD (IX+15),50
60174 OR %00000001 Reset the zero flag.
60176 RET Return.
Prev: 59152 Up: Map Next: 60177