summaryrefslogtreecommitdiff
path: root/src/code_800AF9B0.c
diff options
context:
space:
mode:
authorMaciek Baron <thebezet@gmail.com>2022-01-01 20:06:21 +0000
committerGitHub <noreply@github.com>2022-01-01 13:06:21 -0700
commit7df6d01ef3e0d550d780a763bf1ed9ad7f11e9ad (patch)
treeb23d431d2a1bbd785d7cf218920f710277dd3695 /src/code_800AF9B0.c
parent4d9ca027506ff7a96972ab34803baec1a477a2c8 (diff)
Add player and controller labels, rename function (#123)
* Add player labels, rename function * Relabel controller vars to improve readability
Diffstat (limited to 'src/code_800AF9B0.c')
-rw-r--r--src/code_800AF9B0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_800AF9B0.c b/src/code_800AF9B0.c
index 7fa4fbea8..fe7ad840c 100644
--- a/src/code_800AF9B0.c
+++ b/src/code_800AF9B0.c
@@ -1889,7 +1889,7 @@ void func_800B20F4(void *arg0, s32 arg1) {
D_800DC51C = 0;
}
if ((arg0->unk4 & 0x2000) != 0) { // Z is held
- if ((sp2E & 0x8000) != 0) {
+ if ((sp2E & 0x8000) != 0) {
gDebugGotoScene = DEBUG_GOTO_ENDING_SEQUENCE; // Go to ending ceremony if A is not pressed
} else {
gDebugGotoScene = DEBUG_GOTO_CREDITS_SEQUENCE_CC_EXTRA; // Go to credits, set gCCSelection to CC_EXTRA
@@ -4136,7 +4136,7 @@ extern s8 gCupSelection;
func_800051C4();
D_80162DD6 = 1;
- func_80005AE8(D_800DC4E4);
+ func_80005AE8(gPlayerThree);
temp_v0 = (arg0 << 7) + &D_8018EE10;
phi_s3 = 0;
if (((gCupSelection * 4) + gCupCourseSelection) != temp_v0->unk5) {