The following post is in english.
Um den deutschen Beitrag zu sehen, siehe:
Project Pokemon Amethyst DE 04 on Peakd
To see older posts or other posts about "Game Maker" projects, have a look on:
Yalunas Game Maker Block on Peakd
You can find me also with other topics on:
Yalunas Blog LeoFinance
Yalunas Blog Neoxian
Today we talk about something I forgot in the last post. We also need a guy who stop the player if he/she have no Pokemon and how we can cancel the Event if the Player have a Pokemon.
In the last post, we had the picture below, where we set a variable (#0007) if the player choose a starter Pokemon. The variable must be higher then 0 but you can also use it for other conditions like the choice of your rival Pokemon. The only thing is, it must be higher then 0 if the player choses the starter Pokemon.
In the picture below we see the guy who have to stop the player, if he/she have no Pokemon. We use for that 2 Events infront of the guy, which looks like the picture below. The condition for the event is the variable for the chosen starter Pokemon (#0007 in our example) and it have to be lower or equal to 0. I also say, the player should go one step down to make the event not passable. If it's not lower or equal to 0, it must be higher and then the event should switch to page 2 be using a self switch.
The second page is empty but don't forget to set the conditions to our self switch. Bouth events are the exactly same.
We set a 3. event which have only a grafic of a random guy in the first page. In the second page is empty but with the condition of variable #0007 is equal or bigger to 1. So the guy will disapper and it looks like the guy is speaking to the player if the player have no Pokemon. Thats it!
See you next time my Game Makers^^