Prev: F32E Up: Map Next: F3B6
F39F: Phase 4 of catching the perp - plays the success music
Waits until the overlay frame delay reaches 42, then silences the audio, clears the siren flag, resets the turbo effect countdown to 1 and asks bank 3 for the success music. It falls through into call_bank_3_128k with $C006 in HL.
Lives at $8193 when relocated, $720C below the address here, the same offset as reset_paging_128k to $8208 and page_128k to $81D6.
handle_perp_caught_128k F39F LD A,($8E4A) Return if overlay frame delay < 42
F3A2 CP $2A
F3A4 RET C
F3A5 CALL silence_audio_hook Call silence_audio_hook
F3A8 XOR A Stop siren
F3A9 LD ($A239),A
F3AC INC A Set A to 1
F3AD LD ($A23A),A Set turbo_sfx_noise_pitch to 1
F3B0 LD ($8E4A),A Self modify 8E49 - reset overlay frame delay
F3B3 LD HL,$C006 Entry point for success music in bank 3
FALLTHROUGH
Prev: F32E Up: Map Next: F3B6