The implementation of cc_assert_script_compatible will invoke CC_ASSERT.
<pre>
void CC_DLL cc_assert_script_compatible(bool cond, const char *msg)
{
    cocos2d::CCScriptEngineProtocol* pEngine = cocos2d::CCScriptEngineManager::sharedManager()->getScriptEngine();
    if (!cond && pEngine && pEngine->executeAssert(cond, msg))
    {
        return;
    }
    
    CC_ASSERT(cond);
}
</pre>