Dynamite Dan | Routines |
Prev: DCF5 | Up: Map | Next: DD8D |
Used by the routine at CA5B.
|
||||
DCF6 | LD HL,$DA8A | Get the current sound state. (DA8A) | ||
DCF9 | RES 0,(HL) | Reset bit 0 (play a tune). | ||
Page 1
|
||||
DCFB | CALL $E801 | Clear the screen. | ||
DCFE | LD HL,$F8C7 | Print the first page. (F8C7) | ||
DD01 | CALL $EEF1 | |||
DD04 | LD HL,$F525 | Print the attributes for the first page. (F525) | ||
DD07 | CALL $F470 | |||
DD0A | CALL $DD8D | Wait for ENTER to be pressed. | ||
DD0D | LD HL,$F5A0 | Print the end message. (F5A0) | ||
DD10 | CALL $DDE0 | |||
Page 2
|
||||
DD13 | CALL $E801 | Clear the screen. | ||
DD16 | LD HL,$FB66 | Print the second page. (FB66) | ||
DD19 | CALL $EEF1 | |||
DD1C | LD HL,$F562 | Print the attributes for the second page. (F562) | ||
DD1F | CALL $F470 | |||
DD22 | CALL $DD8D | Wait for ENTER to be pressed. | ||
DD25 | LD HL,$F5AD | Print the end message. (F5AD) | ||
DD28 | CALL $DDE0 | |||
Page 3
|
||||
DD2B | CALL $E801 | Clear the screen. | ||
DD2E | LD HL,$FCAA | Print the third page. (FCAA) | ||
DD31 | CALL $EEF1 | |||
DD34 | LD HL,$F577 | Print the attributes for the third page. (F525) | ||
DD37 | CALL $F470 | |||
DD3A | LD IX,$F505 | Point IX at the food data for the instructions. (F505) | ||
DD3E | XOR A | Set A to 0 and remember this. | ||
DD3F | PUSH AF | |||
DD40 | CALL $DCCC | Print a graphic. | ||
DD43 | INC IX | Move to the next item. | ||
DD45 | INC IX | |||
DD47 | POP AF | Restore A. | ||
DD48 | INC A | Increment the number of items drawn. | ||
DD49 | CP $08 | Have all items been drawn? | ||
DD4B | JR NZ,$DD3F | Jump back if not. | ||
DD4D | CALL $DD8D | Wait for ENTER to be pressed. | ||
DD50 | LD HL,$F5C9 | Print the end message. (F5C9) | ||
DD53 | CALL $DDE0 | |||
Page 4
|
||||
DD56 | CALL $E801 | Clear the screen. | ||
DD59 | LD HL,$FD1D | Print the fourth page. (FD1D) | ||
DD5C | CALL $EEF1 | |||
DD5F | LD HL,$F587 | Print the attributes for the fourth page. (F525) | ||
DD62 | CALL $F470 | |||
DD65 | LD A,$01 | Set bit 0 on DCF5 - items are only being used for the instructions. | ||
DD67 | LD ($DCF5),A | |||
DD6A | LD IX,$F51A | Point IX at the item data for the instructions. (F51A) | ||
DD6E | LD HL,$F592 | Draw the UDGs for this page. | ||
DD71 | CALL $ED06 | |||
DD74 | LD HL,$EB89 | Draw the plans. | ||
DD77 | LD DE,$0614 | |||
DD7A | CALL $E84E | |||
DD7D | CALL $DD8D | Wait for ENTER to be pressed. | ||
DD80 | LD HL,$F5D5 | Print the end message. (F5D5) | ||
DD83 | CALL $DDE0 | |||
DD86 | XOR A | Reset bit 0 on DCF5 - stops items being used for instructions only. | ||
DD87 | LD ($DCF5),A | |||
DD8A | JP $CA5B | Jump to the intro screen. |
Prev: DCF5 | Up: Map | Next: DD8D |