I need help with a digimon game

Ok i am in the middle of trying to make a digimon game and need to figure out how to make the eggs show 3 digimon that could show up 
you need to give a better explanation than that.


Is the player meant to interact with the eggs first?  How should the 3 options be displayed - all at once, cycle through them, what?


An example or a mockup or an actual description of what the player should see would be helpful (don't assume everyone knows digimon).
Or right the player choose 1 of 4 eggs when the player click a egg it digimon would show up and when you back out of you taking the digimon and try the same egg there a different digimon instead of the one you just s aw
So you want the egg sprite to change?  Or for another image to be shown in addition to the egg sprite?


The player can interact with the digimon to "take" it, or if they move away from it, it just turns into the egg again?
No its like this 


(you like to take this egg?


you click yes


a random digimon hatch from egg you choose to take the digimon if you say no you back away to the 4 egg choice and you re-select the same egg and it hatch a diffrent digimon the the fist one that hatch ) I have no controll over the next pic its random very similure to digimon world 1 random digimon hatching
okay, I think I follow.  Once the digimon hatches, do you have to take it?  Or can you reject it, then it turns back into the egg again?


I would use a Control Variables with a random number between 1 and how ever many digimon you want from that egg.


Then do a series of conditional branches to check what that number is.  For each option, use a move route to change the event's appearance to a different digimon, then a show choices asking if they want to take this digimon.  If they say yes, give them the digimon and turn on self switch A.  If they say no, do another move route to change the event's appearance back to the egg.


Add a second page conditioned by self switch A, with no sprite and no commands.  It will change to this event page after they take the digimon, so the egg will no longer be there.


So your event will look something like this (sprite is the egg):

Spoiler
Code:
Control Variables: 1: Digimon = Random 1..4
Conditional Branch: Variable 1 (Digimon) = 1
  Set Move Route (this event): Change Graphic to Digimon 1
  Show Choices: Take this Digimon, No thanks
  When [Take this Digimon]
    give digimon 1
    Control Self Switch A = ON
  When [No Thanks]
    Set Move Route (this event): Change Graphic to egg
  Branch End
Branch End
Conditional Branch: Variable 1 (Digimon) = 2
  Set Move Route (this event): Change Graphic to Digimon 2
  Show Choices: Take this Digimon, No thanks
  When [Take this Digimon]
    give digimon 2
    Control Self Switch A = ON
  When [No Thanks]
    Set Move Route (this event): Change Graphic to egg
  Branch End
Branch End
Conditional Branch: Variable 1 (Digimon) = 3
  Set Move Route (this event): Change Graphic to Digimon 3
  Show Choices: Take this Digimon, No thanks
  When [Take this Digimon]
    give digimon 3
    Control Self Switch A = ON
  When [No Thanks]
    Set Move Route (this event): Change Graphic to egg
  Branch End
Branch End
Conditional Branch: Variable 1 (Digimon) = 4
  Set Move Route (this event): Change Graphic to Digimon 4
  Show Choices: Take this Digimon, No thanks
  When [Take this Digimon]
    give digimon 4
    Control Self Switch A = ON
  When [No Thanks]
    Set Move Route (this event): Change Graphic to egg
  Branch End
Branch End



You could also do the checks as nested conditional branches, where each condition has an Else option and the next block is inside it.  That's better for performance as it only tests until it finds a condition that's met, but nesting them also indents them which can make it hard to read if you have a lot of tests.


I hope this is somewhat along the lines of what you're after, or at least give you enough ideas to get started.
Ok when i tried to go back in the event it started the event over how do i make it so it just takes a step back to where i select an egg?


also can you use Gifs in this?
you'll need switches to control when an event is active or not and to prevent it from repeating.


I suggest you follow the link to the starting point in my signature and work through those tutorials, they will get you the basics like switches or variables.
I'm not sure what you're saying.  If you "go back in the event" it's meant to "start the event over" because you're interacting with it again.


If you specifically want to force a step back when you reject a digimon, just add a Set Move Route, select the player, and do a 1 Step Backwards action.


But the event will still run again if you step forward and interact with it again.
But i am not using a sprite for this i am using pictures and background no sprites
Then please post screenshots of the event pages you have so far - your descriptions are confusing, and we need to see what you have done so far before we can give better help.
Ok this is what i have i want to beable to back up from before you say yes on selecting the egg  Event 1 help.pngEvent 3 help.pngEvent 2 help.png


Like i would have like 4 other eggs and then if the person did not like the baby digimon would would back out and try another egg and not loop from the start of the event

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-a-digimon-game.61627/