Help?

rwfromxenon Help?
// ****************************************************************************
//
// Logic 88: Intro Second Screen
//
// ****************************************************************************

#include "defines.txt"

if (new_room) {
load.pic(room_no);
draw.pic(room_no);
discard.pic(room_no);
set.horizon(37);
status.line.off();
prevent.input();
program.control();
show.pic();

animate.obj(o0);
load.view(6);
set.view(o0,6);
position(o0,100,70);
draw(o0);

animate.obj(o1);
load.view(9);
load.view(8);
set.view(o1,9);
position(o1,159,90);
program.control();
display(22,0,"Press a key to continue the introduction.");
}
if(have.key()) {
v222 = v222 + 1;
if(v222 == 1) {
print("You need some groceries. Ah,look. A store is placed conveniently next to your apartment.");
move.obj(o0,100,90,3,f98);
move.obj(o0,33,81,3,f97);
draw(o1);
}
if(v222 == 2) {
move.obj(o1,100,90,3,f96);
print("Who is this shady character?");
}
if(v222 == 3) {
print("He stopped outside your apartment. Hmm...");
set.view(o1,8);
end.of.loop(o1,f95);
}
if(v222 == 4) {
discard.view(8);
set.view(o1,9);
move.obj(o1,97,63,3,f94);
erase(o1);
}
if(v222 == 5) {
discard.view(9);
print("Maybe you should worry about that. But since you have no idea what's going on because you are buying munchies, maybe not.");
draw(o0);
}
}
if(ego_edge_code == horizon_edge) { // ego touching horizon
new.room(89);
}
return();

-Allyb-
jelleghys What's the problem, everything works fine... ???
rwfromxenon Whoops ;)
Forgot to mention that.
Well, basically, everything goes off at the same time. Andrew Baker gave me some help but it didn't want to compile.
(I think he played a practical joke on me, ever heard of a clamp? If I'm wrong, forget it...)

-Allyb-
jelleghys
everything goes off at the same time

???
It does not... I compiled it, played, and it worked...
But: I can't possibly know what is going on,... (don't have your pic & views)....

This is what I get:

ego standing on position (100,70)

<I PRESS ENTER>

"You need some groceries. Ah,look. A store is placed conveniently next to your apartment."
ego moves to position 33,81
o1 appears, standing on position (159,90)

<I PRESS ENTER>

o1 moves to position 100,90
"Who is this shady character?"

<I PRESS ENTER>

"He stopped outside your apartment. Hmm..."
o1 changes into another view, and loops one time

<I PRESS ENTER>

o1 changes into another view
o1 moves to position 97,63
o1 disappears

<I PRESS ENTER>

"Maybe you should worry about that. But since you have no idea what's going on because you are buying munchies, maybe not."


What should have happend?
Joey is this for mind quest?
rwfromxenon Yup.
Anyway, figured out, Andrew didn't play a joke on me (figures) and all I had to do was set change it from (clamp) to (f45).

-Allyb-feeling-stupid-

-Afrob- O0
Andrew_Baker Oh yeah, I forgot to mention that. I always define names for my variables and flags to help me remember.