Hi i was wandering if there is a way to get choices to give a random enemy as an example The game Monster Rancher has different class tournaments so when you choose class E you only get to fight monsters from that class. Any help would be appreciated thanks.
also just to not confuse people when i say random enemy i mean like battle processing but instead of giving a set monster it gives a monster out of say 4 monster's and chooses one of them randomly each time the choice is selected.
Are these truly 'random' i.e. take x number of steps and you get a fight with an invisible enemy, or are they evented so that when you touch the sprite you get a fight? Also, are all possible combinations to be available on one map, or on several? e.g. choose class E and you get transferred to map 088; choose class D and you go to map 089. Because depending on your basic setup, the possibilities vary.
Assuming evented on one map, something like this
Show choices (selection of classes)
Each choice activates a different switch
Each enemy has a page per switch. Depending what choice the player makes, that page is activated.
On that page, have a variable, set to random with the number of choices you want so 4 choices, the variable would be set 0 - 3
For each possibility, set battle processing with the troop of your choice..
Just do a Control Variables to a random number between 1 and 4, then a series of conditional branches to check what the variable is, then call Battle Processing on the different monsters.