Now that I found out that making the room east of another instead of INSIDE it doesn’t crash the game anymore, I’d like to understand what is happening here.
Please, if you can, few words and clear, 'cause trying to explain REAL code to me is like describing the color pink to a blind man.
So: I have this room which i put inside another one:
Room_name is inside from the Other_room.
When I go in no prob. when I get out (> OUT), there is a run-time error like this one:
[** Programming error: tried to write to -->160 in the array "MStack", which has entries 0 up to 159 **]
Mstack backtrace: size 159 words
Block at 152 owner ID 12 size 6
1 0 152 153 154 1
Block at 149 owner ID 20009 size 1
716341
Block at 146 owner ID 10 size 1
710677
Block at 139 owner ID 20007 size 5
716341 716213 0 0 0
Block at 136 owner ID 10 size 1
710677
Block at 128 owner ID 12 size 6
1 0 152 153 154 1
Block at 125 owner ID 20009 size 1
716341
Block at 122 owner ID 10 size 1
710677
Block at 115 owner ID 20007 size 5
716341 716213 0 0 0
(and so on for several pages.)
What have I done?
Is there a way around this apart from making the room NOT inside the first one?
AH! One last thing. The game doesn’t crash. It just avoids the player getting out of the inner room.