summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-04 15:25:13 -0500
committerhuderlem <huderlem@gmail.com>2019-12-06 19:05:44 -0600
commitc40879aa3693a18c23be42cce54d52ca7afe1bca (patch)
treeefdd624c6a153da738551d6c93a198a704e832ef /src/egg_hatch.c
parent22fd579fd98bb7d1e5d282da2aea2ab98f711de2 (diff)
Use ST_OAM constants for OamData definitions
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 9e9d1c2c5..2ce2c04bb 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -83,10 +83,10 @@ static const u8 sEggShardTiles[] = INCBIN_U8("graphics/misc/egg_shard.4bpp");
static const struct OamData sOamData_EggHatch =
{
.y = 0,
- .affineMode = 0,
- .objMode = 0,
+ .affineMode = ST_OAM_AFFINE_OFF,
+ .objMode = ST_OAM_OBJ_NORMAL,
.mosaic = 0,
- .bpp = 0,
+ .bpp = ST_OAM_4BPP,
.shape = SPRITE_SHAPE(32x32),
.x = 0,
.matrixNum = 0,
@@ -163,10 +163,10 @@ static const struct SpriteTemplate sSpriteTemplate_EggHatch =
static const struct OamData sOamData_EggShard =
{
.y = 0,
- .affineMode = 0,
- .objMode = 0,
+ .affineMode = ST_OAM_AFFINE_OFF,
+ .objMode = ST_OAM_OBJ_NORMAL,
.mosaic = 0,
- .bpp = 0,
+ .bpp = ST_OAM_4BPP,
.shape = SPRITE_SHAPE(8x8),
.x = 0,
.matrixNum = 0,