![]() |
Routines |
| Prev: BE4B | Up: Map | Next: BE72 |
|
Used by the routines at ReadActionFlags, ProcessGameStatusEntries, ProcessGameStatusEntriesWithCounter, ScanObjectsUntilEndMarker, ProcessEntryWithCounter and CheckBitAndProcessEntry.
Steps to the next record and tests its flag bits.
|
||||
| AdvancePointerAndCheckBit | BE5A | PUSH AF | Step to the next record | |
| BE5B | LD DE,$0002 | |||
| BE5E | ADD IX,DE | |||
| BE60 | ADD IX,DE | |||
| BE62 | BIT 5,(IX-$01) | Go to AdvancePointerAndCheckBit_Next if bit 5 of this byte is set. | ||
| BE66 | JR NZ,AdvancePointerAndCheckBit_Next | |||
| BE68 | BIT 4,(IX-$01) | Go to AdvancePointerAndCheckBit_ReturnSaved if bit 4 of this byte is clear. | ||
| BE6C | JR Z,AdvancePointerAndCheckBit_ReturnSaved | |||
| AdvancePointerAndCheckBit_Next | BE6E | ADD IX,DE | Step to the next record. | |
| AdvancePointerAndCheckBit_ReturnSaved | BE70 | POP AF | Restore AF from the stack. | |
| BE71 | RET | Return. | ||
| Prev: BE4B | Up: Map | Next: BE72 |