Prev: 40003 Up: Map Next: 40032
40022: Set The Object Held Mark
Used by the routines at MarkObjectAndJump, SetHeldMark and SetHeldMark_OtherObject.
Looks the object up and sets the held mark on its attribute, then tells the script this step worked.
SetObjectHeldMark 40022 CALL FetchObjectDataPointer Call FetchObjectDataPointer to look that object up.
40025 SET 7,(IX+5) Mark the object-attribute flag.
40029 OR %00000001 Reset the zero flag.
40031 RET Return.
Prev: 40003 Up: Map Next: 40032