The PokéCommunity Forums Fan Games Game Development Scripts, Tutorials & Tools
Essentials Script Advanced Pokédex

Scripts, Tutorials & Tools 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
  #26    
Old March 27th, 2018 (10:55 AM).
Diegou18 Diegou18 is offline
     
    Join Date: Mar 2018
    Posts: 17
    I was looking for this, and your work is amazing, but I have a problem: I can't see the second page of "Level Moves". It repeats the first one and I can't see (for example) the move that Litwick learns in level 28 because it shows the moves until level 24. Is it a bug or what?
    Reply With Quote
      #27    
    Old April 3rd, 2018 (4:09 PM). Edited April 3rd, 2018 by FL.
    FL's Avatar
    FL FL is offline
    Pokémon Island Creator
       
      Join Date: Sep 2010
      Gender: Male
      Posts: 1,769
      Quote:
      Originally Posted by Diegou18 View Post
      I was looking for this, and your work is amazing, but I have a problem: I can't see the second page of "Level Moves". It repeats the first one and I can't see (for example) the move that Litwick learns in level 28 because it shows the moves until level 24. Is it a bug or what?
      Thanks for the report. Change line 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@[email protected])' into 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@[email protected])'. The first post was updated.
      __________________
      Reply With Quote
        #28    
      Old April 3rd, 2018 (9:46 PM).
      Diegou18 Diegou18 is offline
         
        Join Date: Mar 2018
        Posts: 17
        Quote:
        Originally Posted by FL View Post
        Thanks for the report. Change line 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@[email protected])' into 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@[email protected])'. The first post was updated.
        Thanks for fix it, but I think that I've found another bug. When I was checking your Pokédex, I noticed that it doesn't shows the second ability if a Pokémon has it. For example: Litwick has two "normal" abilities: Flash Fire and Flame Body, and only Flash Fire is there.
        Reply With Quote
          #29    
        Old April 15th, 2018 (7:50 AM).
        FL's Avatar
        FL FL is offline
        Pokémon Island Creator
           
          Join Date: Sep 2010
          Gender: Male
          Posts: 1,769
          Quote:
          Originally Posted by Diegou18 View Post
          Thanks for fix it, but I think that I've found another bug. When I was checking your Pokédex, I noticed that it doesn't shows the second ability if a Pokémon has it. For example: Litwick has two "normal" abilities: Flash Fire and Flame Body, and only Flash Fire is there.
          Thanks for the report. Change
          Code:
          ability1=dexdata.fgetb
          ability2=dexdata.fgetb
          Into
          Code:
          ability1=dexdata.fgetw
          ability2=dexdata.fgetw
          __________________
          Reply With Quote
            #30    
          Old June 14th, 2018 (6:21 AM).
          secondcoming222 secondcoming222 is offline
             
            Join Date: Aug 2012
            Gender: Male
            Posts: 4
            Hi, great script and i love the idea! I browse these forums quite often but this is my first time posting.
            I have entered all your scripts and graphics as instructed and everything works except one thing. When i get to the ADV tab in the pokedex, i can only page backwards (ie: from page 1 to 11, 10, 9, etc.) and cant page forward (ie. page 1 to 2, 3, 4, etc.) any help would be greatly appreciated!
            Reply With Quote
              #31    
            Old June 14th, 2018 (7:45 AM).
            bo4p5687 bo4p5687 is offline
               
              Join Date: May 2018
              Location: Việt Nam (Vietnam)
              Gender: Male
              Nature: Relaxed
              Posts: 75
              Quote:
              Originally Posted by secondcoming222 View Post
              Hi, great script and i love the idea! I browse these forums quite often but this is my first time posting.
              I have entered all your scripts and graphics as instructed and everything works except one thing. When i get to the ADV tab in the pokedex, i can only page backwards (ie: from page 1 to 11, 10, 9, etc.) and cant page forward (ie. page 1 to 2, 3, 4, etc.) any help would be greatly appreciated!
              Sorry! But you can tell me what version do you play?
              Reply With Quote
                #32    
              Old June 14th, 2018 (10:25 AM).
              secondcoming222 secondcoming222 is offline
                 
                Join Date: Aug 2012
                Gender: Male
                Posts: 4
                Quote:
                Originally Posted by bo4p5687 View Post
                Sorry! But you can tell me what version do you play?
                yes i am using essentials 17.2
                Reply With Quote
                  #33    
                Old June 14th, 2018 (9:19 PM).
                bo4p5687 bo4p5687 is offline
                   
                  Join Date: May 2018
                  Location: Việt Nam (Vietnam)
                  Gender: Male
                  Nature: Relaxed
                  Posts: 75
                  Quote:
                  Originally Posted by secondcoming222 View Post
                  yes i am using essentials 17.2
                  Okay! You can't page forward because you don't change this code:
                  Code:
                        elsif Input.trigger?(Input::LEFT)
                          oldpage = @page
                          @page -= 1
                          @page = 1 if @page<1
                  
                          @page = 3 if @page>3  # this line
                          
                          if @page!=oldpage
                            pbPlayCursorSE
                            dorefresh = true
                          end
                  You must change into:
                  Code:
                  @[email protected] if @page>@maxPage
                  It's obvious in FL's script, this line:
                  Spoiler:
                  # -In PScreen_PokedexEntry script section, change both lines (use Ctrl+F to find
                  # it) '@page = 3 if @page>3' into '@[email protected] if @page>@maxPage'.
                  Reply With Quote
                    #34    
                  Old October 3rd, 2018 (4:46 PM).
                  WolfPP's Avatar
                  WolfPP WolfPP is online now
                     
                    Join Date: Aug 2018
                    Location: Brazil
                    Gender: Male
                    Nature: Jolly
                    Posts: 153
                    Quote:
                    Originally Posted by secondcoming222 View Post
                    Hi, great script and i love the idea! I browse these forums quite often but this is my first time posting.
                    I have entered all your scripts and graphics as instructed and everything works except one thing. When i get to the ADV tab in the pokedex, i can only page backwards (ie: from page 1 to 11, 10, 9, etc.) and cant page forward (ie. page 1 to 2, 3, 4, etc.) any help would be greatly appreciated!
                    I did the same problem. Just add in right place.

                    See:
                    Code:
                          if Input.trigger?(Input::A)
                            pbSEStop; pbPlayCrySpecies(@species,@form) if @page==1 #Advanced Pokedex
                            if @page == 4
                               @subPage-=1
                               @[email protected] if @subPage<1
                               displaySubPage
                            end
                          elsif Input.trigger?(Input::B)
                            pbPlayCancelSE
                            break
                          elsif Input.trigger?(Input::C)
                            if @page==2   # Area
                    #          dorefresh = true
                            elsif @page==3   # Forms
                              if @available.length>1
                                pbPlayDecisionSE
                                pbChooseForm
                                dorefresh = true
                              end
                            end
                            if @page == 4 #Advanced Pokedex
                              @subPage+=1
                              @subPage=1 if @subPage>@totalSubPages
                              displaySubPage
                            end
                    Hey FL, excuse me. I installed Lucidious89's egg group types (https://www.pokecommunity.com/showthread.php?t=356806)and i want to add the image below instead 'simple description' in your Advanced Pokedex.
                    Its possible?

                    Ty ty!
                    Attached Images
                    File Type: png typesEgg.png‎ (3.7 KB, 5 views) (Save to Dropbox)
                    Reply With Quote
                      #35    
                    Old October 14th, 2018 (4:20 AM). Edited October 14th, 2018 by FL.
                    FL's Avatar
                    FL FL is offline
                    Pokémon Island Creator
                       
                      Join Date: Sep 2010
                      Gender: Male
                      Posts: 1,769
                      Quote:
                      Originally Posted by secondcoming222 View Post
                      Hi, great script and i love the idea! I browse these forums quite often but this is my first time posting.
                      I have entered all your scripts and graphics as instructed and everything works except one thing. When i get to the ADV tab in the pokedex, i can only page backwards (ie: from page 1 to 11, 10, 9, etc.) and cant page forward (ie. page 1 to 2, 3, 4, etc.) any help would be greatly appreciated!
                      You don't follow the instructions correctly. I edited the script for making these instructions more clear.

                      Quote:
                      Originally Posted by WolfPP View Post
                      Hey FL, excuse me. I installed Lucidious89's egg group types (https://www.pokecommunity.com/showthread.php?t=356806)and i want to add the image below instead 'simple description' in your Advanced Pokedex.
                      Its possible?

                      Ty ty!
                      Since the content is structured for only receive text, you need to do a bit more editing.

                      By the way, you can show the group on bottom area. To do this, after line 'return if !$Trainer.owned[@species]'. Add

                      Code:
                          # Egg group image
                          dexdata=pbOpenDexData
                          pbDexDataOffset(dexdata,@species,31)
                          compat10=dexdata.fgetb
                          compat11=dexdata.fgetb
                          pbDexDataOffset(dexdata,@species,18)
                          noGender=dexdata.fgetb==255 && !isConst?(@species,PBSpecies,:DITTO)
                          eggGroupbitmap=AnimatedBitmap.new(_INTL("Graphics/Pictures/typesEgg"))
                          eggGroup0rect=Rect.new(0,700,64,28)
                          eggGroup1rect=Rect.new(0,compat10*28,64,28)
                          eggGroup2rect=Rect.new(0,compat11*28,64,28)
                          overlay = @sprites["overlay"].bitmap
                          groupX = (Graphics.width+16-288)/2
                          if noGender && compat10!=0 || compat10==compat11
                            overlay.blt(groupX,height-8,eggGroupbitmap.bitmap,
                              noGender && compat10!=0 ? eggGroup0rect : eggGroup1rect)
                          else
                            overlay.blt(groupX,height-24,eggGroupbitmap.bitmap,eggGroup1rect)
                            overlay.blt(groupX,height+8,eggGroupbitmap.bitmap,eggGroup2rect)
                          end
                          dexdata.close
                      __________________
                      Reply With Quote
                        #36    
                      Old October 14th, 2018 (5:58 AM).
                      WolfPP's Avatar
                      WolfPP WolfPP is online now
                         
                        Join Date: Aug 2018
                        Location: Brazil
                        Gender: Male
                        Nature: Jolly
                        Posts: 153
                        Quote:
                        Originally Posted by FL View Post
                        You don't follow the instructions correctly. I edited the script for making these instructions more clear.

                        Since the content is structured for only receive text, you need to do a bit more editing.

                        By the way, you can show the group on bottom area. To do this, after line 'return if !$Trainer.owned[@species]'. Add

                        Code:
                            # Egg group image
                            dexdata=pbOpenDexData
                            pbDexDataOffset(dexdata,@species,31)
                            compat10=dexdata.fgetb
                            compat11=dexdata.fgetb
                            pbDexDataOffset(dexdata,@species,18)
                            noGender=dexdata.fgetb==255 && !isConst?(@species,PBSpecies,:DITTO)
                            eggGroupbitmap=AnimatedBitmap.new(_INTL("Graphics/Pictures/typesEgg"))
                            eggGroup0rect=Rect.new(0,700,64,28)
                            eggGroup1rect=Rect.new(0,compat10*28,64,28)
                            eggGroup2rect=Rect.new(0,compat11*28,64,28)
                            overlay = @sprites["overlay"].bitmap
                            groupX = (Graphics.width+16-288)/2
                            if noGender && compat10!=0 || compat10==compat11
                              overlay.blt(groupX,height-8,eggGroupbitmap.bitmap,
                                noGender && compat10!=0 ? eggGroup0rect : eggGroup1rect)
                            else
                              overlay.blt(groupX,height-24,eggGroupbitmap.bitmap,eggGroup1rect)
                              overlay.blt(groupX,height+8,eggGroupbitmap.bitmap,eggGroup2rect)
                            end
                            dexdata.close
                        So beautiful! Thanks a lot FL! <3 I will just reposition and delete 'breed group' to showin adv pokedex.

                        Ty ty!!!
                        Attached Images
                        File Type: png Sem título.png‎ (21.3 KB, 13 views) (Save to Dropbox)
                        Reply With Quote
                          #37    
                        Old 2 Weeks Ago (9:47 AM).
                        Diego Mertens's Avatar
                        Diego Mertens Diego Mertens is offline
                           
                          Join Date: Aug 2017
                          Posts: 25
                          Does this script makes the pokedex entry "two-page"? Because I want if the entry is too large, you can touch A or Z to continue reading the entry. Sorry for my bad English, I talk Spanish
                          Reply With Quote
                            #38    
                          Old 1 Week Ago (3:10 PM).
                          FL's Avatar
                          FL FL is offline
                          Pokémon Island Creator
                             
                            Join Date: Sep 2010
                            Gender: Male
                            Posts: 1,769
                            Quote:
                            Originally Posted by Diego Mertens View Post
                            Does this script makes the pokedex entry "two-page"? Because I want if the entry is too large, you can touch A or Z to continue reading the entry. Sorry for my bad English, I talk Spanish
                            No, this script shows more data, like pokémon moves learned by level. But, for showing more data, it uses its own page system.
                            __________________
                            Reply With Quote
                              #39    
                            Old 1 Week Ago (6:22 PM).
                            Diego Mertens's Avatar
                            Diego Mertens Diego Mertens is offline
                               
                              Join Date: Aug 2017
                              Posts: 25
                              Quote:
                              Originally Posted by FL View Post
                              No, this script shows more data, like pokémon moves learned by level. But, for showing more data, it uses its own page system.
                              And... Is possible to do what i said? Or exist other method?
                              Reply With Quote
                                #40    
                              Old 1 Week Ago (1:03 AM).
                              ChickenCombo's Avatar
                              ChickenCombo ChickenCombo is offline
                              ㅇㅅㅇ
                                 
                                Join Date: Jan 2015
                                Gender: Male
                                Posts: 10
                                Quote:
                                Originally Posted by Diego Mertens View Post
                                And... Is possible to do what i said? Or exist other method?
                                It is possible, but you'd have to code it yourself.
                                __________________

                                Name: Andromeda
                                Reply With Quote
                                  #41    
                                Old 1 Week Ago (2:16 PM).
                                Diego Mertens's Avatar
                                Diego Mertens Diego Mertens is offline
                                   
                                  Join Date: Aug 2017
                                  Posts: 25
                                  Quote:
                                  Originally Posted by ChickenCombo View Post
                                  It is possible, but you'd have to code it yourself.
                                  I tried, but i can't... I can´t understand the code...
                                  Reply With Quote
                                    #42    
                                  Old 1 Week Ago (3:12 PM).
                                  ChickenCombo's Avatar
                                  ChickenCombo ChickenCombo is offline
                                  ㅇㅅㅇ
                                     
                                    Join Date: Jan 2015
                                    Gender: Male
                                    Posts: 10
                                    Quote:
                                    Originally Posted by Diego Mertens View Post
                                    I tried, but i can't... I can´t understand the code...
                                    Then you'd have to learn how to code or pay/ask someone to code for you.
                                    __________________

                                    Name: Andromeda
                                    Reply With Quote
                                      #43    
                                    Old 1 Week Ago (2:11 PM).
                                    Marin's Avatar
                                    Marin Marin is offline
                                    Not Bored
                                     
                                    Join Date: Nov 2016
                                    Age: 16
                                    Gender: Other
                                    Posts: 792
                                    Quote:
                                    Originally Posted by Diego Mertens View Post
                                    I tried, but i can't... I can´t understand the code...
                                    Quote:
                                    Originally Posted by ChickenCombo View Post
                                    Then you'd have to learn how to code or pay/ask someone to code for you.
                                    https://www.pokecommunity.com/showthread.php?t=410026
                                    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
                                    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 9:22 AM.