Add sprite_pool for limiting sprites used in randomonevent.

This commit is contained in:
CaitSith2
2020-10-06 13:22:03 -07:00
parent aae08a807f
commit 9812e2cca5
7 changed files with 23 additions and 5 deletions

1
Gui.py
View File

@@ -550,6 +550,7 @@ def guiMain(args=None):
"bonk": "b",
"general": "g",
"both": "bg"}[prizeVar.get()]
guiargs.sprite_pool = []
guiargs.customitemarray = [int(bowVar.get()), int(silverarrowVar.get()), int(boomerangVar.get()),
int(magicboomerangVar.get()), int(hookshotVar.get()), int(mushroomVar.get()),
int(magicpowderVar.get()), int(firerodVar.get()),