Prev: B9A1 Up: Map Next: B9D2
B9BC: Routine at B9BC
Used by the routines at GameInitialisation, 80FD, StartGame, 8D06, 91E2, 9EDC, A0F8, A880 and B460.
B9BC DI Disable interrupts.
B9BD LD HL,$FF51 HL=FF51.
B9C0 LD A,(DE)
B9C1 INC DE
B9C2 BIT 7,A
B9C4 JR NZ,$B9CA
B9C6 LD (HL),A
B9C7 DEC HL
B9C8 JR $B9C0 Jump to B9C0.
B9CA AND %01111111 Keep only bits 0-6.
B9CC LD (HL),A
B9CD LD ($FF54),HL
B9D0 EI Enable interrupts.
B9D1 RET Return.
Prev: B9A1 Up: Map Next: B9D2