- 80
- Posts
- 6
- Years
- Seen Nov 5, 2023
I want to make a betting facility. Were you see two people against each other and you need to decide who will win
Here is how I want to execute it (Even though I did not add the random trainer yet, the important part is that the trainer1 and trainer2 is seperate from the trainers thing
Because here is the problem
works, because trainer 1 and trainer 2 are in the same code block
but appearently it does not work when I put them seperate as in the Picture
I am not completly sure how to make it right, I think I will make it so that I set trainer 1 and trainer to a variable that will be used for something like
But I am not completly sure how to do that, please help
![[PokeCommunity.com] How can I set a variable? [PokeCommunity.com] How can I set a variable?](https://i.redd.it/6jpqh8qxde261.png)
Here is how I want to execute it (Even though I did not add the random trainer yet, the important part is that the trainer1 and trainer2 is seperate from the trainers thing
Because here is the problem
Code:
trainer1=[:PWT_CYNTHIA,"Cynthia",_I("No matter how fun the battle is, it will always end sometime..."),1]
trainer2=[:PWT_LANCE,"Lance",1]
trainers=[trainer1,trainer2]
pbNPCBattle(trainers)
but appearently it does not work when I put them seperate as in the Picture
I am not completly sure how to make it right, I think I will make it so that I set trainer 1 and trainer to a variable that will be used for something like
Code:
trainers=[\v[1],\v[2]