![]() |
Routines |
| Prev: 67CD | Up: Map | Next: 6807 |
|
Used by the routines at FlagZero, FlagNotZero, FlagEquals, FlagDiffers, FlagBelow, FlagNotBelow, SwapFlags, SetFlagOn, ClearFlag, AddToFlag, SubtractFromFlag, SetFlag and PrintFlag.
Returns the address of flag byte B. The flag bytes begin at the current room.
|
||||||||||||
| FlagAddress | 67FF | LD HL,$5D87 | Point HL at CurrentRoom. | |||||||||
|
This entry point is used by the routine at ObjectAddress.
Add the flag number.
|
||||||||||||
| FlagAddress_Add | 6802 | LD E,B | Add the parameter in B. | |||||||||
| 6803 | LD D,$00 | |||||||||||
| 6805 | ADD HL,DE | |||||||||||
| 6806 | RET | Return. | ||||||||||
| Prev: 67CD | Up: Map | Next: 6807 |