diff --git a/src/item_entity.c b/src/item_entity.c index c06ec8a4c..44c848953 100644 --- a/src/item_entity.c +++ b/src/item_entity.c @@ -297,7 +297,7 @@ void item_entity_load(ItemEntity* item) { s32 size; s32 i; - item->savedReadPos = item->readPos = gItemEntityScripts[item->itemID]; + item->savedReadPos = item->readPos = pos = gItemEntityScripts[item->itemID]; while (TRUE) { switch (*pos++) {