• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Status
Not open for further replies.

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Okay, so step-by-step...
1. Go to "1DBA64"
2. Go 238 bytes past it (1DBC9C according to my hex calculator)
3. Those 4 bytes (1DBC9C-1DBCA0?) are a pointer (which is the offset of a different location in the rom, right?)
4. Go to that pointer
5. Search for exactly 1 instance of the next 2-4 lines in the rom
6. Then what? ~_~

If you get a match in your EM ROM, then you know it's the special. Just back track it to get the special #
 

AkameTheBulbasaur

Akame Marukawa of Iyotono
409
Posts
10
Years
Is it possible to get rid of Professor Oak's PC option from the PC's in the Pokemon Centers of Fire Red? It's a little out of place in my hack as Professor Oak isn't even in it.
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Is it possible to get rid of Professor Oak's PC option from the PC's in the Pokemon Centers of Fire Red? It's a little out of place in my hack as Professor Oak isn't even in it.

You could change the text of it or you could find where the data is stored in that multichoice then remove that option and reduce the limit by one
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Okay, well the pointer at 0x1DBC9C is 0x418513, and after searching the 12 bytes after 418513, I found exactly one match at 0x3F074F. ^^

...Now what? ~_~

Then you find a pointer to that offset in Em. If you do find a pointer, subtract its offset from the special table's offset. then subtract that result by 1 and viola, you've got the special #
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Well when I searched for 3F074F, I got one result at 34A995 (the byte before was 0B...), but when I searched 083F074F, I got no results...

Also, when do you divide by 4?

EDIT: If it helps, I was using Hex Workshop.

I explained, you don't use the 08, the GBA does. The hex editors don't use it
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Okay, following the formula:

(Table offset)-(the pointer)=x
x/4=y
y-1=z
z=special's number

I get:
(1DBA64)-(34A995) = -291069 (It's negative...? ~_~)
-291069/4 = -A441A
(-A441A)-1 = -A4419

So the special number is (NEGATIVE) A4419?
I think I screwed something up here... o_O

You don't subtract the pointer you go to the pointer and subtract THAT offset from the table offset then divide by 4 then subtract by 1 and THEN AND ONLY THEN do you have your special #
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
I subtracted using the offset of the pointer that points to other instance of what the special table points to. Is that wrong?

Replace "the pointer" with "offset where the pointer is located"
 

Rezordaxx

Asks many questions!
290
Posts
10
Years
So i was wondering how to completely rewrite the script of prof oak in the intro when he is going to show you a nidoran and ask what your name is etc.
Where can i find the script?

I am hacking fire red.
Thanks,
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
So i was wondering how to completely rewrite the script of prof oak in the intro when he is going to show you a nidoran and ask what your name is etc.
Where can i find the script?

I am hacking fire red.
Thanks,

It's not a script, it's ASM and text. Just use a-text and pokehex to edit the texts.
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
That's what I said...
Here, look again, with emphasis added. Perhaps I found some random string of data that isn't the correct one? I might have screwed up at the beginning and made the rest of this wrong... :3c

Yes, it isn't. I don't think the table is 0x200000 long.
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
Wait... what?

Alright, let me put all my offsets in one place:
(This is for Emerald, for all onlookers)
The Specials table: 0x1DBA64
The 8Eth slot/pointer (refresh map): 0x1DBC9C
The offset of the other instance of the data that the above points to: 0x3F074F
The offset of the pointer to the second instance of the data: 0x34A995

8E IS FOR FR NOT EM
You go INTO FR and find the 8E slot
Go to that pointer
Copy a line of data
search in EM for that line
if you find ONE match you have the special for EM
Find a pointer TO THAT SPECIAL
subtract that offset from the table offset of EM
divide by 4
subtract by 1
THAT NUMBER is the EM refresh map special2 #
 

Rezordaxx

Asks many questions!
290
Posts
10
Years
Ive fixed my A-text error but now i cant edit the boy or girl box that you can choose or i cant edit that there doesnt comes a nidoran out of the pokeball

how do i do that?
 
36
Posts
10
Years
  • Age 32
  • Seen Jan 2, 2014
Hello! I was wondering, has anyone ever been successful at enabling an HM move without a Badge? I'm trying to enable Surf without a Badge, just using a simple script. Has anyone ever looked into it? Thanks.
 

DrFuji

[I]Heiki Hecchara‌‌[/I]
1,691
Posts
14
Years
Hello! I was wondering, has anyone ever been successful at enabling an HM move without a Badge? I'm trying to enable Surf without a Badge, just using a simple script. Has anyone ever looked into it? Thanks.

When it comes to using moves in the field there are some that are easy to edit and remove the badge requirements (Cut, Rock Smash, Strength) as they require interaction with an actual overworld sprite and have a generic script attached. The other HMs are far more difficult to edit while Surf is notoriously stubborn. So far to my knowledge nobody has been able to get rid of the 5th badge requirement without breaking the game in some way so I'm afraid that you're stuck with it for now.
 
Status
Not open for further replies.
Back
Top