Prev: 56428 Up: Map Next: 56487
56461: Copy The Saved Character Id
Copies the saved character's id onto the current object. A non-zero return means the script step succeeded. Run through the table at 40760 by ProcessObjectDisplayLogic_SavedCharacterMove.
CopySavedCharacterIdentifier 56461 DEFB 106,16,184,221 Display record read by ProcessDisplayRecord: flags 106 value 16 handler 56760.
Run by 51812 after the display record at CopySavedCharacterIdentifier.
56465 LD IX,(40979) Read the current object and read the current character record.
56469 LD IY,(40983)
56473 LD A,(IY+1) Store the moved marker.
56476 LD (IX+1),A
56479 OR %00000001 Reset the zero flag.
56481 RET Return.
Reached through the display record at 56513, dispatched by DispatchLookedUpHandlerThird.
The room display parameter is 255 or 254 or the object's room matches the character.
56482 CALL LookUpRoomDisplayParameter Jump ahead to ApplyRoomDisplay_ReturnText if the room display parameter is 255 or 254 or the object's room byte matches the character being processed.
56485 JR C,ApplyRoomDisplay_ReturnText
Prev: 56428 Up: Map Next: 56487