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

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
  #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,766
      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,766
          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 2 Weeks Ago (4:46 PM).
                  WolfPP's Avatar
                  WolfPP WolfPP is online now
                     
                    Join Date: Aug 2018
                    Location: Brazil
                    Gender: Male
                    Nature: Jolly
                    Posts: 124
                    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 Thumbnails
                    typesEgg.png‎  
                    Reply With Quote
                      #35    
                    Old 1 Week Ago (4:20 AM). Edited 1 Week Ago by FL.
                    FL's Avatar
                    FL FL is offline
                    Pokémon Island Creator
                       
                      Join Date: Sep 2010
                      Gender: Male
                      Posts: 1,766
                      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 1 Week Ago (5:58 AM).
                      WolfPP's Avatar
                      WolfPP WolfPP is online now
                         
                        Join Date: Aug 2018
                        Location: Brazil
                        Gender: Male
                        Nature: Jolly
                        Posts: 124
                        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 Thumbnails
                        Sem título.png‎  
                        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 3:41 PM.