'COLDOWN',
'COLUP',
'COLOVER',
- 'COLSTATECHANGE']
+ 'COLSTATECHANGE',
+ 'SONGEND']
eventNames = {}
self = modules[__name__]
for i, name in enumerate(events) :
eventType = pygame.USEREVENT + 1 + i
+ if eventType >= pygame.NUMEVENTS :
+ eventType = eventType + 1
eventNames[eventType] = name
setattr(self, name, eventType)