import serial
import pygame
import random

ser = serial.Serial('YOUR SERIAL PORT HERE#', 9600) # replace with appropriate serial port name
pygame.mixer.init()

sounds = [
    # "Path to Pikachu1.mp3",
    # "Path to Pikachu2.mp3",
    # "Path to Pikachu3.mp3"
]

while True:
    if ser.read() == b'\x01':
        sound_file = random.choice(sounds)
        pygame.mixer.music.load(sound_file)
        pygame.mixer.music.play()
