summaryrefslogtreecommitdiff
path: root/src/code_800AF9B0.c
diff options
context:
space:
mode:
authorTyler McGavran <tyler.taggerung@gmail.com>2021-11-16 14:37:58 -0500
committerGitHub <noreply@github.com>2021-11-16 12:37:58 -0700
commitf6a11c734a8c841095cf58535a5a5602b4f29f69 (patch)
treea9972c7c62efcdc1575d88d241b2c691fb72c339 /src/code_800AF9B0.c
parent62aa19392254572c247207a1dd785d7109aa10af (diff)
Found the variable that tracks the CC type selected. (#57)
Added some comments for the possible values of Mode and CC selection Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'src/code_800AF9B0.c')
-rw-r--r--src/code_800AF9B0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code_800AF9B0.c b/src/code_800AF9B0.c
index bf43bc850..7a7744265 100644
--- a/src/code_800AF9B0.c
+++ b/src/code_800AF9B0.c
@@ -852,7 +852,7 @@ void func_800B28C8(void) {
gIsMirrorMode = 0;
return;
}
- D_800DC548 = temp_v0;
+ gCCSelection = temp_v0;
D_800DC648 = 1;
if (temp_v0 == 3) {
gIsMirrorMode = 1;
@@ -861,7 +861,7 @@ void func_800B28C8(void) {
gIsMirrorMode = 0;
return;
}
- D_800DC548 = 1;
+ gCCSelection = 1;
gIsMirrorMode = 0;
D_800DC648 = 0;
if (temp_v0 != 0) {
@@ -869,7 +869,7 @@ void func_800B28C8(void) {
}
return;
}
- D_800DC548 = temp_v0;
+ gCCSelection = temp_v0;
D_800DC648 = 1;
if (temp_v0 == 3) {
gIsMirrorMode = 1;
@@ -1803,7 +1803,7 @@ void func_800B536C(s32 arg0) {
temp_a2 = arg0;
if (arg0 >= 0) {
- temp_v0 = D_800DC548 + 0x180 + &D_8018EB90;
+ temp_v0 = gCCSelection + 0x180 + &D_8018EB90;
arg0 = temp_a2;
sp1C = temp_v0;
temp_v1 = 3 - arg0;