ROM Hack Need help scripting Pokemon Emerald

  • Thread starter Thread starter Pnt101
  • Start date Start date
  • Views Views 6,723
  • Replies Replies 11

Pnt101

Active Member
Newcomer
Joined
Apr 9, 2009
Messages
33
Reaction score
0
Trophies
1
Location
Dumpster
XP
112
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:
XR8zA.png


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:
5g9GC.png


I've even checked the surrounding maps to look for a related script but to no avail.
 
What about the above level? The stairs leading down?

I've already checked the surrounding maps to see if there were any related scripts.

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.
 
What about the above level? The stairs leading down?

I've already checked the surrounding maps to see if there were any related scripts.

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.

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?
 
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.
 
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.

From what I know that command is just a redirect for another script? How would I get to that other script?
 

Site & Scene News

Popular threads in this forum