Prev: 53880 Up: Map Next: 53917
53896: Look Up Object And Test Moved Marker
Used by the routine at 53880.
Looks the object up and keeps searching while the moved marker is not the end.
LookUpObjectAndTestMovedMarker 53896 CALL FetchObjectDataPointer Call FetchObjectDataPointer to look that object up.
53899 PUSH AF Jump to LookUpObjectAndTestMovedMarker_Next if the moved marker is 255.
53900 LD A,(IX+1)
53903 CP 255
53905 JR Z,LookUpObjectAndTestMovedMarker_Next
53907 POP IX Drop the saved value and jump back to LookUpObjectAndTestMovedMarker while the moved marker does not match the character.
53909 CP (HL)
53910 JR NZ,LookUpObjectAndTestMovedMarker
53912 SCF Mark the condition as met.
53913 RET Return.
Clear the carry so a character id outside the range returns as no match.
LookUpObjectAndTestMovedMarker_Next 53914 POP AF Restore the saved flags from the stack.
53915 AND A Report that the id was not found.
53916 RET Return.
View the equivalent code in;
Prev: 53880 Up: Map Next: 53917