event_inherited() shaking = 30 direction = other.direction speed = 2 if (state == 0) state = 1