From 4eff1882443b0004d9c9fa4895cdfefdc356565f Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 8 Sep 2021 21:32:59 -0700 Subject: Thank You Mail and minor DungeonEnitity Work (#52) * Thank You Mail: split out code into own file w/ data * use constant for facingDir --- src/code_8041AD0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code_8041AD0.c') 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); -- cgit v1.2.3