The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Make Mew obey (https://www.pokecommunity.com/showthread.php?t=391207)

Matthatter03 April 11th, 2017 6:35 PM

Make Mew obey
 
I am making mew an available pokemon in my hack, and have noticed it won't obey. With some digging, I discovered there was a setobedience command. My problem is, how do I use it? I give Mew with a givepokemon command, so right after do I just put in setobedience? How do I use the command to make Mew obey. (All badges are obtained at this point)

Uncommon April 11th, 2017 8:05 PM

No script needed for this, it can be solved with a simple hex edit:

Code:

At offset 0x1D402 change hex byte [97] to [00]


I've tested this and it does work. Credit to colcolstyles, I never found any original thread on this topic, so the best I can do is LSA’s rombase post where I found the documentation of the edit.

Matthatter03 April 11th, 2017 8:16 PM

Quote:

Originally Posted by Uncommon (Post 9616225)
No script needed for this, it can be solved with a simple hex edit:

Code:

At offset 0x1D402 change hex byte [97] to [00]


I've tested this and it does work. Credit to colcolstyles, I never found any original thread on this topic, so the best I can do is LSA’s rombase post where I found the documentation of the edit.

At offset 0x1D402, my byte is 49, not 97. In my fire red rom, several bytes have been different from most people's at the same offsets. Should I just change the 49?

Edit: At offset 0x1D416, there is a byte of 97. Should I change this byte instead?

Uncommon April 12th, 2017 5:26 PM

Quote:

Originally Posted by Matthatter03 (Post 9616229)
In my fire red rom, several bytes have been different from most people's at the same offsets.

Make sure you're using the right FireRed ROM. Everybody hacks 1.0, not 1.1. Start up the game and watch when the glittering "GAME FREAK" appears on the screen. If the word "presents" appears below it, you have 1.1. This would cause all the offsets to be different.

Matthatter03 April 12th, 2017 5:32 PM

Quote:

Originally Posted by Uncommon (Post 9616880)
Make sure you're using the right FireRed ROM. Everybody hacks 1.0, not 1.1. Start up the game and watch when the glittering "GAME FREAK" appears on the screen. If the word "presents" appears below it, you have 1.1. This would cause all the offsets to be different.

I got it working by just changing the 97 I found near it, thanks for the help!

Uncommon April 12th, 2017 7:09 PM

Quote:

Originally Posted by Matthatter03 (Post 9616885)
I got it working by just changing the 97 I found near it, thanks for the help!

Glad it helped. You'll still want to check this, though, because if you're on the wrong version it's going to be very difficult for people to help you with future issues and difficult-to-impossible to use patches (since everyone makes them for only 1.0).


All times are GMT -8. The time now is 9:14 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.