Hi, guys! I’m having some problems with tile changes.
In my tile changes text file, i wrote just one tile change. Here’s the file.
#include EAstdlib.event
#include TilesDefinitions.txt
org 0xCE2244+(4*0x42)
POIN TileChanges
org 0x31A380
TileChanges:
Tilemap(0x00,0x0C,0x05,0x01,0x01,OpenChest)
CODE $FF
CODE $00
CODE $00
OpenChest:
CODE 0x04 0x00
okay so. tiles definitions is exactly as arch wrote in his hacking tutorial for dummies.
when i try to assemble, i get 8 errors.
Finished.
8 errors encountered:
File: TilesDefinitions.txt, Line: 3: Resefining TileMap: #define TileMap(TCN,X1,Y1,L1,L2,TilePointer) "CODE TCN X1 Y1 L1 L2; CODE L2 0x00 0x00 0x00; POIN TilePointer
File Ch10 Tile Map Changes.txt, Line 4, Column 1: No code named org found.
File Ch10 Tile Map Changes.txt, Line 8, Column 1: No code named org found.
File Ch10 Tile Map Changes.txt, Line 11, Column 1: No code named Tilemap found.
File Ch10 Tile Map Changes.txt, Line 12, Column 1: No code named CODE found.
File Ch10 Tile Map Changes.txt, Line 13, Column 1: No code named CODE found.
File Ch10 Tile Map Changes.txt, Line 14, Column 1: No code named CODE found.
File Ch10 Tile Map Changes.txt, Line 17, Column 1: No code named CODE found.
No data written to output.
So i don’t have any idea on how to resolve those problems. Probably they’re elemental things, but please, guys, help me.
thanks in advance