some more documentation

This commit is contained in:
Henny022p
2022-02-09 03:58:04 +01:00
parent 61e780fb2a
commit 3297dc905c
4 changed files with 40 additions and 44 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ void sub_08081790(DeathFxObject* this) {
DeathFx_DropRandom9, DeathFx_DropRandom9, DeathFx_DropRandom9, DeathFx_DropRandom9,
DeathFx_DropRandom9, DeathFx_DropRandom9, DeathFx_DropRandom9, DeathFx_DropFixedItem,
};
static const u8 gUnk_0811EC64[] = {
static const u8 DeathFx_EnemyDroptables[] = {
[OCTOROK] = 6,
[CHUCHU] = 6,
[LEEVER] = 6,
@@ -228,7 +228,7 @@ void sub_08081790(DeathFxObject* this) {
6,
};
if (this->parentId < 0xf0) {
CreateRandomItemDrop(super, gUnk_0811EC64[this->parentId]);
CreateRandomItemDrop(super, DeathFx_EnemyDroptables[this->parentId]);
} else {
DeathFx_DropFunctions[this->parentId - 0xf0](this);
}