/
splash.c
36 lines (25 loc) · 899 Bytes
/
splash.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
/*---------------------------------------------------------------------------------
AC2016 - splash()
-- n_Arno
---------------------------------------------------------------------------------*/
#include <snes.h>
#include "common.h"
extern char snesfont;
//---------------------------------------------------------------------------------
void splash(void) {
int counter = 0;
oldConsoleInitText(0, 0, &snesfont);
consoleSetShadowCol(0,RGB15(16,16,16));
setMode(BG_MODE1,0); bgSetDisable(1); bgSetDisable(2);
consoleDrawText(12,10,"WARNING !");
consoleDrawText(1,14,"This is game is played in Tate");
consoleDrawText(2,16,"(Screen should be vertical)");
while(counter<400) {
counter++;
WaitForVBlank();
}
consoleDrawText(12,10," ");
consoleDrawText(1,14," ");
consoleDrawText(2,16," ");
return;
}