Go Back   The PokéCommunity Forums > Varion Bluefire
Reload this Page Conversation Between Varion Bluefire and Maruno

Notices
For all updates, view the main page.



Conversation Between Varion Bluefire and Maruno
Showing Visitor Messages 1 to 4 of 4
  1. Maruno
    October 1st, 2013 05:17 PM
    Maruno
    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:
    Spoiler:

    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
    Maruno
    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:
    Spoiler:

    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.setBitmap("Graphics/Pictures/icondex")
    @icondex.z = 99999999
    if $Trainer.pokedex==true
    @icondex.opacity = 255
    else
    @icondex.opacity = 70
    end
    #-----------------------------------------------
    @iconparty=IconSprite.new(140, 440)
    @iconparty.setBitmap("Graphics/Pictures/iconparty")
    @iconparty.z = 99999999
    @iconparty.opacity = 70
    #-----------------------------------------------
    @iconbag=IconSprite.new(240, 440)
    @iconbag.setBitmap("Graphics/Pictures/iconbag")
    @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 10:00 PM.