code = GetEventCode()
This function is used right after Hollywood jumped to an event label. If an event has to tell you additional information, you can get this information through this function.
For example, ONBUTTONCLICKALL returns the identifier of the button that caused Hollywood to jump to the label.