Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 5.68 KB | None | 0 0
  1. :brittany_cutscene_first_turtle
  2.   switch hidePlayer ON
  3.   js window.turtleEvent = $gameMap.createAnimalByTypeAt('small-turtle', 6, 10, 6);
  4.   + window.turtleEvent._through = true;
  5.   + window.turtleEvent._priorityType = 0;
  6.  
  7.   $ create Villager('Nathalia', 8, 10, left);
  8.   + center camera(8, 10);
  9.   wait for camera
  10.   js window.turtleEvent.requestBalloon(Balloons.HEART);
  11.   wait 60
  12.   Nathalia "Did you like it?"
  13.   wait 20
  14.   $ create villager('Brittany', 0, 10, right);
  15.   + change speed('Brittany', 3)
  16.   + move('Brittany', 4, 10, right)
  17.   js window.turtleEvent.requestBalloon(Balloons.HEART);
  18.   wait for Brittany
  19.  
  20.   Brittany "Good Morning, Nathalia! What are you doing?"
  21.   Nathalia "Hey Brittany, I just gave a tuna to this turtle. It looks like she loved it."
  22.   Brittany "Is that so? Turtles really love most types of fish."
  23.   Nathalia "Can I give her more?"
  24.   Brittany "I don't think she'll be able to eat another one right now, but you can give her another fish tomorrow."
  25.   Brittany "If you pet and feed her often, she'll grow attached to you. If that happens, she'll let you carry her around."
  26.   Nathalia "Really? That's so nice. But Pat-Pat probably wouldn't like that."
  27.  
  28.   $ change speed('Player', 3)
  29.   js if $gamePlayer.y < 3
  30.     js $gamePlayer.setPosition(4, 0);
  31.     switch hidePlayer OFF
  32.     $ move('Player', 4, 8, right)
  33.     wait for Player
  34.     $ move('Player', 6, 8, down)
  35.   else
  36.     js if $gamePlayer.y > 16
  37.       js $gamePlayer.setPosition(4, 19);
  38.       switch hidePlayer OFF
  39.       $ move('Player', 4, 12, right)
  40.       wait for Player
  41.       $ move('Player', 6, 12, up)
  42.     else
  43.       js $gamePlayer.setPosition(0, 8);
  44.       $ change speed('Player', 2.5)
  45.       switch hidePlayer OFF
  46.       $ move('Player', 6, 8, down)
  47.     end
  48.   end
  49.  
  50.   wait for Player
  51.   $ turn('Nathalia', 'Player');
  52.   + turn('Brittany', 'Player');
  53.  
  54.   wait 10
  55.   Nathalia "<name>, good timing! Did you hear what we were talking? You definitely need to tame some turtles for your farm."
  56.   $ turn('Brittany', 'Nathalia')
  57.  
  58.   js if ItemManager.isHoldingAnimal('small-turtle')
  59.     include player_holding_turtle
  60.   else
  61.     Brittany "Hold on, Nathalia. <He> doesn't really need to tame them. Turtles are useless on a farm."
  62.     $ turn('Nathalia', 'Brittany')
  63.     Nathalia "But why wouldn't <he>? Turtles are so cool."
  64.     Brittany "<He> should focus on more useful animals, like cows and chicken. Right, <name>?"
  65.     $ turn('Brittany', 'Player')
  66.     $ turn('Nathalia', 'Player')
  67.  
  68.     js if CreatureManager.hasAnyCreatureOfRace('small-turtle')
  69.       ADD-CHOICE I already tamed a turtle.
  70.     end
  71.     Player ("Taming turtles, or focusing on useful animals...", "I would like a turtle too.", "I'm too busy to take care of a turtle.")
  72.  
  73.     if response is "I would like a turtle too."
  74.       include player_would_like_a_turtle
  75.     else
  76.       if response is "I'm too busy to take care of a turtle."
  77.         include player_wouldnt_like_a_turtle
  78.       else
  79.         if response is "I already tamed a turtle."
  80.           include player_already_has_a_turtle
  81.         end
  82.       end
  83.     end
  84.   end
  85.  
  86.   retain cutscene until teleport
  87.   $ restore speed('Player')
  88.   # switch playedCutsceneFirstTurtle ON
  89.   wait 30
  90.  
  91. :player_holding_turtle
  92.   Brittany "It looks like <he> already did."
  93.   $ turn('Brittany', 'Player')
  94.   $ turn('Nathalia', 'Player')
  95.   wait 20
  96.  
  97.   Nathalia "<heart>"
  98.   js RelationshipManager.increaseFriendship('Nathalia', 500)
  99.   js RelationshipManager.increaseFriendship('Brittany', 120)
  100.  
  101.   Nathalia "Oh, that's right! What a cute turtle <he> has!"
  102.   include nathalia_player_youre_amazing
  103.   $ assign villager event('Nathalia', 'nathalia_player_youre_amazing')
  104.   $ assign villager event('Brittany', 'brittany_player_you_got_me_surprised')
  105.  
  106. :player_would_like_a_turtle
  107.   Nathalia "<music:async>"
  108.   Brittany "<...>"
  109.   js RelationshipManager.increaseFriendship('Nathalia', 200)
  110.   js RelationshipManager.increaseFriendship('Brittany', 50)
  111.  
  112.   Nathalia "See? I told you, Brittany!"
  113.   include brittany_player_dont_forget_farm_animals
  114.   $ assign villager event('Nathalia', 'nathalia_player_youre_amazing')
  115.   $ assign villager event('Brittany', 'brittany_player_dont_forget_farm_animals')
  116.  
  117. :player_wouldnt_like_a_turtle
  118.   Nathalia "<cobweb:async>"
  119.   Brittany "<music>"
  120.   js RelationshipManager.increaseFriendship('Brittany', 150)
  121.   js RelationshipManager.decreaseFriendship('Nathalia', 300)
  122.  
  123.   include brittany_its_understandable
  124.   include nathalia_but_the_turtles
  125.  
  126.   $ assign villager event('Nathalia', 'nathalia_but_the_turtles')
  127.   $ assign villager event('Brittany', 'brittany_its_understandable')
  128.  
  129. :player_already_has_a_turtle
  130.   Nathalia "<heart:async>"
  131.   Brittany "<!>"
  132.   js RelationshipManager.increaseFriendship('Nathalia', 300)
  133.   js RelationshipManager.increaseFriendship('Brittany', 100)
  134.  
  135.   Nathalia "Really? You're amazing, <name>! I want to see it some day."
  136.   $ assign villager event('Nathalia', 'nathalia_player_youre_amazing')
  137.   $ assign villager event('Brittany', 'brittany_player_dont_forget_farm_animals')
  138.  
  139. :nathalia_player_youre_amazing
  140.   $ turn('Nathalia', 'Player')
  141.   Nathalia "<name>, you're amazing!"
  142.  
  143. :brittany_player_you_got_me_surprised
  144.   $ turn('Brittany', 'Player')
  145.   Brittany "You surprised me now. I didn't expect you to have a turtle with you."
  146.  
  147. :brittany_player_dont_forget_farm_animals
  148.   $ turn('Brittany', 'Player')
  149.   Brittany "Well <name>, as long as you don't forget to take care of the farm animals, there's no harm in having pets."
  150.  
  151. :nathalia_but_the_turtles
  152.   $ turn('Nathalia', 'Player')
  153.   Nathalia "But... the turtles..."
  154.  
  155. :brittany_its_understandable
  156.   $ turn('Brittany', 'Player')
  157.   Brittany "It's understandable. Taking care of a farm by yourself is very hard work."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement