• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

How to make a trainer's picture appear over textbox

Aryan143

The Fennekin Fan!
  • 757
    Posts
    12
    Years
    Hey guys I was playing Pokemon Resolute yesterday and was completely shocked to see this:

    [PokeCommunity.com] How to make a trainer's picture appear over textbox


    I thought for a very long time how the trainer's picture appear over the textbox and finally found out how it appeared there.

    Things you will need:

    Advance Pokemon Sprite Editor
    XSE
    The picture of your trainer

    First of all I want to say that unless you know how to expand the pokedex or are willing to replace existing pokemons, you can only have 25 trainer's pictures.

    First get your trainer picture in style you want(head,full body,half body etc.) like this:

    [PokeCommunity.com] How to make a trainer's picture appear over textbox


    Now open Advance Pokemon Sprite Editor and load your rom. In one of the 25 ? slots after Celebi insert your Trainer's picture. Insert it in all four boxes and click Synchronise Palette. Then click Write to Rom, define the offset to start searching from, Find Free Space and click OK. Make sure to remember its species number.

    [PokeCommunity.com] How to make a trainer's picture appear over textbox
    [PokeCommunity.com] How to make a trainer's picture appear over textbox


    Mine one's species number is 253

    Now you can make a script in XSE such as this:

    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    faceplayer
    [B]showpokepic 0xFD 0x0 0x4[/B]
    msgbox @hi
    callstd 0x4
    closeonkeypress
    [B]hidepokepic[/B]
    release
    end
    
    #org @hi
    = Hi Aryan!

    The ones in the bold are the main parts.

    showpokepic shows a pokemon picture. 0xFD is the pokemon number in Hex (253). 0x0 and 0x4 are coordinates. You can use any but I recommend these as 0x0 and 0x4 makes the picture appear just over the textbox. hidepokepic hides the picture.

    Now compile it and assign it to any person in A-Map. Now check the rom:

    [PokeCommunity.com] How to make a trainer's picture appear over textbox


    Viola!, you have the trainers picture over the textbox. (I know mine has some outline problems but if you make the background colour different from any other colour in the sprite, it should work fine)

    Credits:

    Pinkish Purple
     
    Last edited:
    Hey hey! Very smart way of doing this! So simple yet has amazing results! Thanks heaps.
     
    I Knew already....but great you put it so that other can know how to do it.

    Great that you already knew and that's the reason why I made this tutorial- so that other can know how to do it.

    Hey hey! Very smart way of doing this! So simple yet has amazing results! Thanks heaps.

    Thanks for the feedback
     
    Well... this is like year old information (about from the time when this was in DJG's Life of Guardians), but it does help the newbies who did not know about it.

    This information may be given out in the past but the information in this thread is my own work. I didn't copied it or something.
     
    Can I use any image found in google and just resize it? If not, can you specify what kind and type of image I must use? :)
     
    Can I use any image found in google and just resize it? If not, can you specify what kind and type of image I must use? :)
    A sprite. An indexed sprite. Or even an unindexed one. Wichu's Sprite Editor automatically indexes it but, it should only have 16 or less colors.
     
    can i do dis with emerald???? if nt plz help me :)
     
    Hey guys there is a small edit in the script. The 0x2 has been changed to 0x4 because 0x2 made it too high. Thanks for Pinkish Purple for notifying me.
     
    Help me!!
    I try to show a badge as the same in B/W/BW2, but when I talk with a npc I get my badge, but with only a black silhouette. I follow the tutorial, but something went wrong...
    Sorry my bad english...
     
    Last edited:
    hmm nice ttutorial!!!, this thread was worth my time
     
    Help me!!
    I try to show a badge as the same in B/W/BW2, but when I talk with a npc I get my badge, but with only a black silhouette. I follow the tutorial, but something went wrong...
    Sorry my bad english...
    The Solution is:

    • Search the ? After celebi but before treecko with Unlz.GBA
      You'll see pallete offset:00xxxxxxx.
      Using Ifran View, save the raw(see other tut for this).
      Copy the xxxxxx to Advanced Pallete Editor.
      Then click button which if it hovered says Import Pallete
      Open the raw
      Press Change Pallete, it's autosaved.
    At last of course,
    test it.
    Note: Image should be Indexed using Ifran View too.
     
    Nice tutorial, but its bad that you must replace a Pokémon..

    I will later write a tutorial on how to show a mugshot via ASM ;)
     
    Back
    Top