Routines |
Prev: B7FD | Up: Map | Next: B844 |
Used by the routine at routine30.
|
||||
routine32 | B81C | LD A,(unknown51) | ||
B81F | LD D,$00 | |||
B821 | LD E,A | |||
B822 | SRL A | |||
B824 | ADD A,$02 | |||
B826 | LD B,A | |||
B827 | LD HL,unknown_table_5 | |||
B82A | ADD HL,DE | |||
B82B | LD DE,$0002 | |||
routine32_0 | B82E | PUSH HL | ||
B82F | PUSH BC | |||
B830 | LD C,(HL) | |||
B831 | INC HL | |||
B832 | LD B,(HL) | |||
B833 | CALL routine33 | |||
B836 | PUSH DE | |||
B837 | CALL sound_effect_playback | |||
B83A | POP DE | |||
B83B | POP BC | |||
B83C | POP HL | |||
B83D | XOR A | |||
B83E | SBC HL,DE | |||
B840 | DJNZ routine32_0 | |||
B842 | POP HL | |||
B843 | RET |
Prev: B7FD | Up: Map | Next: B844 |