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,771
      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:"),@page-@infoPages)' into 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@subPage-@infoPages)'. 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:"),@page-@infoPages)' into 'subPageMoves(@levelMovesArray,_INTL("LEVEL UP MOVES:"),@subPage-@infoPages)'. 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,771
          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 Pokdex, I noticed that it doesn't shows the second ability if a Pokmon 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 online now
               
              Join Date: May 2018
              Location: Việt Nam (Vietnam)
              Gender: Male
              Nature: Relaxed
              Posts: 76
              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 online now
                   
                  Join Date: May 2018
                  Location: Việt Nam (Vietnam)
                  Gender: Male
                  Nature: Relaxed
                  Posts: 76
                  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:
                  @page=@maxPage 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 '@page=@maxPage if @page>@maxPage'.
                  Reply With Quote
                    #34    
                  Old October 3rd, 2018 (4:46 PM).
                  WolfPP's Avatar
                  WolfPP WolfPP is offline
                     
                    Join Date: Aug 2018
                    Location: Brazil
                    Gender: Male
                    Nature: Jolly
                    Posts: 164
                    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
                               @subPage=@totalSubPages 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,771
                      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 offline
                         
                        Join Date: Aug 2018
                        Location: Brazil
                        Gender: Male
                        Nature: Jolly
                        Posts: 164
                        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, 16 views) (Save to Dropbox)
                        Reply With Quote
                          #37    
                        Old October 29th, 2018 (9:47 AM).
                        Diego Mertens's Avatar
                        Diego Mertens Diego Mertens is offline
                           
                          Join Date: Aug 2017
                          Posts: 39
                          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 November 4th, 2018 (3:10 PM).
                          FL's Avatar
                          FL FL is offline
                          Pokémon Island Creator
                             
                            Join Date: Sep 2010
                            Gender: Male
                            Posts: 1,771
                            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 pokmon moves learned by level. But, for showing more data, it uses its own page system.
                            __________________
                            Reply With Quote
                              #39    
                            Old November 4th, 2018 (6:22 PM).
                            Diego Mertens's Avatar
                            Diego Mertens Diego Mertens is offline
                               
                              Join Date: Aug 2017
                              Posts: 39
                              Quote:
                              Originally Posted by FL View Post
                              No, this script shows more data, like pokmon 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 November 5th, 2018 (1:03 AM).
                              ChickenCombo's Avatar
                              ChickenCombo ChickenCombo is offline
                              ㅇㅅㅇ
                                 
                                Join Date: Jan 2015
                                Gender: Male
                                Posts: 11
                                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 November 5th, 2018 (2:16 PM).
                                Diego Mertens's Avatar
                                Diego Mertens Diego Mertens is offline
                                   
                                  Join Date: Aug 2017
                                  Posts: 39
                                  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 cant understand the code...
                                  Reply With Quote
                                    #42    
                                  Old November 5th, 2018 (3:12 PM).
                                  ChickenCombo's Avatar
                                  ChickenCombo ChickenCombo is offline
                                  ㅇㅅㅇ
                                     
                                    Join Date: Jan 2015
                                    Gender: Male
                                    Posts: 11
                                    Quote:
                                    Originally Posted by Diego Mertens View Post
                                    I tried, but i can't... I cant 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 November 6th, 2018 (2:11 PM).
                                    Marin's Avatar
                                    Marin Marin is offline
                                    Not Bored
                                     
                                    Join Date: Nov 2016
                                    Age: 16
                                    Gender: Other
                                    Posts: 794
                                    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
                                      #44    
                                    Old 3 Weeks Ago (5:14 PM). Edited 3 Weeks Ago by Diego Mertens.
                                    Diego Mertens's Avatar
                                    Diego Mertens Diego Mertens is offline
                                       
                                      Join Date: Aug 2017
                                      Posts: 39
                                      Quote:
                                      Originally Posted by FL View Post
                                      No, this script shows more data, like pokmon moves learned by level. But, for showing more data, it uses its own page system.
                                      Well, i cant do what i would like... but, can i add a new page into the script? i mean, if there are 11 pages, add one and make 12 pages...
                                      Because i can replace the old data, but it is important and i dont know how add a page.
                                      Bueno, no pude hacer lo que quera, pero Puedo aadir una nueva pgina al script? Osea, si hay 11 pginas agregar otra y que sean 12... Logr reemplazar la data anterior, pero es importante, por lo que no quiero reemplazarla y no s cmo agregar una pgina sin sustituir
                                      Reply With Quote
                                        #45    
                                      Old 3 Days Ago (4:23 AM).
                                      FL's Avatar
                                      FL FL is offline
                                      Pokémon Island Creator
                                         
                                        Join Date: Sep 2010
                                        Gender: Male
                                        Posts: 1,771
                                        For adding more pages:

                                        Change line '@infoPages=3' into '@infoPages=4'.
                                        Change line 'for i in 0...2*4' into 'for i in 0...2*5'.
                                        Before last line '# End' add your code in the array, like:

                                        Code:
                                            ret[6][0] = "Things"
                                            ret[7][0] = "Goes"
                                            ret[6][1] = "Here"
                                        __________________
                                        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 7:27 AM.