Prev: B318 Up: Map Next: B4F0
B4CC: Perp sighted
Used by the routine at smash_handler.
perp_sighted B4CC XOR A Self modify 'LD C' @ ahc_hand_flag_one to load 0 -- hand animation related
B4CD LD ($B477),A
B4D0 INC A Set hand_flag to 1 -- put the cherry light on the roof
B4D1 LD ($A22F),A
B4D4 LD ($A22E),A Set sighted_flag to 1 -- enable flashing lights and smash bar
B4D7 INC A Self modify 'LD A' @ B478 to load 2 -- animation frame?
B4D8 LD ($B479),A
B4DB LD HL,$600F Set time_sixteenths to 15 and time_bcd to 96
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: B318 Up: Map Next: B4F0