| Prev: 5D06 | Up: Map | Next: 5D2B |
5D10: Start gameplay or overview mode based on user selection
|
|
||||
|
This routine is called after the user selects controls and game mode from the control selection dialog.
|
||||
| start_gameplay_or_overview | 5D10 | LD A,$FC | Restore IM 2 (vectored interrupts) and enable interrupts. | |
| 5D12 | LD I,A | |||
| 5D14 | IM 2 | |||
| 5D16 | EI | |||
| 5D17 | LD A,($7800) | Copy selected control type to state_input_interface. | ||
| 5D1A | LD ($5F67),A | |||
| 5D1D | LD A,($7801) | If overview mode was selected, start overview; otherwise initialize and start gameplay. | ||
| 5D20 | CP $01 | |||
| 5D22 | JP Z,start_overview | |||
| 5D25 | CALL init_state | |||
| 5D28 | JP play | |||
| Prev: 5D06 | Up: Map | Next: 5D2B |