Routines |
Prev: B950 | Up: Map | Next: B9D2 |
Used by the routines at GameInitialisation, Game_Restart, 80FD, StartGame, 8D06, 91E2, 9F6A, A1AA, GameOver_1UP_Messaging, AD36, B218 and B52E.
|
||||
B9BC | DI | Disable interrupts. | ||
B9BD | LD HL,$FF51 | HL=FF51. | ||
B9C0 | LD A,(DE) | A=DE. | ||
B9C1 | INC DE | Increment DE by one. | ||
B9C2 | BIT 7,A | If bit 7 of A is set, jump to B9CA. | ||
B9C4 | JR NZ,$B9CA | |||
B9C6 | LD (HL),A | Write A to HL. | ||
B9C7 | DEC HL | Decrease HL by one. | ||
B9C8 | JR $B9C0 | Jump to B9C0. | ||
B9CA | AND %01111111 | Keep only bits 0-6. | ||
B9CC | LD (HL),A | Write A to HL. | ||
B9CD | LD ($FF54),HL | Write HL to FF54. | ||
B9D0 | EI | Enable interrupts. | ||
B9D1 | RET | Return. |
Prev: B950 | Up: Map | Next: B9D2 |