ok yeah, you just need something like this:
func OpenRoom_2_0()
{
idx = ObjFind(1000);
if(ObjGet(idx,O_STATUS)==0)
{
PlayCutscene();
}
}
You don't need the screenrequest code as far as I can see, just call it as a normal function. I'm not even sure what the screenrequest code does differently, if anything.
and then this:
func PlayCutscene()
{
// position player and avoid eventual jump entries
PlayerSetPos(580,114);
PlayerEnterIdle();
Message0(3,4,"Dizzy has takennDaisy on a date");
Message0(4,5,"to a beautiful placenwith views of a castle");
Message0(5,6,"to ask herna special question"); MessagePop();
Message2(5,6,"This is wonderful!nyou are so romantic");
MessagePop();
Message1(4,5,"I want to asknyou somethingnDaisy. Would you...");
MessagePop();
Message2 (5,6,"Ouch"); MessagePop();
idx = ObjFind(1000);
rand = gs_rand(1);
if(rand==0)
ObjSet(idx,O_COLOR,COLOR_GREEN);
ObjSet(idx,O_TILE,414);
Message1 (4,5,"Are you ok?nYou suddenly looknquite ill"); MessagePop();
Message2 (5,6,"I think I must haveneaten something bad"); MessagePop();
Message1 (4,5,"Oh no, I'll go and findnyou some meds"); MessagePop();
ObjSet(idx,O_STATUS,1);
}
I've written the correct code for you at the bottom. I also corrected some of your grammar in the messages, and removed the spaces before and after n. The n is a line break, and you don't need spaces at the start and end of the lines :smile: