The PokéCommunity

We are still working on a better slogan!

Visit Index

Advertise here

Go Back   The PokéCommunity Forums > Varion Bluefire

Conversation Between Varion Bluefire and Maruno
Showing Visitor Messages 1 to 4 of 4
  1. Maruno
    October 1st, 2013 05:17 PM
    The party screen is in the script section PokemonParty. The Pokémon icon is an instance of the PokemonIconSprite class. You'd need to change that to, say, an instance of the PokemonSprite class instead... but because these two classes work differently, you'll need to make sure you fix any code which involves the Pokémon icon.

  2. Varion Bluefire
    October 1st, 2013 04:09 PM
    Varion Bluefire
    Hey, I need some help with essentials.
    I'm trying to change the Party screen to this:

    Just a mini rough up.
    But, how would I go about changing the icons, to the actual battle sprites?
    I've looked through the scripts for PokémonParty PokémonSummary and PokémonMenu, I'm just not finding much.

  3. Maruno
    June 18th, 2013 01:26 PM
    I know nothing about the dual screen script. I don't know where you've put your code, but I'm pretty sure I know what your problem is.

    $Trainer.pokedex is not a method. It's a boolean (a true/false value). It's part of $Trainer, which is defined when the player chooses a name. Before this, though, there's a bit of the game in which your code applies, but $Trainer doesn't exist. Therefore $Trainer.pokedex doesn't exist either, which causes the problem.

    What you need to do is replace the problem line with if $Trainer && $Trainer.pokedex==true. This makes sure it only cares about $Trainer.pokedex if $Trainer exists.

  4. Varion Bluefire
    June 18th, 2013 11:14 AM
    Varion Bluefire
    I have a question about Scripting for Essentails:

    I'm making it so I have buttons on a lower section of the screen for Essentials, I used the Dual Screen from the Wiki.
    This is the script I have to make the buttons appear
    #-----------------------------------------------, 440)
    @icondex.z = 99999999
    if $Trainer.pokedex==true
    @icondex.opacity = 255
    @icondex.opacity = 70
    #-----------------------------------------------, 440)
    @iconparty.z = 99999999
    @iconparty.opacity = 70
    #-----------------------------------------------, 440)
    @iconbag.z = 99999999
    @iconbag.opacity = 70

    When loading the .exe and starting New Game (I have no save files to test Continue on) it doesn't recognize the term: pokedex.
    for ''if $Trainer.pokedex==true' on line 76.

    Do you know anyway to fix this, or any way around it?

    Long Story short, where abouts is the mthod 'pokedex' defined?

All times are UTC -8. The time now is 05:08 AM.

About Us
© 2002 - 2014 The PokéCommunity™, Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.