![]() |
Routines |
| Prev: 47527 | Up: Map | Next: 47677 |
|
Used by the routine at DrawChangedObjects.
Redraws the inventory if the flag to say that it has changed is set, and clears the flag. Otherwise returns.
|
||||
| CheckInventory | 47668 | LD A,(42784) | Fetch the flag from ObjectsCarriedChangedFlag. | |
| 47671 | AND A | Return if the inventory has not changed. | ||
| 47672 | RET Z | |||
| 47673 | XOR A | Clear A. | ||
| 47674 | LD (42784),A | Write 0 to ObjectsCarriedChangedFlag, as the inventory is about to be redrawn. | ||
| Prev: 47527 | Up: Map | Next: 47677 |