Alright, I have done you a favor and have searched the code, formatted it, and fixed it. This is a possitive fix, I have checked it thouroughly and fixed 2 other bugs which where in the code I gave you earlier(and in the code you posted).
// ****************************************************************
//
// Logic 10
//
// ****************************************************************
#include "defines.txt"
#define man o10
if (new_room)
{
load.pic(room_no);
draw.pic(room_no);
discard.pic(room_no);
set.horizon(13);
animate.obj(o10);
load.view(23);
set.view(o10,23);
set.loop(o10,0);
set.cel(o10,0);
position(o10,132,63);
ignore.horizon(o10);
ignore.blocks(o10);
ignore.objs(o10);
wander(o10);
draw(o10);
//ADD ADDITIONAL INITIALIZATION CODE HERE
if (prev_room_no == 3)
{
position(o0, 8, 88);
}
if (prev_room_no == 9)
{
position(o0, 78, 166);
}
if (prev_room_no == 12)
{
position(o0, 79, 19);
}
if (prev_room_no == 11)
{
position(o0, 158, 84);
}
draw(o0);
show.pic();
}
if (ego_edge_code == horizon_edge)
{
//ADD ADDITIONAL HORIZON EXIT CODE HERE
new.room(12);
}
if (ego_edge_code == bottom_edge)
{
//ADD ADDITIONAL BOTTOM EXIT CODE HERE
new.room(9);
}
if (ego_edge_code == left_edge)
{
//ADD ADDITIONAL LEFT EXIT CODE HERE
new.room(3);
}
if (ego_edge_code == right_edge)
{
//ADD ADDITIONAL RIGHT EXIT CODE HERE
new.room(11);
}
if (said("look")) {
print("You see a crossroads.");
}
if (said("speak")) {
print("Do you have a sword?");
print("Hint: Say YES or NO");
}
if (said("Yes")) {
erase(o0);
erase(o10);
load.view(48);
set.view(o0,48);
set.loop(o0,3);
load.view(49);
set.view(o10,49);
set.loop(o10,0);
move.obj(o0,100,105,1,f60);
move.obj(o10,105,105,1,f61);
animate.obj(o0);
animate.obj(o10);
end.of.loop(o0,f62);
end.of.loop(o10,f63);
}
if (said("no")) {
print("Come see me when you do.");
}
if (f62){
start.cycling(o0);
}
if (f63){
erase(o10);
load.view(50);
set.view(o10,50);
load.sound(50);
sound(50,f64);
}
if (f64){
erase(o10);
get(i8);
set.view(o0,0);
}
return();