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!

Reply
 
Thread Tools
  #1    
Old October 9th, 2012 (12:06 PM).
SBird SBird is offline
     
    Join Date: Aug 2009
    Gender: Male
    Posts: 83

    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

    Relevant Advertising!

      #2    
    Old October 11th, 2012 (8:56 PM).
    Darthatron's Avatar
    Darthatron Darthatron is offline
    巨大なトロール。
    • Silver Tier
     
    Join Date: Jan 2006
    Location: Melbourne, Australia
    Age: 25
    Gender: Male
    Nature: Modest
    Posts: 1,152

    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 Dragonflye is offline
    Author of Pokémon Sovereign of the Skies
       
      Join Date: Dec 2009
      Age: 22
      Gender: Male
      Posts: 80

      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

      Forum Jump


      All times are GMT -8. The time now is 2:09 AM.