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