1. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    So far I've been using AdvanceMap along with XSE to mod Pokemon Emerald. Now I'm stuck at a problem. I can't find where the script for this event:
    [​IMG]

    That scene is where you are after you go down the stairs after setting the clock time. That script is no where to be seen in this map:
    [​IMG]

    I've even checked the surrounding maps to look for a related script but to no avail.
     
  2. Rydian

    Rydian Resident Furvert™
    Member

    Joined:
    Feb 4, 2010
    Messages:
    27,880
    Country:
    United States
    What about the above level? The stairs leading down?

     
  3. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    I've already checked the surrounding maps to see if there were any related scripts.
     
  4. Zerosuit connor

    Zerosuit connor Baby I'm Back ♥
    Member

    Joined:
    Sep 17, 2010
    Messages:
    1,848
    Country:
    You'd think it would have it's own special one for a one time use, I was never too good with scripting, but go through absolutely everything to see if you can find it, it's just like sprite or sound replacement, it has to be there.
     
  5. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    You wouldn't happen to know of a program that would let me decompile the rom and then view it as a file system then recompile it do you?
     
  6. Rydian

    Rydian Resident Furvert™
    Member

    Joined:
    Feb 4, 2010
    Messages:
    27,880
    Country:
    United States
    IIRC unlike DS games, GBA games don't use any sort of filesystem.
     
  7. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    So what would be the best way to find that script then?
     
  8. Rydian

    Rydian Resident Furvert™
    Member

    Joined:
    Feb 4, 2010
    Messages:
    27,880
    Country:
    United States
    I wouldn't know.
     
  9. windwakr

    windwakr GBAtemp Fan
    Member

    Joined:
    Sep 13, 2009
    Messages:
    493
    Country:
    United States
    I have pretty much no Pokemon scripting knowledge, but if you look at the scripts in the map header, one of them has this:
    Code:
    #org 0x81F77EA
    '-----------------------------------
    checkmoney 0x340 0x0 0x783C
    comparefarbytetobyte 0x5409208 0x0
    copyscriptbanks 0x78 0x1F
    jumpstd 0x92
    
    Could the "copyscriptbanks" have something to do with it?


    EDIT: Through manually incrementing the script location by 1 repeatedly, I found it: 0x81F784D. No clue how it gets called, though.
     
  10. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    From what I know that command is just a redirect for another script? How would I get to that other script?
     
  11. windwakr

    windwakr GBAtemp Fan
    Member

    Joined:
    Sep 13, 2009
    Messages:
    493
    Country:
    United States
    The one for the girl is at: 0x81F899D

    Boy: 0x81F784D
     
  12. Pnt101

    OP Pnt101 Member
    Newcomer

    Joined:
    Apr 9, 2009
    Messages:
    33
    Country:
    United States
    Thanks, you don't happen to know how to accept that file do you? Also how did you find that information?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - scripting, Pokemon, Emerald