The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Pokemon Amie/Refresh for 17.2

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 January 6th, 2018 (2:15 AM). Edited January 8th, 2018 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, 143 views) (Save to Dropbox)
    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 8th, 2018 (2:12 PM).
    p.claydon p.claydon is offline
       
      Join Date: Jan 2011
      Gender: Female
      Posts: 400
      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 January 8th, 2018 (2:49 PM). Edited January 8th, 2018 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 January 8th, 2018 (3:13 PM).
        p.claydon p.claydon is offline
           
          Join Date: Jan 2011
          Gender: Female
          Posts: 400
          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 January 8th, 2018 (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 January 8th, 2018 (3:22 PM).
            p.claydon p.claydon is offline
               
              Join Date: Jan 2011
              Gender: Female
              Posts: 400
              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
                #7    
              Old January 24th, 2018 (2:42 PM).
              p.claydon p.claydon is offline
                 
                Join Date: Jan 2011
                Gender: Female
                Posts: 400
                Hi all I made a quick pokegear icon for the Pokemon Refresh only issue is the name pokemon refresh is slightly too long so you'll need to change the app name to Pokemon Amie or just Refresh
                Attached Images
                 
                __________________
                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
                  #8    
                Old January 25th, 2018 (3:03 AM). Edited January 25th, 2018 by Ntest.
                Ntest Ntest is offline
                   
                  Join Date: Jan 2018
                  Posts: 1
                  Respect ;-)
                  Reply With Quote
                    #9    
                  Old 3 Weeks Ago (1:07 PM).
                  foxpt foxpt is offline
                     
                    Join Date: Apr 2018
                    Posts: 1
                    can anyone help me?
                    im getting a error

                    when i try to feed the pokemon it says :

                    Script "pokemon_amie" line 752 NameError ocurred
                    PokeAmie_Essentials_Scene:ItemIconSprite
                    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 5:38 PM.