Am I suppose to put the world map events and tile map changes in their own separate wordpad++ files? I also noticed they each have their own version of pointers. Can anyone explain to me how I go about making sense of it?
Example:
#include EAstdlib.event
ORG 0xC9CDA8+(4*0x01)
POIN WorldMapData
ORG 0xD80700 ///ORG 0x100A794
WorldMapData:
_0x87
_ASMWORLDMAP 0xB5631
LOADWM 0x0 [304,240] 0x5C
This is the top portion of my world map event file. It works but I don't understand what, why, or how the two ORG pointers work. I've been doing mostly just simple EA events that have only one ORG line. What is the " +(4*0x01) " suppose to do?
This brings me to my map tile changes also.
org 0xC9C9C8+(4*0x59) /// Is this suppose to point to offset of the tile change pointers or some other pointers?
POIN TileChanges /// I'm not sure what this one does. Am I suppose to replace "TileChanges" with the title of my tile changes?
org 0xCB1F00 /// Am I right to assume this points to a location in the ROM to write the file? Would this be necessary if I put the map tile change info inside the event file?
TileChanges: /// Is this the aforementioned title of my tile changes?
TileMap(0x00,0x10,0x02,0x01,0x01,Chest1)
TileMap(0x01,0x03,0x24,0x01,0x01,Chest2)
BYTE $FF
BYTE $00
BYTE $00
Chest1:
BYTE (Tile Hex) /// What is a Tile Hex? the coordinates of the tiles in hex? pointers in hex? or something completely different?
BYTE $00
Chest2:
BYTE (Tile Hex)
BYTE $00