Prev: B318 Up: Map Next: B4F0
B4CC: Perp sighted
Used by the routine at smash_handler.
perp_sighted B4CC XOR A *$B477 = 0
B4CD LD ($B477),A
B4D0 INC A
B4D1 LD ($A22F),A var_a22f = 1
B4D4 LD ($A22E),A sighted_flag = 1
B4D7 INC A A++
B4D8 LD ($B479),A
B4DB LD HL,$600F time_sixteenths/$A17D = 15, time_bcd/$A17E = $60
B4DE LD ($A17D),HL
B4E1 LD HL,$5820 Point HL at left light's attributes
B4E4 CALL toggle_light_brightness Toggle its brightness
B4E7 LD HL,$8CB2 Point at "SIGHTING OF TARGET VEHICLE" message
B4EA CALL message_printing_related Call message_printing_related
B4ED JP start_siren_hook Exit via start_siren_hook
Prev: B318 Up: Map Next: B4F0