Routines |
Prev: 813B | Up: Map | Next: 8184 |
Used by the routine at GameMenu.
|
||||
Demo_Start | 8155 | CALL Game_Initialisation | Call Game_Initialisation. | |
8158 | CALL Clear_Screen | Call Clear_Screen. | ||
815B | CALL PrintBanner | Call PrintBanner. | ||
815E | CALL $813B | Call 813B. | ||
8161 | LD ($813A),A | Write A to 813A. | ||
Demo_Start_0 | 8164 | LD A,($813A) | A=*813A. | |
8167 | CP (IY+$0F) | If IY+0F is zero, jump to Demo_Start_1. | ||
816A | JR Z,Demo_Start_1 | |||
816C | LD A,(IY+$0F) | Write IY+0F to 813A. | ||
816F | LD ($813A),A | |||
8172 | CALL DrawRoom | Call DrawRoom. | ||
Demo_Start_1 | 8175 | CALL $81AE | Call 81AE. | |
8178 | XOR A | A=00. | ||
8179 | IN A,($FE) | |||
817B | OR %11100000 | Set bits 5-7. | ||
817D | CP $FF | Jump to GameMenu if not FF. | ||
817F | JP NZ,GameMenu | |||
8182 | JR Demo_Start_0 | Jump to Demo_Start_0. |
Prev: 813B | Up: Map | Next: 8184 |