import pygame


class Player(pygame.sprite.Sprite):
    death = [pygame.image.load('Images/death1.png'), pygame.image.load('Images/death2.png'),
             pygame.image.load('Images/death3.png'),
             pygame.image.load('Images/death4.png'), pygame.image.load('Images/death5.png'),
             pygame.image.load('Images/death6.png'),
             pygame.image.load('Images/death7.png'), pygame.image.load('Images/death8.png'),
             pygame.image.load('Images/death9.png'),
             pygame.image.load('Images/death10.png'), pygame.image.load('Images/death11.png'),
             pygame.image.load('Images/death12.png'),
             pygame.image.load('Images/death13.png'), pygame.image.load('Images/death14.png'),
             pygame.image.load('Images/death15.png'),
             pygame.image.load('Images/death16.png'), pygame.image.load('Images/death17.png'),
             pygame.image.load('Images/death18.png'),pygame.image.load('Images/death19.png'),
             pygame.image.load('Images/death20.png')]
    p1walkLeft = [pygame.image.load('Images/p1left.png'), pygame.image.load('Images/p1left1.png'),
             pygame.image.load('Images/p1left2.png'),
             pygame.image.load('Images/p1left3.png'), pygame.image.load('Images/p1left2.png'),
             pygame.image.load('Images/p1left1.png'), pygame.image.load('Images/p1left.png')]
    p1walkLeftshield = [pygame.image.load('Images/p1leftshield.png'), pygame.image.load('Images/p1left1shield.png'),
                  pygame.image.load('Images/p1left2shield.png'),
                  pygame.image.load('Images/p1left3shield.png'), pygame.image.load('Images/p1left2shield.png'),
                  pygame.image.load('Images/p1left1shield.png'), pygame.image.load('Images/p1leftshield.png')]
    p1walkRight = [pygame.image.load('Images/p1right.png'), pygame.image.load('Images/p1right1.png'),
                  pygame.image.load('Images/p1right2.png'),
                  pygame.image.load('Images/p1right3.png'), pygame.image.load('Images/p1right2.png'),
                  pygame.image.load('Images/p1right1.png'), pygame.image.load('Images/p1right.png')]
    p1walkRightshield = [pygame.image.load('Images/p1rightshield.png'), pygame.image.load('Images/p1right1shield.png'),
                   pygame.image.load('Images/p1right2shield.png'),
                   pygame.image.load('Images/p1right3shield.png'), pygame.image.load('Images/p1right2shield.png'),
                   pygame.image.load('Images/p1right1shield.png'), pygame.image.load('Images/p1rightshield.png')]
    p1walkFront = [pygame.image.load('Images/p1front.png'), pygame.image.load('Images/p1front1.png'),
                   pygame.image.load('Images/p1front2.png'),
                   pygame.image.load('Images/p1front3.png'), pygame.image.load('Images/p1front2.png'),
                   pygame.image.load('Images/p1front1.png'), pygame.image.load('Images/p1front.png')]
    p1walkFrontshield = [pygame.image.load('Images/p1frontshield.png'), pygame.image.load('Images/p1front1shield.png'),
                   pygame.image.load('Images/p1front2shield.png'),
                   pygame.image.load('Images/p1front3shield.png'), pygame.image.load('Images/p1front2shield.png'),
                   pygame.image.load('Images/p1front1shield.png'), pygame.image.load('Images/p1frontshield.png')]
    p1walkBack = [pygame.image.load('Images/p1back.png'), pygame.image.load('Images/p1back1.png'),
                   pygame.image.load('Images/p1back2.png'),
                   pygame.image.load('Images/p1back3.png'), pygame.image.load('Images/p1back2.png'),
                   pygame.image.load('Images/p1back1.png'), pygame.image.load('Images/p1back.png')]
    p1walkBackshield = [pygame.image.load('Images/p1backshield.png'), pygame.image.load('Images/p1back1shield.png'),
                  pygame.image.load('Images/p1back2shield.png'),
                  pygame.image.load('Images/p1back3shield.png'), pygame.image.load('Images/p1back2shield.png'),
                  pygame.image.load('Images/p1back1shield.png'), pygame.image.load('Images/p1backshield.png')]
    p2walkLeft = [pygame.image.load('Images/p2left.png'), pygame.image.load('Images/p2left1.png'),
                  pygame.image.load('Images/p2left2.png'),
                  pygame.image.load('Images/p2left3.png'), pygame.image.load('Images/p2left2.png'),
                  pygame.image.load('Images/p2left1.png'), pygame.image.load('Images/p2left.png')]
    p2walkRight = [pygame.image.load('Images/p2right.png'), pygame.image.load('Images/p2right1.png'),
                   pygame.image.load('Images/p2right2.png'),
                   pygame.image.load('Images/p2right3.png'), pygame.image.load('Images/p2right2.png'),
                   pygame.image.load('Images/p2right1.png'), pygame.image.load('Images/p2right.png')]
    p2walkFront = [pygame.image.load('Images/p2front.png'), pygame.image.load('Images/p2front1.png'),
                   pygame.image.load('Images/p2front2.png'),
                   pygame.image.load('Images/p2front3.png'), pygame.image.load('Images/p2front2.png'),
                   pygame.image.load('Images/p2front1.png'), pygame.image.load('Images/p2front.png')]
    p2walkBack = [pygame.image.load('Images/p2back.png'), pygame.image.load('Images/p2back1.png'),
                  pygame.image.load('Images/p2back2.png'),
                  pygame.image.load('Images/p2back3.png'), pygame.image.load('Images/p2back2.png'),
                  pygame.image.load('Images/p2back1.png'), pygame.image.load('Images/p2back.png')]
    p2walkLeftshield = [pygame.image.load('Images/p2leftshield.png'), pygame.image.load('Images/p2left1shield.png'),
                  pygame.image.load('Images/p2left2shield.png'),
                  pygame.image.load('Images/p2left3shield.png'), pygame.image.load('Images/p2left2shield.png'),
                  pygame.image.load('Images/p2left1shield.png'), pygame.image.load('Images/p2leftshield.png')]
    p2walkRightshield = [pygame.image.load('Images/p2rightshield.png'), pygame.image.load('Images/p2right1shield.png'),
                   pygame.image.load('Images/p2right2shield.png'),
                   pygame.image.load('Images/p2right3shield.png'), pygame.image.load('Images/p2right2shield.png'),
                   pygame.image.load('Images/p2right1shield.png'), pygame.image.load('Images/p2rightshield.png')]
    p2walkFrontshield = [pygame.image.load('Images/p2frontshield.png'), pygame.image.load('Images/p2front1shield.png'),
                   pygame.image.load('Images/p2front2shield.png'),
                   pygame.image.load('Images/p2front3shield.png'), pygame.image.load('Images/p2front2shield.png'),
                   pygame.image.load('Images/p2front1shield.png'), pygame.image.load('Images/p2frontshield.png')]
    p2walkBackshield = [pygame.image.load('Images/p2backshield.png'), pygame.image.load('Images/p2back1shield.png'),
                  pygame.image.load('Images/p2back2shield.png'),
                  pygame.image.load('Images/p2back3shield.png'), pygame.image.load('Images/p2back2shield.png'),
                  pygame.image.load('Images/p2back1shield.png'), pygame.image.load('Images/p2backshield.png')]
    # Constructor function
    def __init__(self, x, y, number):
        super().__init__()
        self.image = pygame.Surface([24, 28])
        self.image.fill((0,0,0))

        self.rect = self.image.get_rect()
        self.rect.y = y
        self.rect.x = x
        self.front = True
        self.back = False
        self.left = False
        self.right = False
        self.number = number

        self.change_x = 0
        self.change_y = 0
        self.walkCount = 0
        self.walls = None

        self.alive = True
        self.canmove = True
        self.deathCount = 0
        self.gotomenu=False

        self.speed=3
        self.superspeed=False
        self.superspeedcount=0

        self.shield=False
        self.shieldcount=0

        self.megabombs=False
        self.megabombcount = 0

    def changespeed(self, x, y):
        self.change_x += x
        self.change_y += y
        if self.superspeed and self.change_x==0 and self.change_y==0:
            self.speed=6
            if self.superspeedcount>=150:
                self.superspeed = False
                self.speed=3
                self.superspeedcount=0

    def update(self):
        if self.canmove:
            self.rect.x += self.change_x
            if self.change_x <0:
                self.left=True
                self.right=False
                self.front=False
                self.back=False
            elif self.change_x >0:
                self.left=False
                self.right=True
                self.front=False
                self.back=False
            block_hit_list = pygame.sprite.spritecollide(self, self.walls, False)
            for block in block_hit_list:
                if self.change_x > 0:
                    self.rect.right = block.rect.left
                else:
                    self.rect.left = block.rect.right
            self.rect.y += self.change_y
            if self.change_y <0:
                self.left=False
                self.right=False
                self.front=False
                self.back=True
            elif self.change_y >0:
                self.left=False
                self.right=False
                self.front=True
                self.back=False
            block_hit_list = pygame.sprite.spritecollide(self, self.walls, False)
            for block in block_hit_list:
                if self.change_y > 0:
                    self.rect.bottom = block.rect.top
                else:
                    self.rect.top = block.rect.bottom

    def draw(self, screen):
        if self.number == 1:
            screen.blit(pygame.image.load('Images2/'+str(self.megabombcount)+'megabombs.png'), (2, 0))
            if self.alive:
                if self.front:
                    if self.shield:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p1frontshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkFrontshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p1front.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkFront[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.back:
                    if self.shield:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p1backshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkBackshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p1back.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkBack[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.left:
                    if self.shield:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p1leftshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkLeftshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p1left.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkLeft[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.right:
                    if self.shield:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p1rightshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkRightshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p1right.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p1walkRight[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
        elif self.number == 2:
            screen.blit(pygame.image.load('Images2/'+str(self.megabombcount)+'megabombs.png'), (415, 0))
            if self.alive:
                if self.front:
                    if self.shield:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p2frontshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkFrontshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p2front.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkFront[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.back:
                    if self.shield:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p2backshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkBackshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_y == 0:
                            screen.blit(pygame.image.load('Images/p2back.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkBack[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.left:
                    if self.shield:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p2leftshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkLeftshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p2left.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkLeft[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                elif self.right:
                    if self.shield:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p2rightshield.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkRightshield[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
                    else:
                        if self.change_x == 0:
                            screen.blit(pygame.image.load('Images/p2right.png'),
                                        (self.rect.x, self.rect.y))
                        else:
                            if self.walkCount + 1 >= 21:
                                self.walkCount = 0
                            screen.blit(self.p2walkRight[self.walkCount // 3], (self.rect.x, self.rect.y))
                            self.walkCount += 1
        if self.alive == False and self.deathCount < 200:
            screen.blit(self.death[self.deathCount // 10], (self.rect.x, self.rect.y))
            self.deathCount += 1
        if self.deathCount >= 200:
            self.rect.x = 1000
            self.gotomenu=True
    def reset(self,x,y):
        self.gotomenu = False
        self.alive = True
        self.deathCount = 0
        self.rect.x = x
        self.rect.y = y
        self.canmove = True
        self.front = True
        self.change_x=0
        self.change_y=0
        self.superspeed=False
        self.speed=3
        self.shield=False
        self.megabombs=False
        self.megabombcount=0
class Wall(pygame.sprite.Sprite):
    def __init__(self, x, y, width, height):
        super().__init__()
        self.image = pygame.Surface([width,height], pygame.SRCALPHA, 32)
        image = self.image.convert_alpha()

        self.rect = self.image.get_rect()
        self.rect.y = y
        self.rect.x = x
class powerup(pygame.sprite.Sprite):
    superspeedanimation=[pygame.image.load('Images/superspeed1.png'), pygame.image.load('Images/superspeed2.png'),
             pygame.image.load('Images/superspeed3.png'), pygame.image.load('Images/superspeed3.png'),
             pygame.image.load('Images/superspeed2.png'), pygame.image.load('Images/superspeed1.png')]
    shieldanimation = [pygame.image.load('Images/shield1.png'), pygame.image.load('Images/shield2.png'),
                           pygame.image.load('Images/shield3.png'), pygame.image.load('Images/shield3.png'),
                           pygame.image.load('Images/shield2.png'), pygame.image.load('Images/shield1.png')]
    megabombanimation = [pygame.image.load('Images2/megabombicon1.png'), pygame.image.load('Images2/megabombicon2.png'),
                       pygame.image.load('Images2/megabombicon3.png'), pygame.image.load('Images2/megabombicon3.png'),
                       pygame.image.load('Images2/megabombicon2.png'), pygame.image.load('Images2/megabombicon1.png')]
    def __init__(self, x, y, number):
        super().__init__()
        self.image = pygame.Surface([22, 28], pygame.SRCALPHA, 32)
        image = self.image.convert_alpha()
        self.rect = self.image.get_rect()
        self.rect.y = y
        self.rect.x = x
        self.number = number
        self.spawntimer=0
        self.respawntimer=0
        self.exists=True
        self.animationcount=0
    def draw(self, screen):
        if self.number==1:
            if self.exists and self.spawntimer>50:
                if self.animationcount + 1 >= 30:
                    self.animationcount = 0
                screen.blit(self.superspeedanimation[self.animationcount // 5], (self.rect.x, self.rect.y))
                self.animationcount += 1
        elif self.number==2:
            if self.exists and self.spawntimer > 50:
                if self.animationcount + 1 >= 30:
                    self.animationcount = 0
                screen.blit(self.shieldanimation[self.animationcount // 5], (self.rect.x, self.rect.y))
                self.animationcount += 1
        else:
            if self.exists and self.spawntimer > 50:
                if self.animationcount + 1 >= 30:
                    self.animationcount = 0
                screen.blit(self.megabombanimation[self.animationcount // 5], (self.rect.x, self.rect.y))
                self.animationcount += 1
    def reset(self):
        self.spawntimer=0
        self.respawntimer=0
        self.exists=True
class bomb(pygame.sprite.Sprite):
    def __init__(self, x, y, width, height, bomb_count, bomb_type):
        super().__init__()
        self.image = pygame.Surface([22, 28], pygame.SRCALPHA, 32)
        image = self.image.convert_alpha()
        self.rect = self.image.get_rect()
        self.rect.y = y
        self.rect.x = x
        self.width = width
        self.height = height
        self.bomb_count = bomb_count
        self.bomb_type = bomb_type

        self.walls = None
        self.leftcheck = self.rect.x - 32
        self.rightcheck = self.rect.x + self.width
        self.upcheck = self.rect.y - 32
        self.downcheck = self.rect.y + self.height
        self.expleft = True
        self.doubleexpleft = True
        self.expright = True
        self.doubleexpright = True
        self.expup = True
        self.doubleexpup = True
        self.expdown = True
        self.doubleexpdown = True
        self.expboxlist = []

    def draw(self, screen):
        if self.bomb_count < 30:
            if self.bomb_type==0:
                screen.blit(pygame.image.load('Images/bomb3.png'), (self.rect.x, self.rect.y))
            else:
                screen.blit(pygame.image.load('Images2/megabomb3.png'), (self.rect.x, self.rect.y))
        elif self.bomb_count < 60:
            if self.bomb_type == 0:
                screen.blit(pygame.image.load('Images/bomb2.png'), (self.rect.x, self.rect.y))
            else:
                screen.blit(pygame.image.load('Images2/megabomb2.png'), (self.rect.x, self.rect.y))
        elif self.bomb_count < 90:
            if self.bomb_type == 0:
                screen.blit(pygame.image.load('Images/bomb1.png'), (self.rect.x, self.rect.y))
            else:
                screen.blit(pygame.image.load('Images2/megabomb1.png'), (self.rect.x, self.rect.y))
        elif self.bomb_count < 120:
            if self.bomb_type==0:
                for i in self.walls:
                    if i.rect.collidepoint(self.leftcheck,self.rect.y):
                        self.expleft = False
                    if i.rect.collidepoint(self.rightcheck,self.rect.y):
                        self.expright = False
                    if i.rect.collidepoint(self.rect.x,self.upcheck):
                        self.expup = False
                    if i.rect.collidepoint(self.rect.x,self.downcheck):
                        self.expdown = False
                screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.rect.y))
                self.expboxlist.append(pygame.Rect(self.rect.x, self.rect.y, 32, 32))
                if self.expleft:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.leftcheck, self.rect.y, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck+16, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.leftcheck+16, self.rect.y, 32, 32))
                if self.expright:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.rightcheck, self.rect.y, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck-16, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.rightcheck-16, self.rect.y, 32, 32))
                if self.expup:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck+16))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck+16, 32, 32))
                if self.expdown:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck-16))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck-16, 32, 32))
            elif self.bomb_type==1:
                for i in self.walls:
                    if i.rect.collidepoint(self.leftcheck, self.rect.y):
                        self.expleft = False
                    if i.rect.collidepoint(self.leftcheck-32, self.rect.y):
                            self.doubleexpleft = False
                    if i.rect.collidepoint(self.rightcheck, self.rect.y):
                        self.expright = False
                    if i.rect.collidepoint(self.rightcheck+32, self.rect.y):
                            self.doubleexpright = False
                    if i.rect.collidepoint(self.rect.x, self.upcheck):
                        self.expup = False
                    if i.rect.collidepoint(self.rect.x, self.upcheck-32):
                            self.doubleexpup = False
                    if i.rect.collidepoint(self.rect.x, self.downcheck):
                        self.expdown = False
                    if i.rect.collidepoint(self.rect.x, self.downcheck+32):
                            self.doubleexpdown = False
                screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.rect.y))
                self.expboxlist.append(pygame.Rect(self.rect.x, self.rect.y, 32, 32))
                if self.expleft:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.leftcheck, self.rect.y, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck + 16, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.leftcheck + 16, self.rect.y, 32, 32))
                    if self.doubleexpleft:
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck-32, self.rect.y))
                        self.expboxlist.append(pygame.Rect(self.leftcheck-32, self.rect.y, 32, 32))
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.leftcheck-16, self.rect.y))
                        self.expboxlist.append(pygame.Rect(self.leftcheck-16, self.rect.y, 32, 32))
                if self.expright:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.rightcheck, self.rect.y, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck - 16, self.rect.y))
                    self.expboxlist.append(pygame.Rect(self.rightcheck - 16, self.rect.y, 32, 32))
                    if self.doubleexpright:
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck+32, self.rect.y))
                        self.expboxlist.append(pygame.Rect(self.rightcheck+32, self.rect.y, 32, 32))
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rightcheck+16, self.rect.y))
                        self.expboxlist.append(pygame.Rect(self.rightcheck+16, self.rect.y, 32, 32))
                if self.expup:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck + 16))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck + 16, 32, 32))
                    if self.doubleexpup:
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck-32))
                        self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck-32, 32, 32))
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.upcheck-16))
                        self.expboxlist.append(pygame.Rect(self.rect.x, self.upcheck-16, 32, 32))
                if self.expdown:
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck, 32, 32))
                    screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck - 16))
                    self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck - 16, 32, 32))
                    if self.doubleexpdown:
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck+32))
                        self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck+32, 32, 32))
                        screen.blit(pygame.image.load('Images/explosion.png'), (self.rect.x, self.downcheck+16))
                        self.expboxlist.append(pygame.Rect(self.rect.x, self.downcheck+16, 32, 32))
