Routines |
Prev: B3BE | Up: Map | Next: B416 |
Used by the routine at StartGame.
|
||||
B3F0 | LD IX,$C293 | IX=C293. | ||
B3F4 | LD B,$07 | B=07. | ||
B3F6 | PUSH BC | Stash BC on the stack. | ||
B3F7 | LD A,(IX+$00) | A=*IX+00. | ||
B3FA | CP (IX+$0B) | Compare A with *IX+0B. | ||
B3FD | CALL C,$B409 | Call B409 is lower. | ||
B400 | LD BC,$000D | BC=000D. | ||
B403 | ADD IX,BC | IX+=BC. | ||
B405 | POP BC | Restore BC from the stack. | ||
B406 | DJNZ $B3F6 | Decrease counter by one and loop back to B3F6 until counter is zero. | ||
B408 | RET | Return. | ||
B409 | PUSH IX | Stash IX on the stack. | ||
B40B | CALL $B2EE | Call B2EE. | ||
B40E | POP IX | Restore IX from the stack. | ||
B410 | CALL $B322 | Call B322. | ||
B413 | LD A,$17 | A=17. | ||
B415 | RET | Return. |
Prev: B3BE | Up: Map | Next: B416 |