mirror of
https://github.com/zeldaret/tmc
synced 2026-08-07 02:06:40 -04:00
create object enum and update entity type struct
This commit is contained in:
+3
-3
@@ -250,10 +250,10 @@ u32 CreateItemDrop(Entity* arg0, u32 itemID, u32 itemParameter) {
|
||||
} else {
|
||||
itemEntity->actionDelay = 0;
|
||||
}
|
||||
if ((arg0->entityType).type == 6) {
|
||||
if (arg0->entityType.subtype == 99) {
|
||||
if (arg0->kind == 6) {
|
||||
if (arg0->id == 99) {
|
||||
arg0->attachedEntity = itemEntity;
|
||||
} else if (arg0->entityType.subtype == 0x1e) {
|
||||
} else if (arg0->id == 0x1e) {
|
||||
itemEntity->direction = arg0->animationState << 3 | 0x80;
|
||||
itemEntity->nonPlanarMovement = 0xc0;
|
||||
itemEntity->field_0x20 = 0x18000;
|
||||
|
||||
Reference in New Issue
Block a user