The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Reply
 
Thread Tools
  #1    
Old October 9th, 2012 (12:06 PM).
SBird
 
Join Date: Aug 2009
Gender: Male
Good evening, to start with, i'm a german speaker/romhacker and as a result my english might not be the best...
Anyways, i came here because i wanted to find out stuff about how the FR scripting engine can handle events triggerd by overworlds on the map. I did a bit of research the last days and found out, that it uses the behavior byte of a tile to find out if the scriptfield stored on top of it should be executed when(for example a rock) enters the tile on the map. This is done by a simple "cmp" check, what it checks is the behavior byte itself. If it's 0x20, the script will be sent to the main script handler.
The project im currently working on does, however, not use the Firered version as base, it uses Emerald. I was not able to figure out a behavior byte doing all the stuff i want to do in EM. I tired to research the stuff in Emerald, but it does not seem to be implemented, so i would like to kind of port all the stuff from FR to SM, the problem is obvious, lots of conflict between the script handler stuff and aswell the problem of inserting the routine, because SM handles the behavior bytes, or at least the ones i looked at, hardcoded, it checks if the byte is for example 0x3(which is some grass animation stuff) and then goes on, but it does not execute just a asm routine/script.

Has anybody some information about this topic? I see there are many many experienced romhackers arround, so I just thought it would be the right place to ask for some help.

Greetings from Austria
~SBird
Reply With Quote
  #2    
Old October 11th, 2012 (08:56 PM).
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Hello, your English is fine. But when you say SM, you mean Emerald right? And are you hacking the American versions of the game?
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote
  #3    
Old October 12th, 2012 (12:24 AM).
Dragonflye's Avatar
Dragonflye
 
Join Date: Dec 2009
Gender: Male
He Hacking Emerald thats right but a german Rom.
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 12:21 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.