So I somehow broke something when changing some functions last night and now everything I worked on is borked :(
I have this code - a set of functions which create an instance of a Sprite object, Monster, which is in a container with an instance of StatMods, in its own dictionary object.
Function "spawn" randomizes StatMods and sets some instance variables in Monster based on parameter 0.
It then calls function "statinit" when applies the former values to the latter.
This all worked wonderfully initially! I made an event sheet that inherited this one and made a button that called "spawn" with param0 as "Muddikorg", and it worked just fine.
Then last night I must have changed something that ruined it. All I remember adding is this:
(calling spritegen is at the end of statinit.)
I looked at the c3 updates to see if anything there could have done this but I don't believe so.
This is a huge downer for me so any help is appreciated!