Routines |
Prev: 5F80 | Up: Map | Next: 5FD8 |
Used by the routine at LevelNew.
|
||||
5FB0 | LD C,$01 | C=01. | ||
5FB2 | LD DE,$5E23 | DE=5E23. | ||
5FB5 | LD L,$08 | L=08. | ||
5FB7 | PUSH DE | Stash DE and BC on the stack. | ||
5FB8 | PUSH BC | |||
5FB9 | CALL $5FDE | Call 5FDE. | ||
5FBC | POP BC | Restore BC and DE from the stack. | ||
5FBD | POP DE | |||
5FBE | INC DE | |||
5FBF | INC C | |||
5FC0 | LD A,C | |||
5FC1 | CP $06 | |||
5FC3 | JR NZ,$5FB5 | |||
5FC5 | LD C,$01 | |||
5FC7 | LD L,$E8 | |||
5FC9 | PUSH DE | Stash DE and BC on the stack. | ||
5FCA | PUSH BC | |||
5FCB | CALL $5FDE | Call 5FDE. | ||
5FCE | POP BC | Restore BC and DE from the stack. | ||
5FCF | POP DE | |||
5FD0 | INC DE | |||
5FD1 | INC C | |||
5FD2 | LD A,C | |||
5FD3 | CP $06 | |||
5FD5 | JR NZ,$5FC7 | |||
5FD7 | RET | Return. |
Prev: 5F80 | Up: Map | Next: 5FD8 |