summaryrefslogtreecommitdiff
path: root/src/friend_area_1.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-01-27 18:46:39 -0600
committerSeth Barberee <seth.barberee@gmail.com>2021-01-28 09:24:55 -0600
commit4886c9f7dcfbaea24ff56e47c81e8af027b86c98 (patch)
tree8ce1afc88c2d8fc006d32b57d9ab3acea01f0763 /src/friend_area_1.c
parentcb77386b65b0a78c16ccd2dfd3d329aaf502ac2e (diff)
decomp, label, doc, repeat
Diffstat (limited to 'src/friend_area_1.c')
-rw-r--r--src/friend_area_1.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/friend_area_1.c b/src/friend_area_1.c
index ae04cdf..9a40e2c 100644
--- a/src/friend_area_1.c
+++ b/src/friend_area_1.c
@@ -17,10 +17,8 @@ u32 sub_80927A8(u32 r0, u32 r1)
sub_809486C(temp, r0, r1);
for(counter = 0; counter < NUM_FRIEND_AREAS; counter++)
{
- // TODO moves into R1 for the load else it matches
- if(!gFriendAreas[counter])
- temp[4] = gFriendAreas[counter];
- else
+ // TODO fix one line diff of storing into temp[4]
+ if(gFriendAreas[counter])
temp[4] = -1;
sub_809488C(temp, &(temp[4]), 1);
}