- 55
- Posts
- 10
- Years
- Seen Oct 8, 2019
Hi guys,
I want to create a guy that gives you an evolutionstone for showing him some pokemon, e.g. if the player has a Pikachu in his party, the guy gives a thunderstone.
There must be a fallacy somewhere, but I couldn't find it.
First thing is Page 1, where he describes who he is and a Variable X is set to 1. Than a self switch leads to Page 2.
Hope you get what I mean, there is a picture in the attach with the code. Hope you can help me out. Thank you in advance.
I want to create a guy that gives you an evolutionstone for showing him some pokemon, e.g. if the player has a Pikachu in his party, the guy gives a thunderstone.
There must be a fallacy somewhere, but I couldn't find it.
First thing is Page 1, where he describes who he is and a Variable X is set to 1. Than a self switch leads to Page 2.
Code:
Page 2 starts with a check, if Variabe X is equal to 1.
If yes, it checks, if the certain pokemon in party.
If no, it checks, if Variable X is equal to 2.
If yes it checks, if the certain pokemon is in party
If no, it checks, if Variable X is equal to 3
...
If the pokemon is in party.
If yes, he will give a thunderstone and add +1 to Variable X
If no, the guy describes the pokemon again.
Hope you get what I mean, there is a picture in the attach with the code. Hope you can help me out. Thank you in advance.