News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Changing Level data of a room during being inside

Started by Vener, December 09, 2017, 08:15:05 AM

Previous topic - Next topic

Vener

well , how i could triggering instantly a new level data in a room where i'm in ?
Of course , i tried a custom code by touching a PLM :

Loading 3 bytes pointer of a new level data ,
then storing it in 7E:07BD (3 byte pointer to current room tilemap (Level Data Pointer))

But that do nothing .

I wonder if i am forced to set an event bit for that (according to adding a new event to the room) .
If it's the case , how the code should be ?
And which unused event bits from which arrays are usable in SM ?

Also , i suppose that if it can be done for level data that change instantly , it'll also works for tileset# , door out , ennemie pop. etc .... ?

Thanks in advance .