dump haxwiki event flag constants and use them in map events

from http://wiki.iimarck.us/GSC/Flags/