diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-05-02 19:59:00 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-05-02 19:59:00 -0400 |
commit | f9230e80aa1fd32d0428af9b684dcf4395148fc3 (patch) | |
tree | 875098b491203cf8021eb65a82ca57f96c4229a8 /include | |
parent | 4bf09504216c1c9668843cc93b5392cd1022a4c1 (diff) |
through vblank_cb_battle
Diffstat (limited to 'include')
-rw-r--r-- | include/contest.h | 1 | ||||
-rw-r--r-- | include/gba/types.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/contest.h b/include/contest.h index 250929de7..45fc9b477 100644 --- a/include/contest.h +++ b/include/contest.h @@ -401,6 +401,7 @@ struct ContestResources void * field_3c; }; +#define shared15800 (gHeap + 0x18000) #define shared18000 (*(struct Shared18000 *)(gHeap + 0x1a000)) extern struct ContestResources *gContestResources; diff --git a/include/gba/types.h b/include/gba/types.h index 9f63489aa..a7dbf3e03 100644 --- a/include/gba/types.h +++ b/include/gba/types.h @@ -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 |