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 should I go on temporarily disabling the Trainer card? Maybe making it unselectable in the start menu, appearing in grey color.
I would like to control when the player receive his/her trainer card, and only then, be able to access it.
XXX is the number of your switch. The game won't let you see the Trainer Card in the menu until you turn it on. I don't know how to make it both gray and unaccesible.
I think I know how to make it unaccesible showing something like "???" instead of your name and when you select it you can make it display a message like "You don't have the Trainer Card yet". But it not being there makes more sense for me.
EDIT: Whoops, I got ninja'd
Ok, to make this post worthwhile, if you want to make what I mentioned above:
Spoiler:
below this line
Code:
cmdTrainer=-1
add
Code:
cmdWhatever=-1
below this line
Code:
commands[cmdTrainer=commands.length]=$Trainer.name if $game_switches[XXX]==true
add
Code:
commands[cmdWhatever=commands.length]="Anything you want" if $game_switches[XXX]==false
XXX is the number of your switch. The game won't let you see the Trainer Card in the menu until you turn it on. I don't know how to make it both gray and unaccesible.
I think I know how to make it unaccesible showing something like "???" instead of your name and when you select it you can make it display a message like "You don't have the Trainer Card yet". But it not being there makes more sense for me.
EDIT: Whoops, I got ninja'd
Ok, to make this post worthwhile, if you want to make what I mentioned above:
Spoiler:
below this line
Code:
cmdTrainer=-1
add
Code:
cmdWhatever=-1
below this line
Code:
commands[cmdTrainer=commands.length]=$Trainer.name if $game_switches[XXX]==true
add
Code:
commands[cmdWhatever=commands.length]="Anything you want" if $game_switches[XXX]==false
elsif cmdTrainer>=0 && command==cmdTrainer
[COLOR="Red"]if $game_switches[x][/COLOR] # Your switch number
PBDebug.logonerr {
scene=PokemonTrainerCardScene.new
screen=PokemonTrainerCard.new(scene)
pbFadeOutIn(99999) {
screen.pbStartScreen
@scene.pbRefresh
}
}
[COLOR="red"]else
Kernel.pbMessage(_INTL("You don't have a Trainer Card yet..."))
end[/COLOR]
This way saves creating unnecessary cmd functions anyway... As for changing the color, I can only assume there is no way when it comes to command lists.