def all_sprite_scripts(state):
    """
    Finds all scripts in sprites DOES NOT include stage
    returns a list of lists, each sublist is a list of scripts for each sprite
    """
    json_data = state.data.get('json')
    sprite_scripts = []
    if json_data != None:
        for child in json_data.get('children'):
            if 'scripts' in child:
                sprite_scripts.append(child.get('scripts', []))
    return sprite_scripts
