Hello. This is my first post here.
I am working on a FireRed ROM Hack and in one particular map, the use of setmaptile creates errors. This is my script:
And it is placed in the Script type '01 "setmaptile" script' in Advanced Map. But once I click save, it shows the error: AdvancedMapError(3): Cannot change byte at pos 0! Please contakt
[email protected]
The last time I put this script in the game, the game crashed everytime a wild battle started. It either froze or restarted after selecting a move. I don't see any other errors occurring and the setmaptile itself works alright. And backup files of the ROM without the setmaptile script also works perfectly. So I am suspecting that the setmaptile script is the culprit.
Can someone tell me what to do? Thanks in advanced. Also, I am a bit of noob in scripting.