View Single Post
  #6    
Old July 21st, 2013, 12:14 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Instead of starter one, starter two, just use an Array, something like:

Code:
        starters=[PBSpecies::BULBASAUR, PBSpecies::CHARMANDER, PBSpecies::SQUIRTLE]
        index = $game_variables[26] - 1
        textPositions.push([_INTL("{1}",PBSpecies.getName(starters[index])),
                                  16,40,1, baseColor,shadowColor])
        textPositions.push([_INTL("{1}",pbGetMessage(MessageTypes::Kinds,starters[index)),
                                  370, 40, baseColor,shadowColor])
        imagePositions.push([_INTL("Graphics/Battlers/%03d",starters[index]),180,8,0,0,-1,-1])
        imagePositions.push(["Graphics/Pictures/boxpoint2",240,200,0,0,-1,-1])
        pbPlayCry(starters[index])
__________________
Reply With Quote