• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] How to add scroll up/down in Pokedex Text Entry?

WolfPP

Spriter/ Pixel Artist
  • 1,297
    Posts
    6
    Years
    I wanna change this:

    https://imgur.com/Z4cgRK9

    For this:

    https://imgur.com/VOcBiQn

    But i don't know how i can put a scroll up and down in text entry :/ About the scroll i will use the same to pokedex (icon_slider.png)
    Also, i will put 3 numlines (instead 5 like the first image) and decrease the size of the window entry text to support 3 numlines. Thats why i wanna put scroll up/down here.

    Thank you!
     
    The dex entries are designed as an active window in the scene. Look at the very bottom of the main pokedex scene to see how this operates. (I'm away from my computer right now and don't have more details, sorry! )
     
    The dex entries are designed as an active window in the scene. Look at the very bottom of the main pokedex scene to see how this operates. (I'm away from my computer right now and don't have more details, sorry! )

    To show the text is in 'PScreen_PokedexEntry' > ' def drawPageInfo':
    Code:
          # Draw the Pokédex entry text
          entry = pbGetMessage(MessageTypes::Entries,fSpecies)
          entry = pbGetMessage(MessageTypes::Entries,@species) if !entry || entry==""
          drawTextEx(overlay,40,240,Graphics.width-(40*2),6,entry,base,shadow)

    To access the scroll up and down i will copy like pbChoseForm when the player press the button:
    Spoiler:


    But now, to create a 'pbTextEntry' i don't know how to script one.

    The def to 'pbChooseForm':
    Spoiler:
     
    Back
    Top