![]() |
Routines |
| Prev: 40238 | Up: Map | Next: 40261 |
|
Scheduled behaviour for Chief Constable Strak. Reached through the character-action table at Table_CharacterActions, dispatched by 40068.
|
||||
| CharacterAction_ChiefConstableStrak | 40240 | LD A,(40336) | Return if the police flag is clear. | |
| 40243 | AND A | |||
| 40244 | RET Z | |||
| 40245 | LD HL,40238 | Point HL at Strak's first counter (40238), set C to 0 and call ProcessCharacterActionWithText. | ||
| 40248 | LD C,0 | |||
| 40250 | CALL ProcessCharacterActionWithText | |||
| 40253 | LD HL,40239 | Point HL at Strak's second counter (40239), set C to 3 and jump to ProcessCharacterActionWithText. | ||
| 40256 | LD C,3 | |||
| 40258 | JP ProcessCharacterActionWithText | |||
| Prev: 40238 | Up: Map | Next: 40261 |