Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
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.
I can't check the script now, but I checked the picture of your event and you also need a link between the chosen poke and the pokeball that needs to be changed. I dont know which arguments the method is taking but it could look like this:
poke=pbChooseNonEggPokemon(1,2)...
check for this pbDoubleBattleAllowed? in the script. It's checking the conditions for a double battle to start, you could add a line with a global switch for example saying if this switch is not on then do what it's normally done but then when it's on, ignore the fact that the trainer needs 2 pokes
You should team up with the others who are trying to recruit a team for a MMO because a MMO is way more fun nowadays and because your idea of creating a new game is, I think, more fun than recreating the official games again.
The first problem in your event is that your two script lines are separated so there is no way a variable is kept from one to the other. you need to keep the value of the variable. you could try something like this
value=pbChooseBallList
pbBallTypeToBall(value) in a single script command
I...
paste the definition of your function pbBallTypeToBall
Edit: oh actually it's a intern function
def pbBallTypeToBall(balltype)
if $BallTypes[balltype]
ret=getID(PBItems,$BallTypes[balltype])
return ret if ret!=0
end
if $BallTypes[0]
ret=getID(PBItems,$BallTypes[0])...
I don't know this part of the script I didn't work on it yet so I can't tell you what else you should add or remove. Nonetheless, I think the easiest way to get help is to paste a part of the code which is not working and then we can help you find what the problem is. To paste code in the good...
OK I solved it by doing $Style everywhere making it a global variable but it might be a problem so I'll try with @style as you suggested. When I tried @Style I had an error, it popped a no method error for "height" which has apparently no link to this
Edit: same error. I want to work on...
Hey!
I thought I could make a personnalisable back ground so I made 5 different colors from the original one and made them change from the variable Style. This works well if you change the value from the script as you prefer but I would like to make a function that allows this change from...
It is also possible to make pokemons uncatchable using the script of when you try to catch the pokemon of a trainer and the trainer push the ball away. But I guess it's not so useful if you just take care not to leave a single pokeball accessible, which should be fairly easy if you don't use...
Hey Luka, thanks for your intervention!
I did solve all problems now the quest can have multiple goals, the quest log (now opened from menu) shows goals written in green if they are finished, and if all goals are finished, the quest is considered completed.
I'll see what else I can add before...
When I press enter instead of C it does it only once...
EDIT: Ok it was actually a problem with print
I used receiveitem and it did it once
because you have to press enter to exit the printed message it actually activates it a second time
I really don't get it. When I replace
print j.goaldesc by print "plop" it writes plop 6 times. So it's 2 times the 3 variables. But it's not linked to the number of quest because I tried adding a third quest and it didn't change the number of plops printed
OK so I managed to make things work more or less by making Goal a class and initialize it like Quest but I have another problem
for i in QUESTS
if i.id==0
i.goals=[
Goal.new(1,"trouver le fromage",false),
Goal.new(2,"trouver le pain",false)]
elsif i.id==1
i.goals=[
Goal.new(3,"trouver...