Prev: DEB6 Up: Map Next: DEE4
DEC1: Store The Character Attribute
Stores the saved character's attribute and the room graphics parameter on the current object. A non-zero return means the script step succeeded. Run through the table at 9F38 by ProcessObjectDisplayLogic_SavedCharacterMove.
StoreCharacterAttribute DEC1 DEFB $7A,$18,$D9,$DE,$09,$00,$00,$40 Display record read by ProcessDisplayRecord: flags 7A value 18 handler DED9, parameters 09 00 00 40 28.
DEC9 DEFB $28
Run by CA64 after the display record at StoreCharacterAttribute.
DECA LD A,(IY+$0F) Read offset 0F of the record at IY.
DECD LD (IX+$0F),A Store it at offset 0F of the current object.
DED0 LD A,($A035) Read the room graphics parameter.
DED3 LD (IX+$01),A Store it as the moved marker.
DED6 OR %00000001 Reset the zero flag.
DED8 RET Return.
Reached through the display record at StoreCharacterAttribute, dispatched by DispatchLookedUpHandlerThird.
DED9 LD IX,($A013) Read the current object and read the secondary pointer.
DEDD LD IY,($A015)
DEE1 LD A,($A035) Read the room graphics parameter.
Prev: DEB6 Up: Map Next: DEE4