Event works backward???

I have a dog giving me a quest to turn him back into

a prince.  I started with 2 pages in the event with the

dog giving me the quest. It worked fine.  Then I add

pages in order to complete the quest to turn dog back

to prince, but now when I test it I have the prince's

icon and he is thanking me.....basically page 4...

Need help please.  The small picture is the 2nd 

part of page 1 of event.

p1.png

p1a.png

p2.png

p3.png

p4.png
The engine reads the pages from right to left.  It will activate the first page it finds where all the conditions are fulfilled.  If you put no conditions in, then it will read the last page first.  As far as I can see, page 4 has no conditions on it, so it will always be the one which runs.

Put in the conditions on the left side of each page so that it is activated at the correct time.

EDIT

Presumably when the wizard is killed, a switch is activated?  Use that switch as the condition for page 4.
Not sure of what kind of condition to put in.

When I return from the curse has been lifted

and I talk to the prince,
How did you intend to 'tell' the game that the curse had been lifted?  

If you haven't done so already, the simplest thing is to create a control switch, called e.g. 'Wizard dead' which is turned on when you kill the wizard.  Make that the condition for page 4, then when it's fulfilled - and not before - the prince will be cured when you speak to him.

EDIT

It occurs to me from your question and response that you would find Andar's excellent compilation of stuff very helpful.  It's here: http://forums.rpgmakerweb.com/index.php?/topic/14727-a-starting-point-for-new-users-v08/?hl=+starting%20+point%20+users  It contains a lot of things that you need to know when starting out, including switches.  It is well worth spending a bit of time going through the things he suggests, as it will save you a huge amount of time in the future, and help you to avoid frustration.
Thanks a lot....I will do all you suggest
*chuckles*

The engine reads the pages from right to left.
No doubt this is because it was made in Japan.
*chuckles*


No doubt this is because it was made in Japan.
Actually it is just because it makes more sense this way. At least for me it does.
The engine reads the pages from right to left.
No doubt this is because it was made in Japan.
Actually no, the right to left has nothing to do with reading direction - and it might even be that it's reversed for japanese (I don't know that version).
The engine works from highest number to lowest number, and that is for programming reasons - if the japanese version has ordered the pages from right to left due to their reading direction, then the highest number would be to the left and they would have a similiar reversal...
It's logical - higher numbered pages become active later in the game. Lower numbered pages are active earlier.


If you say "First they're going to give you the quest, and THEN they're going to ask you if you've done it, and THEN they're going to give you a reward and THEN they're just going to chatter", you've already established your sequence, and you need to create event pages to follow the same sequence, using conditions to make each subsequent one active at the right point.


If your higher-numbered pages are running before the lower-numbered ones, it's because of the way you've set up the conditions (probably NO conditions on a higher-numbered page, which is a common problem for people new to RPG Maker).

Original thread: https://forums.rpgmakerweb.com/threads/event-works-backward.23758/