Prev: 40001 Up: Map Next: 40022
40003: Mark Object And Jump
Notes the object in this room, sets its held mark, and continues with the character being processed.
Run by 51812 after the display record at 40001, from the refresh-room command at 62381.
MarkObjectAndJump 40003 LD IX,(40983) Read the current character record.
40007 LD A,(IX+1)
40010 PUSH AF
Set object attribute bit 7.
40011 CALL SetObjectHeldMark Call SetObjectHeldMark to set the object's held mark.
40014 LD A,(41012) Read the room display parameter, then join the next step.
40017 LD B,A
40018 POP AF
40019 JP StoreMatchedCharacterRoom
Prev: 40001 Up: Map Next: 40022