Prev: 42932 Up: Map Next: 42949
42938: Check Object Attribute With Flag
The same sequence as CheckObjectHasSpecialDescription_Wrapper. Keeps the schedule entry, points IY at the object, and calls CheckObjectAttributeWithFlag to test the object's attribute flag.
Input
HL Object pointer
CheckObjectAttributeWithFlag_Wrapper 42938 PUSH IY Save the schedule entry.
42940 PUSH HL Copy the object pointer from HL into IY.
42941 POP IY
42943 CALL CheckObjectAttributeWithFlag Call CheckObjectAttributeWithFlag to check the object attribute.
42946 POP IY Restore the saved schedule entry from the stack.
42948 RET Return.
View the equivalent code in;
Prev: 42932 Up: Map Next: 42949