Schneestern Posted October 3, 2013 Share Posted October 3, 2013 (edited) by now my friend and I are unable to solve one Problem: Tile Changes. We do not use tiled, cause we simply prefere Mappy and so. (And tiled couldn't solve my problem... I've tried it... :/ )I was going through Arch's Boot camp Ep. 16 and the "tile changes"-post in "event hacking for dummies" (I've read/watched it many many times), but I still don't know, where I'm mistaking.funfacts: I've got one ROM, where the door of my testmap opens, but it is replaced by a tile that I didn't choose. (even if I change the reference code of the tile I wish to use, the door is simply replaced by the same tile)If I use a other ROM (a earlier copy of the ROM I mentioned) and assemble the same txt-files, then the door-tile won't be replaced (but my Thief is able to use the "door"-order and his Lockpicks durability decreases by 1).here's the relevant passages (well... I think/hope that these passages are relevant xD ) :The MapChange-file:________________________//Prologue Map Changes#define TileMap(TCN,X1,X2,L1,L2,TilePointer) "BYTE TCN X1 X2 L1; BYTE L2 0x00 0x00 0x00; POIN TilePointer"ORG 0xC9C9CC+(4*0x0E)POIN TileChangesORG 0x8CE1D20TileChanges:TileMap(0x00,0x09,0x07,0x02,0x01,Portal)TileMap(0x01,0x09,0x07,0x02,0x01,Portal)WORD 0xFFWORD 0x00WORD 0x00Portal:BYTE 0x24 0x0D 0x24 0x0DMESSAGE Map changes end at offset currentOffset_____________________________and the location based events, from the event-file.___________________________LocationBasedEvents:LOCA 0x3 [0,8] 0xFDOOR 0x00 [9,7] 0x10DOOR 0x01 [10,7] 0x10END_MAIN ___________________________ hope someone can help me out D: tia ~Schneestern EDIT: nobody able to help me? T___T Edited October 5, 2013 by Schneestern Quote Link to comment Share on other sites More sharing options...
Agro Posted October 6, 2013 Share Posted October 6, 2013 (edited) ORG 0x8CE1D20 Notice how in the same event file, there's a similar line here? ORG 0xC9C9CC+(4*0x0E) You'll see that you don't actually need (and shouldn't use) the 8 at the start. Try changing it to: ORG 0xCE1D20 The EA doesn't need the 8 at the beginning. You might be telling the EA to write stuff to an address that doesn't exist. Edited October 6, 2013 by Agro Quote Link to comment Share on other sites More sharing options...
Schneestern Posted October 6, 2013 Author Share Posted October 6, 2013 well... it worked. .___. such a simple error... I'm ashamed D: Thank ya very very much :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.