![]() |
Routines |
| Prev: 48244 | Up: Map | Next: 48329 |
|
Used by the routines at StoreSetMarkPointer and ReadActionFlags.
Walks those character pairs and skips an entry whose action is still pending.
|
||||
| ProcessGameStatusEntriesAlternate | 48284 | LD IX,39269 | Use the character pairs (39245+24). | |
| 48288 | LD B,0 | |||
| ProcessGameStatusEntriesAlternate_Loop | 48290 | LD A,(IX+0) | Jump to ProcessGameStatusEntriesAlternate_SavedRecord if the record's flag byte is 255. | |
| 48293 | CP 255 | |||
| 48295 | JR Z,ProcessGameStatusEntriesAlternate_SavedRecord | |||
| 48297 | BIT 0,(IX+3) | Jump to ProcessGameStatusEntriesAlternate_Next if the action-pending flag is clear. | ||
| 48301 | JR Z,ProcessGameStatusEntriesAlternate_Next | |||
| 48303 | CALL CheckBitAndProcess | Go to ProcessGameStatusEntriesAlternate_Next if bit 2 is set and the entry check succeeds. | ||
| 48306 | JR NZ,ProcessGameStatusEntriesAlternate_Next | |||
| 48308 | LD A,B | Jump ahead to ProcessGameStatusEntriesAlternate_Next if the count is not zero. | ||
| 48309 | INC B | |||
| 48310 | AND A | |||
| 48311 | JR NZ,ProcessGameStatusEntriesAlternate_Next | |||
| 48313 | LD (47646),IX | Store this record at 47635+11. | ||
| ProcessGameStatusEntriesAlternate_Next | 48317 | PUSH BC | Call ProcessEntryWithCounter to run entry with counter. | |
| 48318 | CALL ProcessEntryWithCounter | |||
| 48321 | POP BC | |||
| 48322 | JR ProcessGameStatusEntriesAlternate_Loop | Jump back to ProcessGameStatusEntriesAlternate_Loop for the next entry. | ||
|
Read the working value before returning.
|
||||
| ProcessGameStatusEntriesAlternate_SavedRecord | 48324 | LD IX,(47646) | Point IX at the record saved at 47635+11. | |
| 48328 | RET | Return. | ||
| Prev: 48244 | Up: Map | Next: 48329 |