summaryrefslogtreecommitdiff
path: root/src/cable_car.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-11 03:12:15 -0400
committerhuderlem <huderlem@gmail.com>2019-03-16 12:37:04 -0500
commit9848f84b9ec2d5950cb5dc4600b7651486ff986a (patch)
tree43bf943b7ea0b7e533cb1b327fcedfb751f515db /src/cable_car.c
parent291df27dcbc9b1d1ea4bdf2f7363d58409fbd81d (diff)
Use constants for Oam .shape and .size fields
Also some general formatting fixes for constants.
Diffstat (limited to 'src/cable_car.c')
-rwxr-xr-xsrc/cable_car.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cable_car.c b/src/cable_car.c
index 420bdd30f..ab7b5726a 100755
--- a/src/cable_car.c
+++ b/src/cable_car.c
@@ -153,19 +153,22 @@ const struct SpritePalette gUnknown_085CDB74[] = {
const struct OamData gOamData_85CDB84 = {
.affineMode = ST_OAM_AFFINE_DOUBLE,
- .size = 3,
+ .shape = SPRITE_SHAPE(64x64),
+ .size = SPRITE_SIZE(64x64),
.priority = 2
};
const struct OamData gOamData_85CDB8C = {
.affineMode = ST_OAM_AFFINE_DOUBLE,
- .shape = ST_OAM_H_RECTANGLE,
+ .shape = SPRITE_SHAPE(16x8),
+ .size = SPRITE_SIZE(16x8),
.priority = 2
};
const struct OamData gOamData_85CDB94 = {
.affineMode = ST_OAM_AFFINE_DOUBLE,
- .size = 1,
+ .shape = SPRITE_SHAPE(16x16),
+ .size = SPRITE_SIZE(16x16),
.priority = 2
};