Harglbargl more automated refactoring stuff.
Corner-cases AHOY. Also, why is doNext being called BEFORE the event so much of the time? That was causing my refactorTool to crap itself. Worse still, that means I have to manually check every function that is called to make sure it's setting it's buttons up properly, or there will be no way to exit the event.
I'm pretty much dead sure this will break *something*, but I just went ahead and removed all the if options in doEvent that I had previously just disabled by setting eventNo to false.
I'll just have to look in the file history to reference what the event numbers could mean, though my refactoring tool should have ensured that any removed event numbers exist no where in the codebase anyways.
I'm probably being a bit overcautious. What the hell.
Merge branch 'master' of https://github.com/herp-a-derp/Corruption-of-Champions
More eventNumber cleanup.
Merging in Gedan's modifications which should fix the urta quest.
I *think* this should fix https://github.com/herp-a-derp/Corruption-of-Champions/issues/28
Basically, jojoRape() didn't have a doNext(13), and was instead relying on a instance of doNext in eventParser.as. Therefore, when called directly, rather then through event-parser, the event following jojoRape was not properly initialized.
Registering classes so clone should work on them. Hopefully will fix the urta quests.
Revert "Merging in Gedan's modifications which should fix the urta quest."

This reverts commit f7bbd243df57c183bd0ddec5b912bd7ac9d7aee8.

It turns out that some of the issues Gedan fixed may have been caused by not having the new class aliases properly registered with registerClassAlias(). Anyways, I'm rolling back the copy calls for the moment.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	classes/classes/ImageManager.as
Removed the CopyFrom "constructors"
Attempts to allow CockTypesEnum to be serialized by bytearray.readObject().

Added a default parameter to the CockTypesEnum so that readObject() can actually work with the class. Required restructuring the base class to avoid some exception throws.
Converted urtaQuest back to using clone()