-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcasino.c
40 lines (37 loc) · 1.12 KB
/
casino.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* StickGBC by Matt Comben is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
#pragma bank=4
#include "main.h"
#include "window.h"
#include "window_text_data.h"
/*
* process_casino_menu
*
* Process menu selection for casino
*/
void process_casino_menu()
{
if (menu_state.current_item_x == 0U)
{
if (menu_state.current_item_y == 0U) // Slots
{
// Unavailable
main_show_window_text(&win_txt_general_unimplemented, ROM_BANK_CASINO);
}
else if (menu_state.current_item_y == 1U) // Blackjack
{
// Unavailable
main_show_window_text(&win_txt_general_unimplemented, ROM_BANK_CASINO);
}
else if (menu_state.current_item_y == 2U) // Roulette
{
// Unavailable
main_show_window_text(&win_txt_general_unimplemented, ROM_BANK_CASINO);
}
}
setup_building_menu(2U, ROM_BANK_CASINO);
move_to_menu_item(1U, 0U, ROM_BANK_CASINO);
}