Added collision code to flash sky