I think we're going to need some kind of item limit. Not sure how to implement it yet, haha. From the code:
case 1: $quest = "energy"; break;
case 2: $quest = "shot"; break;
case 3: $quest = "shell"; break;
case 4: $quest = "boots"; break;
case 5: $quest = "deku"; break;
case 6: $quest = "bomb"; break;
case 7: $quest = "mask"; break;
case 8: $quest = "mushroom"; break;
case 9: $quest = "potion"; break;
case 10: $quest = "sword"; break;
case 11: $quest = "fire"; break;
case 12: $quest = "red"; break;
case 13: $quest = "key"; break;
case 14: $quest = "blue"; break;
case 15: $quest = "magic"; break;
case 16: $quest = "bag"; break;
case 17: $quest = "green"; break;
case 18: $quest = "shield"; break;
case 19: $quest = "small"; break;
case 20: $quest = "coin"; break;
case 21: $quest = "hat"; break;
case 22: $quest = "ring"; break;
case 23: $quest = "letter"; break;
case 24: $quest = "armor"; break;
//
default: $quest = "balloon"; break;