gm02,96,99,4 script Professor Oak 793,{
mes "Hello, Welcome to the world of Pokemon";
next;
mes "We, Pokemon Trainers, reside in this world in peace with Pokemon";
next;
mes "Which starter Pokemon do you wish to have?";
set .@menu, select(.pkmn_menu$) -1;
if(.pkmn_menu$[0] == .pkmn$[0]):
mes "You choose " +.pkmn$[0]+ "?";
OnInit:
setarray .pkmn$,"Bulbasaur","Charmander","Squirtle";
for ( set .@i, 0; .@i < getarraysize(.pkmn$); set .@i, .@i +1 )
setarray .pkmntype$,"Grass","Fire","Water";
for ( set .@i, 0; .@i < getarraysize(.pkmntype$); set .@i, .@i +1 )
set .pkmn_menu$, .pkmn_menu$ + (.pkmn$[.@i]) + " - " + (.pkmntype$[.@i]) +":";
}
The one text bolded, How do i make it, if a player selects option 1, Bulbasaur, it says something?
Question
iFoxkun
The one text bolded, How do i make it, if a player selects option 1, Bulbasaur, it says something?
This one : if(.pkmn_menu$[0] == .pkmn$[0]):
Edited by iFoxkunLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.