The PokéCommunity

We are still working on a better slogan!

Visit Index

Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development

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!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Post Reply
Thread Tools
Old February 4th, 2012, 05:13 AM
itari's Avatar
Community Supporter
Join Date: Mar 2010
Location: 紅魔館
Age: 17
Gender: Female
Nature: Relaxed
Tournaments Joined: 0
Tournaments Won: 0

Advertise here
Originally Posted by DealNotTheDevil View Post
Hi, I wanted to check if one can create a new behavioural byte for pokemon emerald,
Because I am attempting to create a "super region",
And I want kanto maps that I port into Emerald to play kanto battle themes and wild encounter themes when I am on those maps!
Yes, you can, if you know ASM...

Anyways, to enable this for LeafGreen, it is the exact same thing as FireRed. Offsets and everything. :D
Old July 20th, 2012, 10:20 PM
Unhatched Egg
Join Date: Nov 2010
Gender: Male
Nature: Calm
Tournaments Joined: 0
Tournaments Won: 0
Originally Posted by Hackrex View Post
ok for all who didn´t understand it: The Offset you can see on the top are written in ASM.

So the most people don´t know where they can find it in there Hex Viewer....

So here is the "Hex" Offset:
059F34 for firered english
059F34 for firered german (feuerrot) - it´s really rare that the german rom has the same offset than the English

this is the hex code you have to use
00 21 00 06 00 0e 02 28 01 d0 d1 28 01 d1 01 20 00 e0 00 20 00 21 70 47 03 28 f5 e7

here you can see that it works

I have a question: How can I make that I can´t drive with the bike over the really tall grass block?
I've changed the hex code for that offset but nothing is happening.
Old July 22nd, 2012, 02:44 AM
Unhatched Egg
Join Date: Aug 2007
Tournaments Joined: 0
Tournaments Won: 0
You must change the behaviour bytes on the block on which you want to use the animation.
In Advance Map:
Normal Gras:
02 02
00 01
Tall Gras:
03 03
00 01
Temporarily not available
Old April 14th, 2013, 05:54 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
Join Date: Nov 2007
Location: UK
Tournaments Joined: 0
Tournaments Won: 0
Send a message via Skype™ to Spherical Ice
The pointers to the frames of animation that appear when you walk in the Ash Grass is located at 0x83A54A0.

28 89 39 08 80 00 00 00
A8 89 39 08 80 00 00 00
28 8A 39 08 80 00 00 00
A8 8A 39 08 80 00 00 00
28 8B 39 08 80 00 00 00
Frame 1: 0x8398928
Frame 2: 0x83989A8
Frame 3: 0x8398A28
Frame 4: 0x8398AA8
Frame 5: 0x8398B28

You can change those pointers to a different sprite to change the animation, which could lead to some interesting gym puzzles or terrain (snow, perhaps?). It uses the palette located at 0x8398FC8, which is pointed to by 0x83A5348 for FireRed.

Last edited by Spherical Ice; 1 Day Ago at 06:15 AM. Reason: found info re: palette
Old February 3rd, 2014, 01:08 PM
Join Date: May 2008
Tournaments Joined: 0
Tournaments Won: 0
I've been looking for the address of the tall grass routine in Ruby, so I can change it to behave more like the normal grass (it normally makes the player's body priority 3 behind pri 2 graphics, whereas normal grass leaves the player and the animation at pri 2). Would I be able to search for some of those lines of code in the first post to find the routine? What program might I need to find the ASM code?
Old August 5th, 2014, 09:14 AM
knizz's Avatar
Join Date: Aug 2007
Tournaments Joined: 0
Tournaments Won: 0
I extended the opening post by information about how to backport the micro grass too. Overwrite at 0805A0EC with 0C 30 09 E0. Then assign the behaviour byte 7 to some tile.
Hope you enjoy.
Firered IDA 6.1 DB:
VBA-M with lua scripting support (no longer in development)
Old August 6th, 2014, 05:01 PM
Tyroz's Avatar
In tenebris est et in nobis.
Join Date: Nov 2013
Location: Colorado
Gender: Male
Nature: Bold
Tournaments Joined: 0
Tournaments Won: 0
Kniz has helped so much with my questions, and even added in the correct Hex Edit for not only adding in the Tall Grass Animation, but ALSO the tiny grass animation; WHich by the way is hard to see unless you really look at the players feet.

This is such an amazing concept and it helped me. I did check the rules, and Hashtag did say:
Originally Posted by Hashtag
The revival limit does not apply in this forum
So...I would like to bump this thread and see what others have to say 3 years later.
Old August 21st, 2014, 12:09 AM
Cloudfury's Avatar
Join Date: Jul 2012
Location: wtf no u stalker
Age: 15
Gender: Female
Nature: Quiet
Tournaments Joined: 0
Tournaments Won: 0
How do I search for the numbers in a hex editor? I'm using HxD. Tried copy pasting into the search and doesn't find it. Even offsets won't work.

I support
-Pokemon Sweet version
-Pokemon Glazed
-Sovereign of the Skies
Useful hack tutorials I use
-Voicegroups for Inserting Music (Firered)
-Custom Battle Backgrounds(Firered)
-Custom 256/240 color Titlescreen (Firered)
-Animated Tiles
-Overworld insert/size change
Old 2 Days Ago, 01:51 AM
LanceKoijer of Pokemon_Addicts
Join Date: Aug 2014
Location: Criscanto town-Ginoa Region xD
Gender: Male
Nature: Adamant
Tournaments Joined: 0
Tournaments Won: 0
Sorry for being noob

But, does this tutorial works in FR US?
Old 2 Days Ago, 10:06 AM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Tournaments Joined: 0
Tournaments Won: 0
Originally Posted by Lance32497 View Post
Sorry for being noob

But, does this tutorial works in FR US?
Most ASM research is FR US only, mostly because it's easier to research one ROM rather than a whole bunch of ROMs.

Post Reply
Quick Reply

Sponsored Links

Advertise here
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
Minimum Characters Per Post: 25

All times are UTC -8. The time now is 09:27 PM.

About Us
© 2002 - 2014 The PokéCommunity™, 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 - 2014 The PokéCommunity / Poké 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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.