Prev: 48101 Up: Map Next: 48198
48161: Check Object Attribute
Used by the routine at ReadActionFlags.
Returns zero unless SearchObjectTable passes and the top two bits of the action flags are 128. A match is stored at 47643+3 and passed to CheckBitAndProcess.
CheckObjectAttribute 48161 CALL SearchObjectTable Go to CheckObjectAttribute_Next if the object table ends before the moved marker.
48164 JR NZ,CheckObjectAttribute_Next
48166 LD A,(IX+3) Jump to CheckObjectAttribute_StoreRecord if the top two bits of the action flags are 128.
48169 AND 192
48171 CP 128
48173 JR Z,CheckObjectAttribute_StoreRecord
CheckObjectAttribute_Next 48175 XOR A Clear A.
48176 RET Return.
Stores this record and tests it.
CheckObjectAttribute_StoreRecord 48177 LD (47646),IX Store this record at 47635+11 and call CheckBitAndProcess.
48181 CALL CheckBitAndProcess
48184 JR Z,CheckObjectAttribute_TestActionSucceeded Go to CheckObjectAttribute_TestActionSucceeded if the attribute needs no extra bit handling.
48186 LD A,1 Write 1 to the flag at 47635+10.
48188 LD (47645),A
48191 SET 0,(IX+3) Set the action-pending flag.
CheckObjectAttribute_TestActionSucceeded 48195 OR %00000001 Reset the zero flag.
48197 RET Return.
Prev: 48101 Up: Map Next: 48198