summaryrefslogtreecommitdiff
path: root/gflib/bg.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-14 12:12:16 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-14 13:24:20 -0400
commit95406384f4b8291238a4822ad0bf20a9b491df72 (patch)
tree04103f8da4d958262ef99c7af0797eee6d251e25 /gflib/bg.c
parent3a7995bc7ce8fda6a763ab14f96a2011f735def6 (diff)
Start wonder card/news documenting
Diffstat (limited to 'gflib/bg.c')
-rw-r--r--gflib/bg.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gflib/bg.c b/gflib/bg.c
index 283a87ce0..fd72f2d24 100644
--- a/gflib/bg.c
+++ b/gflib/bg.c
@@ -553,14 +553,14 @@ s32 ChangeBgX(u8 bg, s32 value, u8 op)
switch (op)
{
- case 0:
+ case BG_COORD_SET:
default:
sGpuBgConfigs2[bg].bg_x = value;
break;
- case 1:
+ case BG_COORD_ADD:
sGpuBgConfigs2[bg].bg_x += value;
break;
- case 2:
+ case BG_COORD_SUB:
sGpuBgConfigs2[bg].bg_x -= value;
break;
}
@@ -633,14 +633,14 @@ s32 ChangeBgY(u8 bg, s32 value, u8 op)
switch (op)
{
- case 0:
+ case BG_COORD_SET:
default:
sGpuBgConfigs2[bg].bg_y = value;
break;
- case 1:
+ case BG_COORD_ADD:
sGpuBgConfigs2[bg].bg_y += value;
break;
- case 2:
+ case BG_COORD_SUB:
sGpuBgConfigs2[bg].bg_y -= value;
break;
}
@@ -703,14 +703,14 @@ s32 ChangeBgY_ScreenOff(u8 bg, s32 value, u8 op)
switch (op)
{
- case 0:
+ case BG_COORD_SET:
default:
sGpuBgConfigs2[bg].bg_y = value;
break;
- case 1:
+ case BG_COORD_ADD:
sGpuBgConfigs2[bg].bg_y += value;
break;
- case 2:
+ case BG_COORD_SUB:
sGpuBgConfigs2[bg].bg_y -= value;
break;
}