![]() |
Routines |
| Prev: D2F2 | Up: Map | Next: D305 |
|
Used by the routine at StartTheAttributeCount.
Counts how many objects match this id and returns that count.
|
||||
| CountMatchingAttributes | D2F5 | PUSH IX | Keep the schedule entry. | |
| D2F7 | PUSH IY | |||
| D2F9 | LD C,$00 | Count 00. | ||
| D2FB | CALL ScanObjectsId | Call ScanObjectsId to scan the objects for this id. | ||
| D2FE | LD A,C | Read the low byte of the count. | ||
| D2FF | POP IY | Restore the saved schedule entry, the saved character record and the saved count from the stack. | ||
| D301 | POP IX | |||
| D303 | POP BC | |||
| D304 | RET | Return. | ||
| Prev: D2F2 | Up: Map | Next: D305 |