Prev: FE00 Up: Map Next: FE52
FE40: Make a walking sound effect (yellow border)
Used by the routines at B5E8 and EAE0.
FE40 PUSH BC
FE41 LD A,$06 The border will be yellow
This entry point is used by the routine at FE52 with A=1 (blue border).
FE43 LD C,$08 Make the sound effect
FE45 XOR $10
FE47 OUT ($FE),A
FE49 LD B,$C0
FE4B DJNZ $FE4B
FE4D DEC C
FE4E JR NZ,$FE45
FE50 POP BC
FE51 RET
Prev: FE00 Up: Map Next: FE52