![]() |
Routines |
| Prev: C4D1 | Up: Map | Next: C55A |
|
Used by the routines at ProcessDisplayAction and RecordResultRoomGraphics.
Returns if the saved marker is clear. Otherwise accepts the graphics parameter unless the object is already marked.
|
||||
| AcceptGraphicsParameter | C542 | LD A,($A010) | Return if the display mode is zero. | |
| C545 | AND A | |||
| C546 | RET Z | |||
| C547 | LD A,($A035) | Jump to AcceptGraphicsParameter_SignalStepFailed if the room graphics parameter is not FF. | ||
| C54A | CP $FF | |||
| C54C | JR NZ,AcceptGraphicsParameter_SignalStepFailed | |||
|
Bit 1 of the object attribute value is set?
|
||||
| C54E | LD A,($A01D) | Go to AcceptGraphicsParameter_SignalStepFailed if bit 1 of the object attribute is set. | ||
| C551 | AND $02 | |||
| C553 | JR NZ,AcceptGraphicsParameter_SignalStepFailed | |||
| C555 | OR %00000001 | Reset the zero flag. | ||
| C557 | RET | Return. | ||
| AcceptGraphicsParameter_SignalStepFailed | C558 | XOR A | Clear A. | |
| C559 | RET | Return. | ||
| Prev: C4D1 | Up: Map | Next: C55A |