When I use
ind=room_add(); room_tile_add(ind,back,left,top,width,height,x,y,depth); //...and some thing like that
and when i goto that room i got right tiles in right position BUT the color of the tiles have changed.some times they are little bit blue ,some times pinkl, It's all ramdom. And the room_set_background(..) don't work properly . So you cannot change tiles or background while the room isn't current room??Is that a bug?
I think it maybe has somthing to do with the pallette,when you are no in 32bit corlo ,but it's not....I was in 32bit corlor
so,I wrote a script to load tiles to current room,and set it to the creation code after room_add(). that works ,and you can use control object to load tiles which i think is much better