Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Reply
 
Thread Tools
  #1    
Old 1 Week Ago (2:15 AM). Edited 1 Week Ago by Pizza Sun.
Pizza Sun Pizza Sun is offline
     
    Join Date: Jan 2018
    Gender: Male
    Posts: 6
    This custom made script adds Pokemon Amie/Refresh to your game!

    I have made a plug-n-play script for Pokemon Amie/Refresh for Pokemon Essentials v17.2. I have not tested this with below 17.2.

    To install:
    Place the script above Main. If you have the Following Pokemon Script, place it below for compatibility.
    Move "Pokemon Amie" folder to Pictures and the sound files to SE folder.

    Unlike the version of the game Amie/Refresh, this script does not feed Pokemon PokePuffs or Pokebeans but instead eatable items in your game, like Rare Candies and berries! Please note that too many food items in the bag may cause lag.

    You can access Pokemon Amie/Refresh from your Pokegear and from talking with your Pokemon. You may remove the bottom part of the script to prevent accessibility from the Pokegear.
    Screenshots:
    Spoiler:




    Forgive the messy code as it is my first publicized custom script, I hope you like it.

    NOTE: THIS REQUIRES "Easy Mouse System" by Luka S.J! Please have that installed before installing this script!

    Please report any bugs or errors you get with this script.
    Attached Files
    File Type: zip Pokemon Amie Refresh 1.0.zip‎ (6.02 MB, 64 views) (Save to Dropbox)
    Reply With Quote

    Relevant Advertising!

      #2    
    Old 1 Week Ago (2:12 PM).
    p.claydon p.claydon is offline
       
      Join Date: Jan 2011
      Gender:
      Posts: 371
      hi so seams to work well petting wise but i cant seam to feed the pokemon :( also how do we go about using the stats (affection, fullness and enjoyment) as evo mothods and display in messages?
      __________________
      Still learning how to sprite but if you want to look at my progress then here you go
      http://pclaydon.deviantart.com/gallery/
      Reply With Quote
        #3    
      Old 1 Week Ago (2:49 PM). Edited 1 Week Ago by Pizza Sun.
      Pizza Sun Pizza Sun is offline
         
        Join Date: Jan 2018
        Gender: Male
        Posts: 6
        Quote:
        Originally Posted by p.claydon View Post
        hi so seams to work well petting wise but i cant seam to feed the pokemon :( also how do we go about using the stats (affection, fullness and enjoyment) as evo mothods and display in messages?
        To feed you need to press the food item for about a second. A Pokemon can't be fed more if its full, and to add display messages, it depends if you're using EBS or not, I'll probably add extra parts for those who want to add more that can't be implemented in a Plug-And-Play script like battle messages and effects. To get the affection/fullness/enjoyment of a Pokemon you can use the method .getAffectionLevel to get it in amount of hearts or use .amie_affection to get the number from 0 to 255.
        Ex.
        Code:
        if ($Trainer.party[0].getAffectionLevel>2)
          Kernel.pbMessage(_INTL("{1} has more than 2 hearts.",$Trainer.party[0].name))
        end
        Code:
        if ($Trainer.party[0].amie_affection>200)
          Kernel.pbMessage(_INTL("{1} has more than 200 points in affection.",$Trainer.party[0].name))
        end
        Reply With Quote
          #4    
        Old 1 Week Ago (3:13 PM).
        p.claydon p.claydon is offline
           
          Join Date: Jan 2011
          Gender:
          Posts: 371
          ah kool
          the fullness seams to be 0 but cant even select food
          __________________
          Still learning how to sprite but if you want to look at my progress then here you go
          http://pclaydon.deviantart.com/gallery/
          Reply With Quote
            #5    
          Old 1 Week Ago (3:19 PM).
          Pizza Sun Pizza Sun is offline
             
            Join Date: Jan 2018
            Gender: Male
            Posts: 6
            Quote:
            Originally Posted by p.claydon View Post
            ah kool
            the fullness seams to be 0 but cant even select food
            Hold down mouse for about a second over food to select and keep it held down to give to Pokemon.

            You can change how long you need to hold down food to start feeding in line 1182

            Code:
            if ($mouse.isStatic?)&&(([email protected]_f)>0.8)&&([email protected]["feedshow"].disposed?)
            The 0.8 is the time in seconds you need to wait so food is registered.
            Reply With Quote
              #6    
            Old 1 Week Ago (3:22 PM).
            p.claydon p.claydon is offline
               
              Join Date: Jan 2011
              Gender:
              Posts: 371
              ah right thank you got it sortted :D its a great script seams to work really well
              __________________
              Still learning how to sprite but if you want to look at my progress then here you go
              http://pclaydon.deviantart.com/gallery/
              Reply With Quote
              Reply

              Quick Reply

              Join the conversation!

              Create an account to post a reply in this thread, participate in other discussions, and more!

              Create a PokéCommunity Account

              Sponsored Links
              Thread Tools

              Posting Rules
              You may not post new threads
              You may not post replies
              You may not post attachments
              You may not edit your posts

              BB code is On
              Smilies are On
              [IMG] code is On
              HTML code is Off

              Forum Jump


              All times are GMT -8. The time now is 7:43 AM.