Draconius GO
Conversation Between Varion Bluefire and Maruno
Showing Visitor Messages 1 to 4 of 4
  1. Maruno
    October 1st, 2013 5: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 4: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 1: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
    @icondex=IconSprite.new(40, 440)
    @icondex.z = 99999999
    if $Trainer.pokedex==true
    @icondex.opacity = 255
    @icondex.opacity = 70
    @iconparty=IconSprite.new(140, 440)
    @iconparty.z = 99999999
    @iconparty.opacity = 70
    @iconbag=IconSprite.new(240, 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 GMT -8. The time now is 9:20 AM.