summaryrefslogtreecommitdiff
path: root/src/starter_choose.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-04-07 01:56:36 -0400
committerPhlosioneer <mattmdrr2@gmail.com>2019-04-07 01:56:36 -0400
commitd84d94e29a1424dd1d12ff821957bb6b1bc847d6 (patch)
treec5ba0778afca66a91f71815cd53fe9abef1bdac6 /src/starter_choose.c
parentad2a97935e1c1f4362f0dffa58ef437d191bab4e (diff)
parentc3cfd6065825ec8ddd5e1782998071518efaa322 (diff)
Merge branch 'master' into pokenav-decomp-again
Diffstat (limited to 'src/starter_choose.c')
-rw-r--r--src/starter_choose.c42
1 files changed, 28 insertions, 14 deletions
diff --git a/src/starter_choose.c b/src/starter_choose.c
index 4ed53539f..c3957e403 100644
--- a/src/starter_choose.c
+++ b/src/starter_choose.c
@@ -1,6 +1,6 @@
#include "global.h"
#include "bg.h"
-#include "data2.h"
+#include "data.h"
#include "decompress.h"
#include "event_data.h"
#include "gpu_regs.h"
@@ -170,10 +170,10 @@ static const struct OamData gOamData_85B1E10 =
.objMode = 0,
.mosaic = 0,
.bpp = 0,
- .shape = 0,
+ .shape = SPRITE_SHAPE(32x32),
.x = 0,
.matrixNum = 0,
- .size = 2,
+ .size = SPRITE_SIZE(32x32),
.tileNum = 0,
.priority = 1,
.paletteNum = 0,
@@ -187,10 +187,10 @@ static const struct OamData gOamData_85B1E18 =
.objMode = 0,
.mosaic = 0,
.bpp = 0,
- .shape = 0,
+ .shape = SPRITE_SHAPE(32x32),
.x = 0,
.matrixNum = 0,
- .size = 2,
+ .size = SPRITE_SIZE(32x32),
.tileNum = 0,
.priority = 1,
.paletteNum = 0,
@@ -204,10 +204,10 @@ static const struct OamData gOamData_85B1E20 =
.objMode = 0,
.mosaic = 0,
.bpp = 0,
- .shape = 0,
+ .shape = SPRITE_SHAPE(64x64),
.x = 0,
.matrixNum = 0,
- .size = 3,
+ .size = SPRITE_SIZE(64x64),
.tileNum = 0,
.priority = 1,
.paletteNum = 0,
@@ -296,21 +296,35 @@ static const union AffineAnimCmd * const gSpriteAffineAnimTable_85B1ED4[] = {gSp
static const struct CompressedSpriteSheet gUnknown_085B1ED8[] =
{
- gUnknown_085B18AC, 0x0800, 0x1000,
- NULL,
+ {
+ .data = gUnknown_085B18AC,
+ .size = 0x0800,
+ .tag = 0x1000
+ },
+ {}
};
static const struct CompressedSpriteSheet gUnknown_085B1EE8[] =
{
- gUnknown_085B1BCC, 0x0800, 0x1001,
- NULL,
+ {
+ .data = gUnknown_085B1BCC,
+ .size = 0x0800,
+ .tag = 0x1001
+ },
+ {}
};
static const struct SpritePalette gUnknown_085B1EF8[] =
{
- gBirchBallarrow_Pal, 0x1000,
- gBirchCircle_Pal, 0x1001,
- NULL,
+ {
+ .data = gBirchBallarrow_Pal,
+ .tag = 0x1000
+ },
+ {
+ .data = gBirchCircle_Pal,
+ .tag = 0x1001
+ },
+ {},
};
static const struct SpriteTemplate sSpriteTemplate_Hand =