through vblank_cb_battle

This commit is contained in:
PikalaxALT
2018-05-02 19:59:00 -04:00
parent 4bf0950421
commit f9230e80aa
4 changed files with 204 additions and 522 deletions

View File

@@ -401,6 +401,7 @@ struct ContestResources
void * field_3c;
};
#define shared15800 (gHeap + 0x18000)
#define shared18000 (*(struct Shared18000 *)(gHeap + 0x1a000))
extern struct ContestResources *gContestResources;

View File

@@ -28,6 +28,17 @@ typedef u8 bool8;
typedef u16 bool16;
typedef u32 bool32;
struct BgCnt
{
u16 priority:2;
u16 charBaseBlock:2;
u16 dummy:4;
u16 screenBaseBlock:5;
u16 areaOverflowMode:1;
u16 screenSize:2;
};
typedef volatile struct BgCnt vBgCnt;
struct PlttData
{
u16 r:5; // red