The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Setmaptile

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old November 28th, 2015 (10:18 AM).
Auros's Avatar
Auros Auros is offline
 
Join Date: Sep 2015
Gender: Male
Posts: 87
Hi, I'm using a setmaptile script in the lab's map but everytime it doesn't work properly and it changes the wrong blocks, but that's not all: I'm trying to change 6 blocks but it actually changes 20-25 blocks!
I'm using setmaptile 0x(X coordinate) 0x(Y coordinate) 0x(hex number of the block) 0x(0 or 1) followed by "special 0x8E".
The script is simply this one anyway:
Quote:
setmaptile 0xA 0x3 0x223 0x1
setmaptile 0xB 0x3 0x224 0x1
setmaptile 0xC 0x3 0x225 0x1
setmaptile 0xA 0x2 0x21B 0x1
setmaptile 0xA 0x2 0x21C 0x1
setmaptile 0xA 0x2 0x21D 0x1
special 0x8E
end
And I'm using "01 script setmaptile" on Header view (I've got the same problem even in a common script anyway).
I've already tried to insert the map again but the problem persists. What shall I do?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 29th, 2015 (10:18 AM).
PokemonValor's Avatar
PokemonValor PokemonValor is offline
 
Join Date: Oct 2015
Location: Celadon City, Kanto
Gender: Male
Nature: Lax
Posts: 98
Could be a conflict with other map scripts on that map? Or maybe it's somewhere in the rest of your script? The setmaptile line is correct so it doesn't look like the problem is there.
__________________
Check out our hack, POKEMON VALOR in the Progressing Hacks page!
Always looking for feedback and suggestions.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 29th, 2015 (11:11 AM).
Auros's Avatar
Auros Auros is offline
 
Join Date: Sep 2015
Gender: Male
Posts: 87
Quote:
Originally Posted by PokemonValor View Post
Could be a conflict with other map scripts on that map? Or maybe it's somewhere in the rest of your script? The setmaptile line is correct so it doesn't look like the problem is there.
Thanks for your answer but I solved my problem! I read "special 0x8E" works in Emerald too but it actually works only in Fire Red.
The command I have to use in Emerald is "special 0x91".
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:10 AM.