/** * Copyright (c) 2022 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #include "queue.h" #include "pause.h" #include "textbox.h" uint16_t QUEUE_ITEM; void conversationQueueInit() { QUEUE_ITEM = 0; } void conversationQueueNext() { BGB_printf("Queue item: %d\n", QUEUE_ITEM); switch(QUEUE_ITEM) { case 0: conversationTextboxSetText(STR_POKER_GAME_START_DATA, STR_POKER_GAME_START_LENGTH); QUEUE_ITEM++; break; case 1: conversationPause(3); QUEUE_ITEM++; break; case 2: conversationTextboxSetText(STR_POKER_GAME_START_DATA, STR_POKER_GAME_START_LENGTH); break; } }