summaryrefslogtreecommitdiff
path: root/arm9/src/unk_0202C0E0.c
diff options
context:
space:
mode:
authorwho-knows-who <j.williams97@outlook.com>2021-03-06 16:19:38 +0000
committerwho-knows-who <j.williams97@outlook.com>2021-03-06 16:19:38 +0000
commit6b7b7395fbcfd632bf3a3bcbb9dea4480c455ed2 (patch)
tree29cb7f67140f30eb5c7e2f1a7142240eff20b641 /arm9/src/unk_0202C0E0.c
parent6f6bf00b6635b39c5e57fab97bbf4d165be00ccc (diff)
Review changes
Diffstat (limited to 'arm9/src/unk_0202C0E0.c')
-rw-r--r--arm9/src/unk_0202C0E0.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/arm9/src/unk_0202C0E0.c b/arm9/src/unk_0202C0E0.c
index bf24908a..0b57926b 100644
--- a/arm9/src/unk_0202C0E0.c
+++ b/arm9/src/unk_0202C0E0.c
@@ -9,17 +9,15 @@ THUMB_FUNC u32 FUN_0202C0E0()
THUMB_FUNC void FUN_0202C0E4(struct UnkSaveStruct0202C0E4 *unkStruct)
{
+ s32 j, i;
- int j, i = 0;
-
- do {
- j = 0;
- do {
+ for (i = 0; i < 5; i++)
+ {
+ for (j = 0; j < 4; j++)
+ {
unkStruct->data[i][j] = 0;
- j++;
- } while (j < 4);
- i++;
- } while (i < 5);
+ }
+ }
}
THUMB_FUNC void FUN_0202C108(struct SaveBlock2 *sav2, u32 a1, u32 a2)