def minor_actions(battle: Battle, split_line):
    if split_line[0] == "-fail":
        pass
    elif split_line[0] == "-damage":
        pass
    elif split_line[0] == "-heal":
        pass
    elif split_line[0] == "-status":
        if battle.player_id in split_line[1]:
            battle.update_status(battle.bot_team.active(), split_line[2])
        else:
            battle.update_status(battle.enemy_team.active(), split_line[2])
    elif split_line[0] == "-curestatus":
        if battle.player_id in split_line[1]:
            battle.update_status(battle.bot_team.active())
        else:
            battle.update_status(battle.enemy_team.active())
    elif split_line[0] == "-cureteam":
        pass
    elif split_line[0] == "-boost":
        if battle.player_id in split_line[1]:
            battle.set_buff(battle.bot_team.active(), split_line[2],
                            int(split_line[3]))
        else:
            battle.set_buff(battle.enemy_team.active(), split_line[2],
                            int(split_line[3]))
    elif split_line[0] == "-unboost":
        if battle.player_id in split_line[1]:
            battle.set_buff(battle.bot_team.active(), split_line[2],
                            -int(split_line[3]))
        else:
            battle.set_buff(battle.enemy_team.active(), split_line[2],
                            -int(split_line[3]))
    elif split_line[0] == "-weather":
        pass
    elif split_line[0] == "-fieldstart":
        pass
    elif split_line[0] == "-fieldend":
        pass
    elif split_line[0] == "-sidestart":
        if "Reflect" in split_line[2] or "Light Screen" in split_line[2]:
            battle.screens[split_line[2].split(":")[1].lower().replace(
                " ", "")] = True
            print("** " + battle.screens)
    elif split_line[0] == "-sideend":
        if "Reflect" in split_line[2] or "Light Screen" in split_line[2]:
            battle.screens[split_line[2].split(":")[1].lower().replace(
                " ", "")] = False
            print("** " + battle.screens)
    elif split_line[0] == "-crit":
        pass
    elif split_line[0] == "-supereffective":
        pass
    elif split_line[0] == "-resisted":
        pass
    elif split_line[0] == "-immune":
        pass
    elif split_line[0] == "-item":
        if battle.player_id in split_line[1]:
            battle.bot_team.active().item = split_line[2].lower().replace(
                " ", "")
        else:
            battle.enemy_team.active().item = split_line[2].lower().replace(
                " ", "")
    elif split_line[0] == "-enditem":
        if battle.player_id not in split_line[1]:
            battle.bot_team.active().item = None
        else:
            battle.enemy_team.active().item = None
    elif split_line[0] == "-ability":
        pass
    elif split_line[0] == "-endability":
        pass
    elif split_line[0] == "-transform":
        pass
    elif split_line[0] == "-mega":
        pass
    elif split_line[0] == "-activate":
        pass
    elif split_line[0] == "-hint":
        pass
    elif split_line[0] == "-center":
        pass
    elif split_line[0] == "-message":
        pass
    else:
        pass
def minor_actions(battle: Battle, command: str, split_line: list[str]):
    match command:
        case "-fail":
            pass
        case "-damage" if battle.player_id not in split_line[0]:
            name = re.match(r'p\da: (.*)', split_line[0]).group(1)
            battle.update_enemy(name, split_line[1])
        case "-heal":
            pass
        case "-status":
            battle.update_status(battle.get_team(split_line[0]).active(), split_line[1])
        case "-curestatus":
            battle.update_status(battle.get_team(split_line[0]).active())
        case "-cureteam":
            pass
        case "-boost":
            battle.set_buff(battle.get_team(split_line[0]).active(), split_line[1], int(split_line[2]))
        case "-unboost":
            battle.set_buff(battle.get_team(split_line[0]).active(), split_line[1], - int(split_line[2]))
        case "-weather":
            battle.weather = split_line[0]
        case "-fieldstart":
            battle.fields.append(split_line[0])
            print("** " + battle.fields)
        case "-fieldend":
            battle.fields.remove(split_line[0])
            print("** " + battle.fields)
        case "-sidestart":
            battle.side_condition.append(split_line[1])
            print("** " + battle.side_condition)
        case "-sideend":
            battle.side_condition.remove(split_line[1])
            print("** " + battle.side_condition)
        case "-crit":
            pass
        case "-supereffective":
            pass
        case "-resisted":
            pass
        case "-immune":
            pass
        case "-item":
            battle.get_team(split_line[0]).active().item = split_line[1].lower().replace(" ", "")
        case "-enditem":
            battle.get_team(split_line[0]).active().item = None
        case "-ability":
            pass
        case "-endability":
            pass
        case "-transform":
            pass
        case "-mega":
            pass
        case "-activate":
            pass
        case "-hint":
            pass
        case "-center":
            pass
        case "-message":
            pass
        case _:
            pass