![]() |
Routines |
| Prev: 40304 | Up: Map | Next: 40336 |
|
Scheduled behaviour for the second local police man. Reached through the character-action table at Table_CharacterActions, dispatched by 40068.
|
||||
| CharacterAction_SecondLocalPoliceMan | 40307 | LD A,(40336) | Return if the police flag is set. | |
| 40310 | AND A | |||
| 40311 | RET NZ | |||
| 40312 | LD HL,40304 | Call StoreSetMarkPrintPoliceLine for the local policeman with counter 0. | ||
| 40315 | LD C,0 | |||
| 40317 | CALL StoreSetMarkPrintPoliceLine | |||
| 40320 | LD HL,40305 | Call StoreSetMarkPrintPoliceLine for the local policeman with counter 3. | ||
| 40323 | LD C,3 | |||
| 40325 | CALL StoreSetMarkPrintPoliceLine | |||
| 40328 | LD HL,40306 | Take the second policeman at 40306 with counter 7 and join StoreSetMarkPrintPoliceLine. | ||
| 40331 | LD C,7 | |||
| 40333 | JP StoreSetMarkPrintPoliceLine | |||
| Prev: 40304 | Up: Map | Next: 40336 |