summaryrefslogtreecommitdiff
path: root/gflib/bg.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-24 15:50:39 -0400
committerGitHub <noreply@github.com>2021-10-24 15:50:39 -0400
commitab802649218507237cd2c07e318ef65e1caca5fe (patch)
tree48104eb5c96c07611ba511f11fc56e9cce6404d6 /gflib/bg.c
parent3834cc2957b27c771c59027935b0b3a86a19b273 (diff)
parent6067aa65b4d16649785f39fc2e8ff253abb34327 (diff)
Merge pull request #1519 from GriffinRichards/doc-mgift
Document Mystery Gift
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;
}