summaryrefslogtreecommitdiff
path: root/src/code_8041AD0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_8041AD0.c')
-rw-r--r--src/code_8041AD0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_8041AD0.c b/src/code_8041AD0.c
index 28ac016..9874f48 100644
--- a/src/code_8041AD0.c
+++ b/src/code_8041AD0.c
@@ -289,7 +289,7 @@ void sub_8041D5C(struct DungeonEntity *r0)
{
return;
}
- sub_803ED30(r0->unk70->unk112 , r0, 1, 0xB);
+ sub_803ED30(r0->unk70->stockpileCount , r0, 1, 0xB);
}
void sub_8041D84(struct DungeonEntity * r0)
@@ -675,7 +675,7 @@ void sub_8042208(struct DungeonEntity *r0, u8 r1)
void sub_8042238(u32 r0, struct DungeonEntity *r1)
{
- if(r1->unk70->unk6 != 0)
+ if(r1->unk70->isEnemy)
PlaySoundEffect(0x157);
else
PlaySoundEffect(0x156);