// ****************************************************************************
//
// Logic 81: Talking with Baron Samedi
//
// ****************************************************************************
#include "defines.txt"
if (new_room) {
load.pic(room_no);
draw.pic(room_no);
discard.pic(room_no);
set.horizon(37);
// The next 6 lines need only be in the first room of the game
/*if ((prev_room_no == 1 || // just come from intro screen
prev_room_no == 0)) { // or just started game
position(ego,120,140);
status.line.on();
accept.input();
}*/
// Check what room the player came from and position them on the
// screen accordingly here, e.g:
// if (prev_room_no == 5) {
// position(ego,12,140);
// }
position(ego,140,139);
ego_dir=0;
draw(ego);
show.pic();
animate.obj(o19); // <----I tried animating it here (in the new_room scope)
load.view(19);
set.view(o19,19);
position(o19,74,60);
draw(o19);
}
/*animate.obj(o19);//<-----I also tried initializing it here and left it as a comment field
load.view(19);
set.view(o19,19);
position(o19,74,60);
draw(o19);*/
if (said("look")) {
print("The Baron looms tall above you.");
}
if (ego_edge_code == bottom_edge) { // ego touching left edge of screen
new.room(9);
}
return();
That's all of it. I just double-checked, and the correct view resource is present and accounted-for.