Isn't line 30...
Not sure why that would be causing an error... Can you post the line you mean, Leadwerks?
If event.id = EVENT_GADGETPAINT Or event.id = EVENT_TIMERTICK Then
Not sure why that would be causing an error... Can you post the line you mean, Leadwerks?