• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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.

Dual Screen Tip Help

tasmania12

Mewtwo Master
  • 51
    Posts
    17
    Years
    I don't know if this has been asked yet, but, on the wiki in Dual Screen under tips it says:

    "This can display the player's party when idle, and message boxes when they are required."

    How do I make it display my party down there. I don't want it to be selectable, I just want it to display my party, their health, exp, level, names, and icon. How do I do this properly?
     
    I'm just going to provide some of the information needed to script your own window for that. Health and Exp I'm not really use to yet to call it properly.

    Pokemon Icon displaying:
    @pkmn#=AnimatedSprite.new(sprintf("Graphics/Icons/icon%03d",$Trainer.party[*].species),2,128/2,64,2)
    #Can pretty much just be any number.
    * Has to be from 0-5, 0 being team number 1, 5 being team number 6.

    @pkmn1.x= X co-ordinates
    @pkmn1.y= Y co-ordinates
    @pkmn1.z= Layer of which the sprite is on, (common number of 9999)
    @pkmn1.start
    If you want them to be animated add in @pkmn1.update. Remember this just updates that one sprite, needs to be done for all 6 calls.

    This is just some of the functions to get you started off.

    Text display with names and level.

    textPositions=[
    [_INTL("{1}",$Trainer.party[0].name),X,Y,false,@baseColor,@shadowColor]
    ]
    pbDrawTextPositions(@overlay,textPositions)

    textPositions=[
    [_INTL("{1}",$Trainer.party[0].level),X,Y,false,@baseColor,@shadowColor]
    ]
    pbDrawTextPositions(@overlay,textPositions)
     
    Back
    Top