:brittany_second_date
  switch isPlayingDate ON

  displayItemId none
  start cutscene no villagers no creatures

  create villager Brittany 3,62,6
  speed Brittany 3
  speed Player 3
  move villager Player 14,62,6
  move villager Brittany 13,62,6

  include load_player_dating_animations

  wait 150
  fade out
  wait 10
  remove villager Brittany

  teleport to forest without saving 68,45,2
  wait 1
  start cutscene no villagers no creatures
  switch hidePlayer ON

  play child player_and_brittany_playing_soccer
  wait 5

  teleport to orange town without saving 68,61,4
  wait 1
  switch hidePlayer OFF
  start cutscene no villagers no creatures

  create villager Brittany 71,61,4
  offset Brittany Y -8
  speed Brittany 2.5
  speed Player 2.5
  move villager Player 64,61,6
  move villager Brittany 66,61,4

  wait for Player
  wait 30
  Player "You may not have any callus on your hands, but I bet you have some on your feet by now."
  Brittany "Hahaha! Not at all! I play with Stella all the time. It's how we rest after work."
  Player "Resting with hard exercise? How can that work?"
  Brittany "I think she's addicted to adrenaline. I've never seen her relaxing."
  Player "You must be kidding!"
  Brittany "It's true! She always says that a strong mind is of no use without a strong body."
  Brittany "I've been trying to apply that to my daily life as well."
  Player "I can see that. I couldn't keep up with you at all back there. And your right kick is stronger than anything I've seen before."

  Brittany "But you played well too!"
  Player "You think so?"
  Brittany "Yes!"
  Player "But I couldn't score a single goal! And you scored all of them!"
  Brittany "That's not what I'm talking about. I'm saying you played well because you let yourself go and just enjoyed yourself."
  Brittany "You could feel the earth...<wait> The air...<wait> The adrenaline..."
  Brittany "You focused all your attention at me...<wait> Even though you're not into soccer."
  Brittany "You couldn't take your eyes off me...<wait>"

  move villager Brittany 65,61,4
  wait for Brittany
  Player "Really?"
  Brittany "Yes... I didn't take my eyes off of you either."
  Brittany "Your dedication... Your focus..."
  Brittany "Your body...<wait>"
  Brittany "Your sweat...<wait>"

  include kiss_brittany
  switch datingBrittany ON
  increase friendship Brittany x 500
  gain achievement FIRST_DATE

  teleport to home without saving 15,10,8
  switch isPlayingDate OFF
  displayItemId undefined
  speed Player restore
  switch playedBrittanySecondDate ON
  wait 1
  fade in


:player_and_brittany_playing_soccer
  label beginning
  js this.characterName = '$' + Managers.Player.generatePlayerSpriteName() + '_goalkeeping[4]';
  if !Managers.Images.loadCharacter(this.characterName).isReady()
    wait 12
    go to label beginning
  end

  js var shoe = $gameMap.createNormalEventAt('objects/$shoes', 0, 66, 45, Direction.DOWN, false, true);
  + shoe._lockPattern = true;
  + shoe._pattern = 0;

  js var shoe = $gameMap.createNormalEventAt('objects/$shoes', 0, 69, 45, Direction.DOWN, false, true);
  + shoe._lockPattern = true;
  + shoe._pattern = 1;

  js this.playerEvent = $gameMap.createNormalEventAt(this.characterName, 0, 68, 45, Direction.DOWN, false, true);
  + this.playerEvent._lockPattern = true;
  + this.playerEvent._pattern = 0;

  js this.brittanyEvent = $gameMap.createNormalEventAt('villagers/brittany', 6, 67, 48, Direction.DOWN, false, true);
  + this.brittanyEvent._lockPattern = true;
  + this.brittanyEvent._pattern = 0;
  + this.brittanyEvent.offsetX = 16;

  js this.ballEvent = $gameMap.createNormalEventAt('objects/$soccerball[4]', 0, 67, 47, Direction.DOWN, false, true);
  + this.ballEvent._lockPattern = true;
  + this.ballEvent._pattern = 0;
  + this.ballEvent._x += 0.75;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y += 0.25;
  + this.ballEvent._realY = this.ballEvent._y;

  fade in
  wait 8

  # player 2
  js this.playerEvent._pattern = 1;
  wait 8
  # player 3
  js this.playerEvent._pattern = 2;
  wait 8
  # player 4
  js this.playerEvent._pattern = 3;
  wait 8

  # player 2
  js this.playerEvent._pattern = 1;
  wait 8
  # player 3
  js this.playerEvent._pattern = 2;
  wait 8
  # player 4
  js this.playerEvent._pattern = 3;
  wait 8

  # player 2
  js this.playerEvent._pattern = 1;
  wait 8
  # player 3
  js this.playerEvent._pattern = 2;
  wait 8
  # player 4
  js this.playerEvent._pattern = 3;
  wait 8

  # player 2, brittany 2
  js this.brittanyEvent._pattern = 1;
  + this.playerEvent._pattern = 1;
  wait 8
  
  # player 3, brittany 3
  js this.brittanyEvent._pattern = 2;
  + this.playerEvent._pattern = 2;
  wait 8

  # player 4, brittany 4
  js this.brittanyEvent._pattern = 0; this.brittanyEvent._direction = Direction.LEFT;
  + this.playerEvent._pattern = 3;
  wait 8

  # player 5, brittany 5
  js this.brittanyEvent._pattern = 1;
  + this.playerEvent._pattern = 0; this.playerEvent._direction = Direction.LEFT;
  + this.ballEvent._pattern = 1;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 6
  js this.playerEvent._pattern = 1;
  + this.ballEvent._pattern = 2;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 7
  js this.playerEvent._pattern = 2;
  + this.ballEvent._pattern = 3;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 8, brittany 4
  js this.playerEvent._pattern = 3;
  + this.brittanyEvent._pattern = 0;
  + this.ballEvent._pattern = 0;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 9
  js this.playerEvent._pattern = 0; this.playerEvent._direction = Direction.RIGHT;
  + this.ballEvent._pattern = 1;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 10, brittany 1
  js this.playerEvent._pattern = 1;
  + this.brittanyEvent._direction = Direction.DOWN;
  + this.ballEvent._pattern = 2;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 11
  js this.playerEvent._pattern = 2;
  + this.ballEvent._pattern = 3;
  + this.ballEvent._x -= 0.25;
  + this.ballEvent._realX = this.ballEvent._x;
  + this.ballEvent._y -= 0.5;
  + this.ballEvent._realY = this.ballEvent._y;
  wait 5

  # player 12
  js this.playerEvent._pattern = 3;
  wait 5

  # player 13
  js this.playerEvent._pattern = 0; this.playerEvent._direction = Direction.UP;
  wait 8

  # player 14
  js this.playerEvent._pattern = 1;
  wait 120

  js delete this.playerEvent;
  + delete this.brittanyEvent;
  + delete this.ballEvent;
