| Chase H.Q. | Routines |
| Prev: B457 | Up: Map | Next: B4F0 |
|
This starts the animation to put the cherry light on the roof of the hero car, enables flashing lights and the smash bar, shows the "SIGHTING OF..." message and starts the siren.
It also resets the hand animation's step and delay and sets hand_flag to make it run, resets the time limit to 15 sixteenths, a BCD 60 seconds, and toggles the marquee's left light.
Used by the routine at perp_behaviour.
|
||||
| start_chase | B4CC | XOR A | Self modify 'LD C' @ ahc_hand_flag_one to load 0 | |
| B4CD | LD ($B477),A | |||
|
Starts the animation that puts the cherry light on the roof
|
||||
| B4D0 | INC A | Set hand_flag to 1 | ||
| B4D1 | LD ($A22F),A | |||
|
Enable flashing lights and smash bar
|
||||
| B4D4 | LD ($A22E),A | Set sighted_flag to 1 | ||
|
This is animation frame related?
|
||||
| B4D7 | INC A | Self modify 'LD A' @ B478 to load 2 | ||
| B4D8 | LD ($B479),A | |||
| B4DB | LD HL,$600F | Set time_sixteenths to 15 and time_bcd to $60 | ||
| B4DE | LD ($A17D),HL | |||
| B4E1 | LD HL,$5820 | Toggle the left light's brightness | ||
| B4E4 | CALL toggle_light_brightness | |||
| B4E7 | LD HL,$8CB2 | Show the "SIGHTING OF TARGET VEHICLE" message | ||
| B4EA | CALL setup_overlay_messages | |||
| B4ED | JP start_siren_hook | Exit via start_siren_hook | ||
| Prev: B457 | Up: Map | Next: B4F0 |