introduce enemy id enum

This commit is contained in:
Henny022p
2021-05-02 02:57:05 +02:00
parent f477e63fa4
commit b86539d363
19 changed files with 250 additions and 152 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ u32 CreateItemDrop(Entity* arg0, u32 itemID, u32 itemParameter) {
}
if (itemID != 0) {
if (itemID == 0xff) {
itemEntity = CreateEnemy(7, 0);
itemEntity = CreateEnemy(BEETLE, 0);
if (itemEntity != NULL) {
itemEntity->x.HALF.HI = arg0->x.HALF.HI;
itemEntity->y.HALF.HI = arg0->y.HALF.HI;