Prev: 88E2 Up: Map Next: 8903
88F2: Starts a sound effect
Input
BC e.g. $0704 $0801 $0604
start_sfx 88F2 LD A,($A238) If sfx_1 is zero then goto sfx_related_assign
88F5 AND A
88F6 JR Z,sfx_related_assign
88F8 CP C Return if sfx_1 < C
88F9 RET C
sfx_related_assign 88FA LD A,B wordat(sfx_0) = BC
88FB LD ($A237),A
88FE LD A,C
88FF LD ($A238),A
8902 RET Return
Prev: 88E2 Up: Map Next: 8903