[((69, 107), 'pygame.image.load', 'pygame.image.load', (['"""Images/death1.png"""'], {}), "('Images/death1.png')\n", (86, 107), False, 'import pygame\n'), ((109, 147), 'pygame.image.load', 'pygame.image.load', (['"""Images/death2.png"""'], {}), "('Images/death2.png')\n", (126, 147), False, 'import pygame\n'), ((163, 201), 'pygame.image.load', 'pygame.image.load', (['"""Images/death3.png"""'], {}), "('Images/death3.png')\n", (180, 201), False, 'import pygame\n'), ((217, 255), 'pygame.image.load', 'pygame.image.load', (['"""Images/death4.png"""'], {}), "('Images/death4.png')\n", (234, 255), False, 'import pygame\n'), ((257, 295), 'pygame.image.load', 'pygame.image.load', (['"""Images/death5.png"""'], {}), "('Images/death5.png')\n", (274, 295), False, 'import pygame\n'), ((311, 349), 'pygame.image.load', 'pygame.image.load', (['"""Images/death6.png"""'], {}), "('Images/death6.png')\n", (328, 349), False, 'import pygame\n'), ((365, 403), 'pygame.image.load', 'pygame.image.load', (['"""Images/death7.png"""'], {}), "('Images/death7.png')\n", (382, 403), False, 'import pygame\n'), ((405, 443), 'pygame.image.load', 'pygame.image.load', (['"""Images/death8.png"""'], {}), "('Images/death8.png')\n", (422, 443), False, 'import pygame\n'), ((459, 497), 'pygame.image.load', 'pygame.image.load', (['"""Images/death9.png"""'], {}), "('Images/death9.png')\n", (476, 497), False, 'import pygame\n'), ((513, 552), 'pygame.image.load', 'pygame.image.load', (['"""Images/death10.png"""'], {}), "('Images/death10.png')\n", (530, 552), False, 'import pygame\n'), ((554, 593), 'pygame.image.load', 'pygame.image.load', (['"""Images/death11.png"""'], {}), "('Images/death11.png')\n", (571, 593), False, 'import pygame\n'), ((609, 648), 'pygame.image.load', 'pygame.image.load', (['"""Images/death12.png"""'], {}), "('Images/death12.png')\n", (626, 648), False, 'import pygame\n'), ((664, 703), 'pygame.image.load', 'pygame.image.load', (['"""Images/death13.png"""'], {}), "('Images/death13.png')\n", (681, 703), False, 'import pygame\n'), ((705, 744), 'pygame.image.load', 'pygame.image.load', (['"""Images/death14.png"""'], {}), "('Images/death14.png')\n", (722, 744), False, 'import pygame\n'), ((760, 799), 'pygame.image.load', 'pygame.image.load', (['"""Images/death15.png"""'], {}), "('Images/death15.png')\n", (777, 799), False, 'import pygame\n'), ((815, 854), 'pygame.image.load', 'pygame.image.load', (['"""Images/death16.png"""'], {}), "('Images/death16.png')\n", (832, 854), False, 'import pygame\n'), ((856, 895), 'pygame.image.load', 'pygame.image.load', (['"""Images/death17.png"""'], {}), "('Images/death17.png')\n", (873, 895), False, 'import pygame\n'), ((911, 950), 'pygame.image.load', 'pygame.image.load', (['"""Images/death18.png"""'], {}), "('Images/death18.png')\n", (928, 950), False, 'import pygame\n'), ((951, 990), 'pygame.image.load', 'pygame.image.load', (['"""Images/death19.png"""'], {}), "('Images/death19.png')\n", (968, 990), False, 'import pygame\n'), ((1006, 1045), 'pygame.image.load', 'pygame.image.load', (['"""Images/death20.png"""'], {}), "('Images/death20.png')\n", (1023, 1045), False, 'import pygame\n'), ((1066, 1104), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left.png"""'], {}), "('Images/p1left.png')\n", (1083, 1104), False, 'import pygame\n'), ((1106, 1145), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left1.png"""'], {}), "('Images/p1left1.png')\n", (1123, 1145), False, 'import pygame\n'), ((1161, 1200), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left2.png"""'], {}), "('Images/p1left2.png')\n", (1178, 1200), False, 'import pygame\n'), ((1216, 1255), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left3.png"""'], {}), "('Images/p1left3.png')\n", (1233, 1255), False, 'import pygame\n'), ((1257, 1296), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left2.png"""'], {}), "('Images/p1left2.png')\n", (1274, 1296), False, 'import pygame\n'), ((1312, 1351), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left1.png"""'], {}), "('Images/p1left1.png')\n", (1329, 1351), False, 'import pygame\n'), ((1353, 1391), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left.png"""'], {}), "('Images/p1left.png')\n", (1370, 1391), False, 'import pygame\n'), ((1418, 1462), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1leftshield.png"""'], {}), "('Images/p1leftshield.png')\n", (1435, 1462), False, 'import pygame\n'), ((1464, 1509), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left1shield.png"""'], {}), "('Images/p1left1shield.png')\n", (1481, 1509), False, 'import pygame\n'), ((1530, 1575), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left2shield.png"""'], {}), "('Images/p1left2shield.png')\n", (1547, 1575), False, 'import pygame\n'), ((1596, 1641), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left3shield.png"""'], {}), "('Images/p1left3shield.png')\n", (1613, 1641), False, 'import pygame\n'), ((1643, 1688), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left2shield.png"""'], {}), "('Images/p1left2shield.png')\n", (1660, 1688), False, 'import pygame\n'), ((1709, 1754), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left1shield.png"""'], {}), "('Images/p1left1shield.png')\n", (1726, 1754), False, 'import pygame\n'), ((1756, 1800), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1leftshield.png"""'], {}), "('Images/p1leftshield.png')\n", (1773, 1800), False, 'import pygame\n'), ((1822, 1861), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right.png"""'], {}), "('Images/p1right.png')\n", (1839, 1861), False, 'import pygame\n'), ((1863, 1903), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right1.png"""'], {}), "('Images/p1right1.png')\n", (1880, 1903), False, 'import pygame\n'), ((1924, 1964), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right2.png"""'], {}), "('Images/p1right2.png')\n", (1941, 1964), False, 'import pygame\n'), ((1985, 2025), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right3.png"""'], {}), "('Images/p1right3.png')\n", (2002, 2025), False, 'import pygame\n'), ((2027, 2067), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right2.png"""'], {}), "('Images/p1right2.png')\n", (2044, 2067), False, 'import pygame\n'), ((2088, 2128), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right1.png"""'], {}), "('Images/p1right1.png')\n", (2105, 2128), False, 'import pygame\n'), ((2130, 2169), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right.png"""'], {}), "('Images/p1right.png')\n", (2147, 2169), False, 'import pygame\n'), ((2197, 2242), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1rightshield.png"""'], {}), "('Images/p1rightshield.png')\n", (2214, 2242), False, 'import pygame\n'), ((2244, 2290), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right1shield.png"""'], {}), "('Images/p1right1shield.png')\n", (2261, 2290), False, 'import pygame\n'), ((2312, 2358), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right2shield.png"""'], {}), "('Images/p1right2shield.png')\n", (2329, 2358), False, 'import pygame\n'), ((2380, 2426), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right3shield.png"""'], {}), "('Images/p1right3shield.png')\n", (2397, 2426), False, 'import pygame\n'), ((2428, 2474), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right2shield.png"""'], {}), "('Images/p1right2shield.png')\n", (2445, 2474), False, 'import pygame\n'), ((2496, 2542), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right1shield.png"""'], {}), "('Images/p1right1shield.png')\n", (2513, 2542), False, 'import pygame\n'), ((2544, 2589), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1rightshield.png"""'], {}), "('Images/p1rightshield.png')\n", (2561, 2589), False, 'import pygame\n'), ((2611, 2650), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front.png"""'], {}), "('Images/p1front.png')\n", (2628, 2650), False, 'import pygame\n'), ((2652, 2692), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front1.png"""'], {}), "('Images/p1front1.png')\n", (2669, 2692), False, 'import pygame\n'), ((2714, 2754), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front2.png"""'], {}), "('Images/p1front2.png')\n", (2731, 2754), False, 'import pygame\n'), ((2776, 2816), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front3.png"""'], {}), "('Images/p1front3.png')\n", (2793, 2816), False, 'import pygame\n'), ((2818, 2858), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front2.png"""'], {}), "('Images/p1front2.png')\n", (2835, 2858), False, 'import pygame\n'), ((2880, 2920), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front1.png"""'], {}), "('Images/p1front1.png')\n", (2897, 2920), False, 'import pygame\n'), ((2922, 2961), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front.png"""'], {}), "('Images/p1front.png')\n", (2939, 2961), False, 'import pygame\n'), ((2989, 3034), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1frontshield.png"""'], {}), "('Images/p1frontshield.png')\n", (3006, 3034), False, 'import pygame\n'), ((3036, 3082), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front1shield.png"""'], {}), "('Images/p1front1shield.png')\n", (3053, 3082), False, 'import pygame\n'), ((3104, 3150), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front2shield.png"""'], {}), "('Images/p1front2shield.png')\n", (3121, 3150), False, 'import pygame\n'), ((3172, 3218), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front3shield.png"""'], {}), "('Images/p1front3shield.png')\n", (3189, 3218), False, 'import pygame\n'), ((3220, 3266), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front2shield.png"""'], {}), "('Images/p1front2shield.png')\n", (3237, 3266), False, 'import pygame\n'), ((3288, 3334), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front1shield.png"""'], {}), "('Images/p1front1shield.png')\n", (3305, 3334), False, 'import pygame\n'), ((3336, 3381), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1frontshield.png"""'], {}), "('Images/p1frontshield.png')\n", (3353, 3381), False, 'import pygame\n'), ((3402, 3440), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back.png"""'], {}), "('Images/p1back.png')\n", (3419, 3440), False, 'import pygame\n'), ((3442, 3481), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back1.png"""'], {}), "('Images/p1back1.png')\n", (3459, 3481), False, 'import pygame\n'), ((3503, 3542), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back2.png"""'], {}), "('Images/p1back2.png')\n", (3520, 3542), False, 'import pygame\n'), ((3564, 3603), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back3.png"""'], {}), "('Images/p1back3.png')\n", (3581, 3603), False, 'import pygame\n'), ((3605, 3644), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back2.png"""'], {}), "('Images/p1back2.png')\n", (3622, 3644), False, 'import pygame\n'), ((3666, 3705), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back1.png"""'], {}), "('Images/p1back1.png')\n", (3683, 3705), False, 'import pygame\n'), ((3707, 3745), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back.png"""'], {}), "('Images/p1back.png')\n", (3724, 3745), False, 'import pygame\n'), ((3772, 3816), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1backshield.png"""'], {}), "('Images/p1backshield.png')\n", (3789, 3816), False, 'import pygame\n'), ((3818, 3863), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back1shield.png"""'], {}), "('Images/p1back1shield.png')\n", (3835, 3863), False, 'import pygame\n'), ((3884, 3929), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back2shield.png"""'], {}), "('Images/p1back2shield.png')\n", (3901, 3929), False, 'import pygame\n'), ((3950, 3995), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back3shield.png"""'], {}), "('Images/p1back3shield.png')\n", (3967, 3995), False, 'import pygame\n'), ((3997, 4042), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back2shield.png"""'], {}), "('Images/p1back2shield.png')\n", (4014, 4042), False, 'import pygame\n'), ((4063, 4108), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back1shield.png"""'], {}), "('Images/p1back1shield.png')\n", (4080, 4108), False, 'import pygame\n'), ((4110, 4154), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1backshield.png"""'], {}), "('Images/p1backshield.png')\n", (4127, 4154), False, 'import pygame\n'), ((4175, 4213), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left.png"""'], {}), "('Images/p2left.png')\n", (4192, 4213), False, 'import pygame\n'), ((4215, 4254), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left1.png"""'], {}), "('Images/p2left1.png')\n", (4232, 4254), False, 'import pygame\n'), ((4275, 4314), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left2.png"""'], {}), "('Images/p2left2.png')\n", (4292, 4314), False, 'import pygame\n'), ((4335, 4374), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left3.png"""'], {}), "('Images/p2left3.png')\n", (4352, 4374), False, 'import pygame\n'), ((4376, 4415), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left2.png"""'], {}), "('Images/p2left2.png')\n", (4393, 4415), False, 'import pygame\n'), ((4436, 4475), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left1.png"""'], {}), "('Images/p2left1.png')\n", (4453, 4475), False, 'import pygame\n'), ((4477, 4515), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left.png"""'], {}), "('Images/p2left.png')\n", (4494, 4515), False, 'import pygame\n'), ((4537, 4576), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right.png"""'], {}), "('Images/p2right.png')\n", (4554, 4576), False, 'import pygame\n'), ((4578, 4618), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right1.png"""'], {}), "('Images/p2right1.png')\n", (4595, 4618), False, 'import pygame\n'), ((4640, 4680), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right2.png"""'], {}), "('Images/p2right2.png')\n", (4657, 4680), False, 'import pygame\n'), ((4702, 4742), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right3.png"""'], {}), "('Images/p2right3.png')\n", (4719, 4742), False, 'import pygame\n'), ((4744, 4784), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right2.png"""'], {}), "('Images/p2right2.png')\n", (4761, 4784), False, 'import pygame\n'), ((4806, 4846), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right1.png"""'], {}), "('Images/p2right1.png')\n", (4823, 4846), False, 'import pygame\n'), ((4848, 4887), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right.png"""'], {}), "('Images/p2right.png')\n", (4865, 4887), False, 'import pygame\n'), ((4909, 4948), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front.png"""'], {}), "('Images/p2front.png')\n", (4926, 4948), False, 'import pygame\n'), ((4950, 4990), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front1.png"""'], {}), "('Images/p2front1.png')\n", (4967, 4990), False, 'import pygame\n'), ((5012, 5052), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front2.png"""'], {}), "('Images/p2front2.png')\n", (5029, 5052), False, 'import pygame\n'), ((5074, 5114), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front3.png"""'], {}), "('Images/p2front3.png')\n", (5091, 5114), False, 'import pygame\n'), ((5116, 5156), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front2.png"""'], {}), "('Images/p2front2.png')\n", (5133, 5156), False, 'import pygame\n'), ((5178, 5218), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front1.png"""'], {}), "('Images/p2front1.png')\n", (5195, 5218), False, 'import pygame\n'), ((5220, 5259), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front.png"""'], {}), "('Images/p2front.png')\n", (5237, 5259), False, 'import pygame\n'), ((5280, 5318), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back.png"""'], {}), "('Images/p2back.png')\n", (5297, 5318), False, 'import pygame\n'), ((5320, 5359), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back1.png"""'], {}), "('Images/p2back1.png')\n", (5337, 5359), False, 'import pygame\n'), ((5380, 5419), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back2.png"""'], {}), "('Images/p2back2.png')\n", (5397, 5419), False, 'import pygame\n'), ((5440, 5479), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back3.png"""'], {}), "('Images/p2back3.png')\n", (5457, 5479), False, 'import pygame\n'), ((5481, 5520), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back2.png"""'], {}), "('Images/p2back2.png')\n", (5498, 5520), False, 'import pygame\n'), ((5541, 5580), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back1.png"""'], {}), "('Images/p2back1.png')\n", (5558, 5580), False, 'import pygame\n'), ((5582, 5620), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back.png"""'], {}), "('Images/p2back.png')\n", (5599, 5620), False, 'import pygame\n'), ((5647, 5691), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2leftshield.png"""'], {}), "('Images/p2leftshield.png')\n", (5664, 5691), False, 'import pygame\n'), ((5693, 5738), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left1shield.png"""'], {}), "('Images/p2left1shield.png')\n", (5710, 5738), False, 'import pygame\n'), ((5759, 5804), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left2shield.png"""'], {}), "('Images/p2left2shield.png')\n", (5776, 5804), False, 'import pygame\n'), ((5825, 5870), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left3shield.png"""'], {}), "('Images/p2left3shield.png')\n", (5842, 5870), False, 'import pygame\n'), ((5872, 5917), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left2shield.png"""'], {}), "('Images/p2left2shield.png')\n", (5889, 5917), False, 'import pygame\n'), ((5938, 5983), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left1shield.png"""'], {}), "('Images/p2left1shield.png')\n", (5955, 5983), False, 'import pygame\n'), ((5985, 6029), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2leftshield.png"""'], {}), "('Images/p2leftshield.png')\n", (6002, 6029), False, 'import pygame\n'), ((6057, 6102), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2rightshield.png"""'], {}), "('Images/p2rightshield.png')\n", (6074, 6102), False, 'import pygame\n'), ((6104, 6150), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right1shield.png"""'], {}), "('Images/p2right1shield.png')\n", (6121, 6150), False, 'import pygame\n'), ((6172, 6218), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right2shield.png"""'], {}), "('Images/p2right2shield.png')\n", (6189, 6218), False, 'import pygame\n'), ((6240, 6286), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right3shield.png"""'], {}), "('Images/p2right3shield.png')\n", (6257, 6286), False, 'import pygame\n'), ((6288, 6334), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right2shield.png"""'], {}), "('Images/p2right2shield.png')\n", (6305, 6334), False, 'import pygame\n'), ((6356, 6402), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right1shield.png"""'], {}), "('Images/p2right1shield.png')\n", (6373, 6402), False, 'import pygame\n'), ((6404, 6449), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2rightshield.png"""'], {}), "('Images/p2rightshield.png')\n", (6421, 6449), False, 'import pygame\n'), ((6477, 6522), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2frontshield.png"""'], {}), "('Images/p2frontshield.png')\n", (6494, 6522), False, 'import pygame\n'), ((6524, 6570), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front1shield.png"""'], {}), "('Images/p2front1shield.png')\n", (6541, 6570), False, 'import pygame\n'), ((6592, 6638), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front2shield.png"""'], {}), "('Images/p2front2shield.png')\n", (6609, 6638), False, 'import pygame\n'), ((6660, 6706), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front3shield.png"""'], {}), "('Images/p2front3shield.png')\n", (6677, 6706), False, 'import pygame\n'), ((6708, 6754), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front2shield.png"""'], {}), "('Images/p2front2shield.png')\n", (6725, 6754), False, 'import pygame\n'), ((6776, 6822), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front1shield.png"""'], {}), "('Images/p2front1shield.png')\n", (6793, 6822), False, 'import pygame\n'), ((6824, 6869), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2frontshield.png"""'], {}), "('Images/p2frontshield.png')\n", (6841, 6869), False, 'import pygame\n'), ((6896, 6940), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2backshield.png"""'], {}), "('Images/p2backshield.png')\n", (6913, 6940), False, 'import pygame\n'), ((6942, 6987), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back1shield.png"""'], {}), "('Images/p2back1shield.png')\n", (6959, 6987), False, 'import pygame\n'), ((7008, 7053), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back2shield.png"""'], {}), "('Images/p2back2shield.png')\n", (7025, 7053), False, 'import pygame\n'), ((7074, 7119), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back3shield.png"""'], {}), "('Images/p2back3shield.png')\n", (7091, 7119), False, 'import pygame\n'), ((7121, 7166), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back2shield.png"""'], {}), "('Images/p2back2shield.png')\n", (7138, 7166), False, 'import pygame\n'), ((7187, 7232), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back1shield.png"""'], {}), "('Images/p2back1shield.png')\n", (7204, 7232), False, 'import pygame\n'), ((7234, 7278), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2backshield.png"""'], {}), "('Images/p2backshield.png')\n", (7251, 7278), False, 'import pygame\n'), ((7397, 7421), 'pygame.Surface', 'pygame.Surface', (['[24, 28]'], {}), '([24, 28])\n', (7411, 7421), False, 'import pygame\n'), ((19857, 19909), 'pygame.Surface', 'pygame.Surface', (['[width, height]', 'pygame.SRCALPHA', '(32)'], {}), '([width, height], pygame.SRCALPHA, 32)\n', (19871, 19909), False, 'import pygame\n'), ((20112, 20155), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed1.png"""'], {}), "('Images/superspeed1.png')\n", (20129, 20155), False, 'import pygame\n'), ((20157, 20200), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed2.png"""'], {}), "('Images/superspeed2.png')\n", (20174, 20200), False, 'import pygame\n'), ((20216, 20259), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed3.png"""'], {}), "('Images/superspeed3.png')\n", (20233, 20259), False, 'import pygame\n'), ((20261, 20304), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed3.png"""'], {}), "('Images/superspeed3.png')\n", (20278, 20304), False, 'import pygame\n'), ((20320, 20363), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed2.png"""'], {}), "('Images/superspeed2.png')\n", (20337, 20363), False, 'import pygame\n'), ((20365, 20408), 'pygame.image.load', 'pygame.image.load', (['"""Images/superspeed1.png"""'], {}), "('Images/superspeed1.png')\n", (20382, 20408), False, 'import pygame\n'), ((20434, 20473), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield1.png"""'], {}), "('Images/shield1.png')\n", (20451, 20473), False, 'import pygame\n'), ((20475, 20514), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield2.png"""'], {}), "('Images/shield2.png')\n", (20492, 20514), False, 'import pygame\n'), ((20544, 20583), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield3.png"""'], {}), "('Images/shield3.png')\n", (20561, 20583), False, 'import pygame\n'), ((20585, 20624), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield3.png"""'], {}), "('Images/shield3.png')\n", (20602, 20624), False, 'import pygame\n'), ((20654, 20693), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield2.png"""'], {}), "('Images/shield2.png')\n", (20671, 20693), False, 'import pygame\n'), ((20695, 20734), 'pygame.image.load', 'pygame.image.load', (['"""Images/shield1.png"""'], {}), "('Images/shield1.png')\n", (20712, 20734), False, 'import pygame\n'), ((20762, 20808), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon1.png"""'], {}), "('Images2/megabombicon1.png')\n", (20779, 20808), False, 'import pygame\n'), ((20810, 20856), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon2.png"""'], {}), "('Images2/megabombicon2.png')\n", (20827, 20856), False, 'import pygame\n'), ((20882, 20928), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon3.png"""'], {}), "('Images2/megabombicon3.png')\n", (20899, 20928), False, 'import pygame\n'), ((20930, 20976), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon3.png"""'], {}), "('Images2/megabombicon3.png')\n", (20947, 20976), False, 'import pygame\n'), ((21002, 21048), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon2.png"""'], {}), "('Images2/megabombicon2.png')\n", (21019, 21048), False, 'import pygame\n'), ((21050, 21096), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabombicon1.png"""'], {}), "('Images2/megabombicon1.png')\n", (21067, 21096), False, 'import pygame\n'), ((21187, 21232), 'pygame.Surface', 'pygame.Surface', (['[22, 28]', 'pygame.SRCALPHA', '(32)'], {}), '([22, 28], pygame.SRCALPHA, 32)\n', (21201, 21232), False, 'import pygame\n'), ((22768, 22813), 'pygame.Surface', 'pygame.Surface', (['[22, 28]', 'pygame.SRCALPHA', '(32)'], {}), '([22, 28], pygame.SRCALPHA, 32)\n', (22782, 22813), False, 'import pygame\n'), ((8927, 8979), 'pygame.sprite.spritecollide', 'pygame.sprite.spritecollide', (['self', 'self.walls', '(False)'], {}), '(self, self.walls, False)\n', (8954, 8979), False, 'import pygame\n'), ((9602, 9654), 'pygame.sprite.spritecollide', 'pygame.sprite.spritecollide', (['self', 'self.walls', '(False)'], {}), '(self, self.walls, False)\n', (9629, 9654), False, 'import pygame\n'), ((23713, 23750), 'pygame.image.load', 'pygame.image.load', (['"""Images/bomb3.png"""'], {}), "('Images/bomb3.png')\n", (23730, 23750), False, 'import pygame\n'), ((23828, 23870), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabomb3.png"""'], {}), "('Images2/megabomb3.png')\n", (23845, 23870), False, 'import pygame\n'), ((24002, 24039), 'pygame.image.load', 'pygame.image.load', (['"""Images/bomb2.png"""'], {}), "('Images/bomb2.png')\n", (24019, 24039), False, 'import pygame\n'), ((24117, 24159), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabomb2.png"""'], {}), "('Images2/megabomb2.png')\n", (24134, 24159), False, 'import pygame\n'), ((24291, 24328), 'pygame.image.load', 'pygame.image.load', (['"""Images/bomb1.png"""'], {}), "('Images/bomb1.png')\n", (24308, 24328), False, 'import pygame\n'), ((24406, 24448), 'pygame.image.load', 'pygame.image.load', (['"""Images2/megabomb1.png"""'], {}), "('Images2/megabomb1.png')\n", (24423, 24448), False, 'import pygame\n'), ((10220, 10265), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1frontshield.png"""'], {}), "('Images/p1frontshield.png')\n", (10237, 10265), False, 'import pygame\n'), ((10756, 10795), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1front.png"""'], {}), "('Images/p1front.png')\n", (10773, 10795), False, 'import pygame\n'), ((25091, 25132), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (25108, 25132), False, 'import pygame\n'), ((25202, 25247), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.rect.y', '(32)', '(32)'], {}), '(self.rect.x, self.rect.y, 32, 32)\n', (25213, 25247), False, 'import pygame\n'), ((11323, 11367), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1backshield.png"""'], {}), "('Images/p1backshield.png')\n", (11340, 11367), False, 'import pygame\n'), ((11857, 11895), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1back.png"""'], {}), "('Images/p1back.png')\n", (11874, 11895), False, 'import pygame\n'), ((14790, 14835), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2frontshield.png"""'], {}), "('Images/p2frontshield.png')\n", (14807, 14835), False, 'import pygame\n'), ((15326, 15365), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2front.png"""'], {}), "('Images/p2front.png')\n", (15343, 15365), False, 'import pygame\n'), ((25316, 25357), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (25333, 25357), False, 'import pygame\n'), ((25434, 25482), 'pygame.Rect', 'pygame.Rect', (['self.leftcheck', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck, self.rect.y, 32, 32)\n', (25445, 25482), False, 'import pygame\n'), ((25517, 25558), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (25534, 25558), False, 'import pygame\n'), ((25638, 25691), 'pygame.Rect', 'pygame.Rect', (['(self.leftcheck + 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck + 16, self.rect.y, 32, 32)\n', (25649, 25691), False, 'import pygame\n'), ((25759, 25800), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (25776, 25800), False, 'import pygame\n'), ((25878, 25927), 'pygame.Rect', 'pygame.Rect', (['self.rightcheck', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck, self.rect.y, 32, 32)\n', (25889, 25927), False, 'import pygame\n'), ((25962, 26003), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (25979, 26003), False, 'import pygame\n'), ((26084, 26138), 'pygame.Rect', 'pygame.Rect', (['(self.rightcheck - 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck - 16, self.rect.y, 32, 32)\n', (26095, 26138), False, 'import pygame\n'), ((26203, 26244), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (26220, 26244), False, 'import pygame\n'), ((26319, 26365), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.upcheck', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck, 32, 32)\n', (26330, 26365), False, 'import pygame\n'), ((26400, 26441), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (26417, 26441), False, 'import pygame\n'), ((26519, 26570), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.upcheck + 16)', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck + 16, 32, 32)\n', (26530, 26570), False, 'import pygame\n'), ((26637, 26678), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (26654, 26678), False, 'import pygame\n'), ((26755, 26803), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.downcheck', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck, 32, 32)\n', (26766, 26803), False, 'import pygame\n'), ((26838, 26879), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (26855, 26879), False, 'import pygame\n'), ((26959, 27012), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.downcheck - 16)', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck - 16, 32, 32)\n', (26970, 27012), False, 'import pygame\n'), ((28124, 28165), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (28141, 28165), False, 'import pygame\n'), ((28235, 28280), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.rect.y', '(32)', '(32)'], {}), '(self.rect.x, self.rect.y, 32, 32)\n', (28246, 28280), False, 'import pygame\n'), ((12422, 12466), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1leftshield.png"""'], {}), "('Images/p1leftshield.png')\n", (12439, 12466), False, 'import pygame\n'), ((12956, 12994), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1left.png"""'], {}), "('Images/p1left.png')\n", (12973, 12994), False, 'import pygame\n'), ((15893, 15937), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2backshield.png"""'], {}), "('Images/p2backshield.png')\n", (15910, 15937), False, 'import pygame\n'), ((16427, 16465), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2back.png"""'], {}), "('Images/p2back.png')\n", (16444, 16465), False, 'import pygame\n'), ((28349, 28390), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (28366, 28390), False, 'import pygame\n'), ((28467, 28515), 'pygame.Rect', 'pygame.Rect', (['self.leftcheck', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck, self.rect.y, 32, 32)\n', (28478, 28515), False, 'import pygame\n'), ((28550, 28591), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (28567, 28591), False, 'import pygame\n'), ((28673, 28726), 'pygame.Rect', 'pygame.Rect', (['(self.leftcheck + 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck + 16, self.rect.y, 32, 32)\n', (28684, 28726), False, 'import pygame\n'), ((29270, 29311), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (29287, 29311), False, 'import pygame\n'), ((29389, 29438), 'pygame.Rect', 'pygame.Rect', (['self.rightcheck', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck, self.rect.y, 32, 32)\n', (29400, 29438), False, 'import pygame\n'), ((29473, 29514), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (29490, 29514), False, 'import pygame\n'), ((29597, 29651), 'pygame.Rect', 'pygame.Rect', (['(self.rightcheck - 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck - 16, self.rect.y, 32, 32)\n', (29608, 29651), False, 'import pygame\n'), ((30197, 30238), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (30214, 30238), False, 'import pygame\n'), ((30313, 30359), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.upcheck', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck, 32, 32)\n', (30324, 30359), False, 'import pygame\n'), ((30394, 30435), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (30411, 30435), False, 'import pygame\n'), ((30515, 30566), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.upcheck + 16)', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck + 16, 32, 32)\n', (30526, 30566), False, 'import pygame\n'), ((31099, 31140), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (31116, 31140), False, 'import pygame\n'), ((31217, 31265), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', 'self.downcheck', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck, 32, 32)\n', (31228, 31265), False, 'import pygame\n'), ((31300, 31341), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (31317, 31341), False, 'import pygame\n'), ((31423, 31476), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.downcheck - 16)', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck - 16, 32, 32)\n', (31434, 31476), False, 'import pygame\n'), ((13522, 13567), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1rightshield.png"""'], {}), "('Images/p1rightshield.png')\n", (13539, 13567), False, 'import pygame\n'), ((14058, 14097), 'pygame.image.load', 'pygame.image.load', (['"""Images/p1right.png"""'], {}), "('Images/p1right.png')\n", (14075, 14097), False, 'import pygame\n'), ((16992, 17036), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2leftshield.png"""'], {}), "('Images/p2leftshield.png')\n", (17009, 17036), False, 'import pygame\n'), ((17526, 17564), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2left.png"""'], {}), "('Images/p2left.png')\n", (17543, 17564), False, 'import pygame\n'), ((28809, 28850), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (28826, 28850), False, 'import pygame\n'), ((28934, 28987), 'pygame.Rect', 'pygame.Rect', (['(self.leftcheck - 32)', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck - 32, self.rect.y, 32, 32)\n', (28945, 28987), False, 'import pygame\n'), ((29024, 29065), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (29041, 29065), False, 'import pygame\n'), ((29149, 29202), 'pygame.Rect', 'pygame.Rect', (['(self.leftcheck - 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.leftcheck - 16, self.rect.y, 32, 32)\n', (29160, 29202), False, 'import pygame\n'), ((29735, 29776), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (29752, 29776), False, 'import pygame\n'), ((29861, 29915), 'pygame.Rect', 'pygame.Rect', (['(self.rightcheck + 32)', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck + 32, self.rect.y, 32, 32)\n', (29872, 29915), False, 'import pygame\n'), ((29952, 29993), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (29969, 29993), False, 'import pygame\n'), ((30078, 30132), 'pygame.Rect', 'pygame.Rect', (['(self.rightcheck + 16)', 'self.rect.y', '(32)', '(32)'], {}), '(self.rightcheck + 16, self.rect.y, 32, 32)\n', (30089, 30132), False, 'import pygame\n'), ((30647, 30688), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (30664, 30688), False, 'import pygame\n'), ((30770, 30821), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.upcheck - 32)', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck - 32, 32, 32)\n', (30781, 30821), False, 'import pygame\n'), ((30858, 30899), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (30875, 30899), False, 'import pygame\n'), ((30981, 31032), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.upcheck - 16)', '(32)', '(32)'], {}), '(self.rect.x, self.upcheck - 16, 32, 32)\n', (30992, 31032), False, 'import pygame\n'), ((31559, 31600), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (31576, 31600), False, 'import pygame\n'), ((31684, 31737), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.downcheck + 32)', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck + 32, 32, 32)\n', (31695, 31737), False, 'import pygame\n'), ((31774, 31815), 'pygame.image.load', 'pygame.image.load', (['"""Images/explosion.png"""'], {}), "('Images/explosion.png')\n", (31791, 31815), False, 'import pygame\n'), ((31899, 31952), 'pygame.Rect', 'pygame.Rect', (['self.rect.x', '(self.downcheck + 16)', '(32)', '(32)'], {}), '(self.rect.x, self.downcheck + 16, 32, 32)\n', (31910, 31952), False, 'import pygame\n'), ((18092, 18137), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2rightshield.png"""'], {}), "('Images/p2rightshield.png')\n", (18109, 18137), False, 'import pygame\n'), ((18628, 18667), 'pygame.image.load', 'pygame.image.load', (['"""Images/p2right.png"""'], {}), "('Images/p2right.png')\n", (18645, 18667), False, 'import pygame\n')]