![]() |
Routines |
| Prev: 48715 | Up: Map | Next: 48754 |
|
Used by the routines at ReadActionFlags, ProcessGameStatusEntries, ProcessGameStatusEntriesWithCounter, ScanObjectsUntilEndMarker, ProcessEntryWithCounter and CheckBitAndProcessEntry.
Steps to the next record and tests its flag bits.
|
||||
| AdvancePointerAndCheckBit | 48730 | PUSH AF | Step to the next record | |
| 48731 | LD DE,2 | |||
| 48734 | ADD IX,DE | |||
| 48736 | ADD IX,DE | |||
| 48738 | BIT 5,(IX-1) | Go to AdvancePointerAndCheckBit_Next if bit 5 of this byte is set. | ||
| 48742 | JR NZ,AdvancePointerAndCheckBit_Next | |||
| 48744 | BIT 4,(IX-1) | Go to AdvancePointerAndCheckBit_ReturnSaved if bit 4 of this byte is clear. | ||
| 48748 | JR Z,AdvancePointerAndCheckBit_ReturnSaved | |||
| AdvancePointerAndCheckBit_Next | 48750 | ADD IX,DE | Step to the next record. | |
| AdvancePointerAndCheckBit_ReturnSaved | 48752 | POP AF | Restore AF from the stack. | |
| 48753 | RET | Return. | ||
| Prev: 48715 | Up: Map | Next: 48754 |