Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. In the script section "PField_BerryPlants", under "def pbBerryPlant", paste the following code directly ABOVE the line "interp.setVariable(berryData)":
  2.  
  3. meta=pbGetMetadata(0,MetadataPlayerA+$PokemonGlobal.playerID)
  4. if meta
  5.   trainer=$Trainer if !trainer
  6.   outfit=trainer ? trainer.outfit : 0
  7.   if outfit==0
  8.     $game_player.setDefaultCharName(BerryWateringSprites::WateringSprites[$PokemonGlobal.playerID], $game_player.fullPattern)
  9.   else
  10.     $game_player.setDefaultCharName(BerryWateringSprites::WateringSprites[$PokemonGlobal.playerID]+"_"+outfit.to_s, $game_player.fullPattern)
  11.   end
  12.   $game_player.step_anime = true
  13. end
  14.  
  15.  
  16. ------------
  17. Inside the same function, after:
  18.  
  19. if NEWBERRYPLANTS
  20.   Kernel.pbMessage(_INTL("There! All happy!"))
  21. else
  22.   Kernel.pbMessage(_INTL("The plant seemed to be delighted."))
  23. end
  24.  
  25.  
  26. ...Paste the following code:
  27.  
  28. if meta
  29.   $game_player.setDefaultCharName(pbGetPlayerCharset(meta,1), $game_player.fullPattern)
  30.   $game_player.step_anime = false
  31. end
  32.  
  33.  
  34. ------------
  35. Lastly, somewhere in the same script section, paste the following code:
  36.  
  37. class Game_Player
  38.   attr_accessor :step_anime
  39. end
  40.  
  41. module BerryWateringSprites
  42.   WateringSprites = [
  43.     "boy_watering",   # Player A
  44.     "girl_watering",  # Player B
  45.   ]
  46. end
  47.  
  48. *This can go anywhere as long as it's outside of any other functions or classes. I put it at the very bottom of the script section myself.
  49. **If you have more than 2 playable characters, make sure to add them to the array!