summaryrefslogtreecommitdiff
path: root/src/code_0805436C.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-02-19 00:47:22 -0800
committertheo3 <arisstephenson2@gmail.com>2021-02-19 00:47:22 -0800
commitce06f7dbb70b87cc3007a3e6ee6642b3f9aeb8b3 (patch)
tree0affacd2a74cb9fc324bf2a48bb76f2da432ec77 /src/code_0805436C.c
parent71ae3b07ea560601a3cddad9ab1eae7beedcf9ee (diff)
begin arm_proxy.c
Diffstat (limited to 'src/code_0805436C.c')
-rw-r--r--src/code_0805436C.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/code_0805436C.c b/src/code_0805436C.c
index 06e1183b..41ef9ad2 100644
--- a/src/code_0805436C.c
+++ b/src/code_0805436C.c
@@ -82,19 +82,19 @@ u32 SetBottleContents(u32 itemID, u32 bottleIndex) {
if (bottleIndex > 3) {
bottleIndex = 0;
- if (gSave.stats.filler2[0] != 0x20) {
+ if (gSave.stats.bottles[0] != 0x20) {
do {
bottleIndex++;
if (bottleIndex > 3) {
return bottleIndex;
}
- } while (gSave.stats.filler2[bottleIndex] != 0x20);
+ } while (gSave.stats.bottles[bottleIndex] != 0x20);
}
if (bottleIndex > 3) {
return bottleIndex;
}
}
- gSave.stats.filler2[bottleIndex] = itemID;
+ gSave.stats.bottles[bottleIndex] = itemID;
return bottleIndex;
}
@@ -134,13 +134,13 @@ u32 sub_080544C8(u32 arg0) {
}
u32 sub_080544DC(u32 arg0) {
- if (arg0 == gSave.stats.filler2[0]) {
+ if (arg0 == gSave.stats.bottles[0]) {
return 1;
- } else if (arg0 == gSave.stats.filler2[1]) {
+ } else if (arg0 == gSave.stats.bottles[1]) {
return 2;
- } else if (arg0 == gSave.stats.filler2[2]) {
+ } else if (arg0 == gSave.stats.bottles[2]) {
return 3;
- } else if (arg0 == gSave.stats.filler2[3]) {
+ } else if (arg0 == gSave.stats.bottles[3]) {
return 4;
} else {
return 0;