Whoops, forgot to actually include the swf file in the commit. Derp.
It's worth noting that my computer doesn't have all the fonts fenoxo uses, so it looks a bit funny.
Removed the variables.as file and moved all the variables into their appropriate files. Created GlobalVariables to handle all the variables that still have to be global right now. InitialiseUI.as moved the action button code out from variables into it's own file.
Moved the now single saves.as file back to includes because it is an include and not a class definition.
>
> Also updated the include path to point to the saves.as file properly.  Saves seem to be working fine, now, so it seems the duplicate as file was at fault.
FlagDictionary file that contains a reference for what every flag number does. At least, one day it will.
Merge pull request #5 from Hoffledop/master

Removed the variables.as file and moved all the variables into their app...
Cheated and stole the giant list of flag definitions from the CoCEd source.
Ok, I have now rewritten the `choices` function so it can accept functions instead of event numbers. This means that (about half of) eventParser.as can now be phased out, as events can be strung directly together.

Basically, previously, you'd call:
choices("Null", 0, "Credits", 63, "Instructions", 81, "four", 0, "five", 0, "Null", 0, "seven", 0, "Silly Toggle", 0, "Settings", 122, "",0);

and when a button was clicked, eventParser() in eventParser.as would be called, which would then go through it's GIANT if statement chain, to determine which function event [N] corresponds to.

Now, you can directly pass the functions that should be called on a button-press like such:

choices("Null", 0, "Credits", creditsScreen, "Instructions", howToPlay, "Null", 0, "Null", 0, "Null", 0, "Null", 0, "Null", 0, "Settings", settingsScreen, "Null",0);

Note that this is fully backwards compatible with the existing code, so updates to use function arguments to choices (and simpleChoices, which I still need to fix) can be rolled out gradually.
Found the proper license in the source.
Whoops, I can't read. never mind.
HOLY AUTOMATED REFACTORING BATMAN.
Anyways, I've written a script that pulled out the functions from the event numbers in doEvent.as, and then went through all the .as files in ./includes and replaced the event numbers with the corresponding functions. Hopefully, it won't cause too many issues, it certainly compiles, in any event.
Horribly messy script for automating refactoring stuff.
I'm breaking things!
Updates broke too much stuff, rolling back the master until I get it working.
Merge branch 'master' of https://github.com/herp-a-derp/Corruption-of-Champions
Merge branch 'master' of https://github.com/herp-a-derp/Corruption-of-Champions
Updates broke too much stuff, rolling back the master until I get it working.

This reverts commit 393b04a9a1566062e76396e44837d30157863a32.
Ok, it turns out I derped and somehow simpleChoices had either been reverted to the old calling standard, or I just never updated it (I thought I did?). Anyways, doYesNo() and simpleChoices were therefore trying to cast a function() to a number, which returned NaN and made all the things asplode. It seems to be working now. I'll test a bit more tomorrow, and then merge back into the master.
Found the proper license in the source.
Whoops, I can't read. never mind.
HOLY AUTOMATED REFACTORING BATMAN.
Anyways, I've written a script that pulled out the functions from the event numbers in doEvent.as, and then went through all the .as files in ./includes and replaced the event numbers with the corresponding functions. Hopefully, it won't cause too many issues, it certainly compiles, in any event.