box
This commit is contained in:
17
src/main.c
17
src/main.c
@@ -176,11 +176,10 @@ void main() {
|
|||||||
INPUT_STATE = joypad();
|
INPUT_STATE = joypad();
|
||||||
|
|
||||||
// Init things
|
// Init things
|
||||||
timeInit();
|
|
||||||
commonTilesInit();
|
commonTilesInit();
|
||||||
conversationTextboxInit();
|
conversationTextboxInit();
|
||||||
conversationQueueInit();
|
// conversationQueueInit();
|
||||||
pokerInit();
|
// pokerInit();
|
||||||
|
|
||||||
// Fill screen white
|
// Fill screen white
|
||||||
for(j = 0; j < GB_BACKGROUND_COLUMNS * GB_BACKGROUND_ROWS; j++) filled[j] = COMMON_TILE_3;
|
for(j = 0; j < GB_BACKGROUND_COLUMNS * GB_BACKGROUND_ROWS; j++) filled[j] = COMMON_TILE_3;
|
||||||
@@ -189,7 +188,10 @@ void main() {
|
|||||||
SCY_REG = 0x00;
|
SCY_REG = 0x00;
|
||||||
|
|
||||||
// Alright begin the game logic here.
|
// Alright begin the game logic here.
|
||||||
conversationQueueNext();
|
char *options[2] = {
|
||||||
|
"Yes", "No"
|
||||||
|
};
|
||||||
|
questionBoxSetOptions("Title", options, 0x02);
|
||||||
|
|
||||||
// Now turn the screen on
|
// Now turn the screen on
|
||||||
DISPLAY_ON;
|
DISPLAY_ON;
|
||||||
@@ -210,12 +212,15 @@ void main() {
|
|||||||
// Update conversation pause effect
|
// Update conversation pause effect
|
||||||
conversationPauseUpdate();
|
conversationPauseUpdate();
|
||||||
|
|
||||||
|
// Update question box.
|
||||||
|
questionBoxUpdate();
|
||||||
|
|
||||||
// Update conversation textbox
|
// Update conversation textbox
|
||||||
conversationTextboxUpdate();
|
conversationTextboxUpdate();
|
||||||
|
|
||||||
|
|
||||||
// Update conversation fade effect
|
// Update conversation fade effect
|
||||||
conversationFadeUpdate();
|
conversationFadeUpdate();
|
||||||
|
// mainDebugDraw();
|
||||||
mainDebugDraw();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user