Room Detection
Create
global.room_type = 0; // the type of room;
global.roomName[0] = "Room Type 1: Groovy Coast Waters";
global.roomName[1] = "Room Type 2: Un-Groovy Coast Waters";
Room Start
var last_type = global.room_type;
if (<check if room = some set of rooms that want to be named something specific>) { // the condition will look like (room = roomName1 || room = roomName2 || room = roomName3)
global.room_type = 0;
} else (<check if room = some set of rooms that want to be named something else>) {
global.room_type = 1;
}
if last_type != global.room_type { event_user(0); }
User Event: 0
instance_create(400,304,objRoomNameEffect);