Split more
Also introduce version.h header
This commit is contained in:
parent
a4a2b38cd0
commit
4d236bc254
5 changed files with 118 additions and 81 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "game/memory.h"
|
||||
#include "game/flag.h"
|
||||
#include "game/board/tutorial.h"
|
||||
#include "version.h"
|
||||
|
||||
s16 HuSysVWaitGet(s16 old);
|
||||
|
||||
|
|
@ -141,6 +142,11 @@ void WipeCreate(s16 mode, s16 type, s16 duration)
|
|||
|
||||
void WipeColorSet(u8 r, u8 g, u8 b)
|
||||
{
|
||||
#if VERSION_PAL
|
||||
if(r > 160 && g > 160 && b > 160) {
|
||||
r = g = b = 160;
|
||||
}
|
||||
#endif
|
||||
wipeData.color.r = r;
|
||||
wipeData.color.g = g;
|
||||
wipeData.color.b = b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue