Jump to content



Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Elwood : (12 March 2019 - 08:31 AM) (a sigh somewhere between small and large)
@  kirant : (12 March 2019 - 05:40 AM) (larger sigh)
@  Fire Blazer : (11 March 2019 - 08:49 PM) (small sigh)
@  Fire Blazer : (25 February 2019 - 05:07 AM)
@  Fire Blazer : (06 February 2019 - 04:34 AM) Cardfight Vanguard X? huh
@  Mercurius : (05 February 2019 - 10:49 PM) THE ONE SWITCH GAME I WANTED TO HAPPEN THE SECOND I LEARNED IT WAS REGION FREE PRE-RELEASE OMFG 2019 IS GIVING ME EVERY SINGLE REASON TO HAVE BOUGHT IT WOULD PAY ONLINE FOR 10/10
@  Fire Blazer : (03 February 2019 - 10:08 PM) plz no tumblrweed lol
@  acceptance : (02 February 2019 - 06:08 PM) (Like a tumbleweed, but more opinionated)
@  acceptance : (02 February 2019 - 06:08 PM) *Tumblrweed*
@  kirant : (02 February 2019 - 05:44 PM) *Tumbleweed*
@  Elwood : (02 February 2019 - 05:35 PM) *Tumbleweed*
@  Fire Blazer : (31 January 2019 - 12:11 AM) (silence)
@  Fire Blazer : (12 January 2019 - 08:55 PM) tho personally I guess I'm not too afraid of responding to old messages anyway sometimes, haha
@  Fire Blazer : (12 January 2019 - 08:54 PM) to have discussions where people respond at their own convenience
@  Fire Blazer : (12 January 2019 - 08:54 PM) forums could still be used but we'd have to make a bit of an effort I guess
@  Fire Blazer : (12 January 2019 - 08:54 PM) I agree with Mage Girl/Cero/Elwood/Kirant lolol
@  xcrash1998 : (12 January 2019 - 10:15 AM) And yeah missing stuff on discord is easy depending on when most people are online
@  xcrash1998 : (12 January 2019 - 10:11 AM) I think there are just fewer people interested in taking part on forums since most information is already accesible trough the many means.
@  Mercurius : (09 January 2019 - 02:46 AM) Well, at the same time I also don't frequent most of the discord channels I'm a part of, though.
@  Mercurius : (09 January 2019 - 02:46 AM) I used to prefer forums but I've been spoiled by the "everything at the same hub" thing...

Photo

Map TileChanges with EA


  • Please log in to reply
No replies to this topic

#1 Fire Blazer

Fire Blazer

    You ready?

  • Creator
  • 12,103 posts
  • Gender:Male
  • Location:U.S.A.
  • Interests:Too many to list. =P

Posted 10 June 2010 - 10:39 AM

FE7

org 0xC9C9C8+(4*0x59)

POIN TileChanges

org 0xCB1F00

TileChanges:
TileMap(0x0,0x03,0x02,0x01,0x01,VillageGate)
TileMap(0x01,0x03,0x08,0x01,0x01,VillageGate)
TileMap(0x02,0x02,0x0B,0x01,0x01,VillageGate)
TileMap(0x03,0x01,0x0E,0x01,0x01,VillageGate)
TileMap(0x04,0x09,0x0E,0x02,0x01,TownGate)
CODE $FF
CODE $00
CODE $00

VillageGate:
CODE 0x80 0x00 0x00 0x00

TownGate:
CODE 0x24 0x08 0x28 0x08

CODE
[u]Format[/u]

org 0xC9C9C8+(4*0x59) // - Pointer to tile map changes (change the 0x59)

POIN TileChanges // - puts a pointer to "event" TileChanges

org 0xCB1F00 // - where to place the data for tile changes

TileChanges: // - name of event
Tilemap(Sequential #, Top Left X, Top Left Y, Length (# of tiles to right), Height (# of tiles down), TilePointer)
// - (Insert as many as you need)
CODE $FF // - Needed to end a list of tile changes, do not remove these 3 CODE things
CODE $00
CODE $00

MapTiles: // - name of list of tiles to replace old tiles
CODE 0x80 0x00 0x00 0x00 // - tiles to use (use the CODE to just insert hex, get the tile #s from reference tilesets or some other method)


Tested and working, it makes it so that you can do tile changes with EA so you don't have to do them separately in a hex editor. It's not all that easier than doing it in hex but it can be faster, less of a hassle, and save you some brain power if you're not so good with repointing or editing things in hex. Then again, all of the input values have to be in hex for the code to properly work (so you're forced to convert co-ordinates to hex--yeah, sucks, too bad huh).

BUT WAIT! You need this macro for it to work--you can add it to EAstdlib if you are lazy (just use a text editor to edit it and paste it there) or you can make your own macro file (which is better, because you'll have to re-add the macro to EAstdlib everytime NL makes an update to the program).

CODE
//TileMapChangeMacro
#ifdef _FE7_
#define TileMap(TCN,X1,X2,L1,L2,TilePointer) "CODE TCN X1 X2 L1; CODE L2 0x00 0x00 0x00; POIN TilePointer"
#endif


Once you have that everything should work. Enjoy!

----------------

If there are any questions, go ahead and ask.

Bblazer2.png

Signature thanks to Shu.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users