summaryrefslogtreecommitdiff
path: root/src/code_8041AD0.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-09-08 21:32:59 -0700
committerGitHub <noreply@github.com>2021-09-08 21:32:59 -0700
commit4eff1882443b0004d9c9fa4895cdfefdc356565f (patch)
treea2c2a1f4ef482b64c0f3a19aacd074d6390d6e88 /src/code_8041AD0.c
parent0313c6bbc5e210ad1781dbb8d42641f5f604efd7 (diff)
Thank You Mail and minor DungeonEnitity Work (#52)
* Thank You Mail: split out code into own file w/ data * use constant for facingDir
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);