Prev: BE94 Up: Map Next: BED7
BEB2: routine47
Used by the routines at routine23 and COUNTL.
routine47 BEB2 PUSH AF preserve AF, BC
BEB3 PUSH BC
BEB4 XOR A set unknown18 to zero
BEB5 LD (unknown18),A
BEB8 LD A,$01 set unknown21 to one
BEBA LD (unknown21),A
BEBD LD A,$46 set ATTR-T to bright yellow on black
BEBF LD ($5C8F),A
BEC2 LD A,$34 set A to message $34
BEC4 LD BC,$1600 set BC to coordinates (0,22)
BEC7 CALL clear_bottom_row call clear_bottom_row to clear line 22
BECA CALL MPRINT Print engaged_string at coordinates (0,22)
BECD LD HL,engaged_sound_effect Play engaged_sound_effect
BED0 CALL play_sound_effect_in_HL
BED3 EI re-enable interrupts
BED4 POP BC restore BC, AF
BED5 POP AF
BED6 RET return
Prev: BE94 Up: Map Next: BED7