![]() |
Routines |
| Prev: 54002 | Up: Map | Next: 54021 |
|
Used by the routine at StartTheAttributeCount.
Counts how many objects match this id and returns that count.
|
||||
| CountMatchingAttributes | 54005 | PUSH IX | Keep the schedule entry. | |
| 54007 | PUSH IY | |||
| 54009 | LD C,0 | Count 0. | ||
| 54011 | CALL ScanObjectsId | Call ScanObjectsId to scan the objects for this id. | ||
| 54014 | LD A,C | Read the low byte of the count. | ||
| 54015 | POP IY | Restore the saved schedule entry, the saved character record and the saved count from the stack. | ||
| 54017 | POP IX | |||
| 54019 | POP BC | |||
| 54020 | RET | Return. | ||
| Prev: 54002 | Up: Map | Next: 54021 |