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

Notices
For all updates, view the main page.

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.



Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #401    
Old September 26th, 2013 (09:59 AM).
Sliter's Avatar
Sliter
Gaijin Trainer
 
Join Date: Sep 2013
Location: Brazil
Nature: Timid
Send a message via Skype™ to Sliter
I'm with some problens to translate text from platinum, is there any way to export the text files from platinum in separated files for each .bin file in pl_msg.narc ?
getting in .bin with crystal title I couldn't find a way to open/convert them to xml or editable text
With thenewpoketext I can only get all the game text in one file(And it make my oldy pc frooze when I want to open), should be better if I could get them apart, like we can see in some editors like in SDSME or Ds text editor but I can't export/import them from there, there's any way?
Reply With Quote
  #402    
Old October 29th, 2013 (10:43 AM).
KosmoF's Avatar
KosmoF
Diehard Pokemon Fanatic
 
Join Date: Mar 2009
Location: Scotland, United Kingdom
Age: 32
Gender: Female
Nature: Naive
Send a message via Windows Live Messenger to KosmoF Send a message via Yahoo to KosmoF Send a message via Skype™ to KosmoF
Quote originally posted by Darthatron:
So editing the Pokemon that is released by the Professor in the games is easy, and I think possible with some tools. However, the cry does not change. Here are some changes that need to be made to change the cry of this Pokemon.

FireRed:
Code:
0812FB38: 02 48
0812FB42: 30 BD XX XX 00 00
Do I need to use a Hex Editor to locate the above code? I was trying to find it in Hex Workshop but it doesn't find it when I searched; I've never used Hex Editors so I'm not sure if I'm doing something wrong.
__________________
All my love to the staff and other members!

Kos
Pokemon Eevee's Elementals version
Reply With Quote
  #403    
Old October 29th, 2013 (10:47 AM).
Team Fail's Avatar
Team Fail
See that, Aster?
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
Quote originally posted by KosmoF:
Do I need to use a Hex Editor to locate the above code? I was trying to find it in Hex Workshop but it doesn't find it when I searched; I've never used Hex Editors so I'm not sure if I'm doing something wrong.
The "08" represents that it's a hex address, so take the 08 off and you'll be able to find the address.
__________________

You are challenged by Lorekeeper Zinnia!
Pairs | Twitter | Alt | Alt II | PHO
Reply With Quote
  #404    
Old October 29th, 2013 (02:33 PM).
KosmoF's Avatar
KosmoF
Diehard Pokemon Fanatic
 
Join Date: Mar 2009
Location: Scotland, United Kingdom
Age: 32
Gender: Female
Nature: Naive
Send a message via Windows Live Messenger to KosmoF Send a message via Yahoo to KosmoF Send a message via Skype™ to KosmoF
Quote originally posted by Team Fail:
The "08" represents that it's a hex address, so take the 08 off and you'll be able to find the address.
Thanks; I can insert EEVEE's cry now
__________________
All my love to the staff and other members!

Kos
Pokemon Eevee's Elementals version
Reply With Quote
  #405    
Old November 3rd, 2013 (01:01 PM).
GOLDstandard's Avatar
GOLDstandard
GoldStandard
 
Join Date: Jul 2013
Location: California
Gender: Male
Nature: Bold
Does anybody know how LinkandZelda put the snowy weather effect into Liquid Crystal? I've looked, and can't find anybody that knows how. I hope it's just a limiting byte located somewhere that requires just a simple change
__________________
Pokemon is fun
Reply With Quote
  #406    
Old November 3rd, 2013 (01:16 PM).
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by GOLDstandard:
Does anybody know how LinkandZelda put the snowy weather effect into Liquid Crystal? I've looked, and can't find anybody that knows how. I hope it's just a limiting byte located somewhere that requires just a simple change
It's in A-Map, in the header, under weather type....
__________________

Paired with Simba
Reply With Quote
  #407    
Old November 3rd, 2013 (01:33 PM).
GOLDstandard's Avatar
GOLDstandard
GoldStandard
 
Join Date: Jul 2013
Location: California
Gender: Male
Nature: Bold
No, not the constant tiny snowflakes one, the one that has three snowflakes falling. I know how to apply the volcanic ash snow haha. They made it work for longer than three snowflakes which is something I've never seen done.
__________________
Pokemon is fun
Reply With Quote
  #408    
Old November 3rd, 2013 (01:35 PM).
Shiny Quagsire's Avatar
Shiny Quagsire
I like .short's because they're comfy and easy to wear.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 17
Gender: Male
Nature: Jolly
Quote originally posted by GOLDstandard:
No, not the constant tiny snowflakes one, the one that has three snowflakes falling. I know how to apply the volcanic ash snow haha. They made it work for longer than three snowflakes which is something I've never seen done.
I'm pretty sure it's just a limiter, but it could be something a bit more complicated for all we know.
__________________



Reply With Quote
  #409    
Old November 7th, 2013 (12:18 AM).
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Quote originally posted by GOLDstandard:
No, not the constant tiny snowflakes one, the one that has three snowflakes falling. I know how to apply the volcanic ash snow haha. They made it work for longer than three snowflakes which is something I've never seen done.
I haven't used that weather in quite a while (like years) but, if I remember right, the weather is continuous if you walk onto the map from a connection. If I'm remembering, it's the warp that limits it to three snowflakes only.

Actually, scratch that, it seems that walking onto the map makes the snowflakes last a few seconds longer than when warping, but that's it. Also, it looks like the darkening effect of it lasts longer-than-average (well, compared to the other weathers, I guess) when walking onto a map that has regular weather set. But what would make the visual snow effect last longer when walking onto a map than when warping onto it?
Reply With Quote
  #410    
Old November 11th, 2013 (01:27 PM).
Telinc1's Avatar
Telinc1
Pokémon Trainer
 
Join Date: Jun 2013
Gender: Male
Nature: Bold
All right, I've got something here that most of you (a.k.a 90% of you) will find useless. This is actually useful if you are using the second floor of the Pokémon Centre in your hack. I personally am, however I have edited the map to remove the Union Room, as even VBA-Link can't simulate the Wireless Adapter properly. As a result, I have moved the Direct Corner, so when exiting from the Colosseum room/Trade room the little door thing appears in the wrong position. After a bit of searching, I found out that the script ran exactly after the big door closes behind you is at 0x081BB34F. Or, if you're just interested in the setmaptile command, it is at 0x081BC03E. I hope that this is helpful to at least one hacker who isn't me.

Edit: Oh yeah, I forgot to clarify that these are actual scripts that can be edited with XSE.
__________________

Check out my hacks by clicking on the userbar!
Check out my new website!
Reply With Quote
  #411    
Old November 23rd, 2013 (11:29 PM). Edited November 24th, 2013 by kearnseyboy6.
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Here is a little BW script that checks as you ride past the daycare man. Just place it on a script tile (var = 4001):

Spoiler:
#dynamic 0x800000

#org @daycare_tile
lock
special 0xB6
compare 0x800D 0x1
if 0x1 goto @prty_check
release
end

#org @prty_check
countpokemon
compare 0x800D 0x6
if 0x1 goto @quit
msgbox @hey 0x4
closeonkeypress
applymovement 0xFF @up
waitmovement 0x0
setvar 0x4001 0x1
release
end

#org @quit
setvar 0x4001 0x1
release
end

#org @hey
= Heeey [player]!\nCome here!

#org @up
#raw 0x1
#raw 0xFE
__________________
HOLIDAYING CURRENTLY!!
Reply With Quote
  #412    
Old November 26th, 2013 (07:31 PM).
RichterSnipes's Avatar
RichterSnipes
Simpleton
 
Join Date: Oct 2011
Location: USA
Age: 21
Gender: Male
Nature: Modest
The (Un)Used Item Obtained Fanfare
For BPRE v1.0

People who've played FR/LG know that the Level Up fanfare also plays any time you obtain an item (unless specified in a scripted event). The offsets that make that so are at 1A6765 and 1A6769. The former's value is that of the tune that plays whenever the XSE parameters MSG_FIND or MSG_OBTAIN functions are called (also, if one finds a hidden item). The latter value is the same, but only applies if the item is a TM or HM.

Both locations have their bytes as 01 01 in the ROM, which corresponds to song 0x101, the Level Up fanfare. You can change these values to refer to whatever tune you'd like. For the sake of making things feel a bit more correct, let's have the former location use the Item Obtained fanfare (0x102) and the latter location use the TM/HM Obtained fanfare (0x105). For this, change the line of bytes from 1A6763 to 1A676A from

Code:
03 31 01 01 03 31 01 01
to

Code:
03 31 02 01 03 31 05 01
Note that this doesn't apply to events that play tunes that are defined in the scripts themselves, like with XSE's "fanfare" command.
__________________


Who says hacks have to radically changes things up from their base games?
Red doesn't necessarily think so. He's literally spinning in circles thinking of a "definitive" version of his adventure in Kanto!
Want to see what he has in mind? Click him for a throwback worth experiencing!
Reply With Quote
  #413    
Old November 26th, 2013 (10:27 PM).
Shiny Quagsire's Avatar
Shiny Quagsire
I like .short's because they're comfy and easy to wear.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 17
Gender: Male
Nature: Jolly
Quote originally posted by RichterSnipes:
The (Un)Used Item Obtained Fanfare
For BPRE v1.0

People who've played FR/LG know that the Level Up fanfare also plays any time you obtain an item (unless specified in a scripted event). The offsets that make that so are at 1A6765 and 1A6769. The former's value is that of the tune that plays whenever the XSE parameters MSG_FIND or MSG_OBTAIN functions are called (also, if one finds a hidden item). The latter value is the same, but only applies if the item is a TM or HM.

Both locations have their bytes as 01 01 in the ROM, which corresponds to song 0x101, the Level Up fanfare. You can change these values to refer to whatever tune you'd like. For the sake of making things feel a bit more correct, let's have the former location use the Item Obtained fanfare (0x102) and the latter location use the TM/HM Obtained fanfare (0x105). For this, change the line of bytes from 1A6763 to 1A676A from

Code:
03 31 01 01 03 31 01 01
to

Code:
03 31 02 01 03 31 05 01
Note that this doesn't apply to events that play tunes that are defined in the scripts themselves, like with XSE's "fanfare" command.
Nice find, I remember seeing a post a while back that did this via script and I can't help but remember thinking how much better it would be if it were done via ASM.
__________________



Reply With Quote
  #414    
Old December 18th, 2013 (11:06 AM).
Hopeless Masquerade's Avatar
Hopeless Masquerade
山の新人神様
Community Supporter
 
Join Date: Mar 2010
Location: 守矢神社
Age: 17
Gender: Male
Nature: Relaxed
Reusable TMs in Emerald

So I was taking a peek through good old reseach and development today when I saw a cute little post about resuable TMs. You know, making TMs act like HMs. After seeing that it had been found on Ruby and FireRed, I thought, why not find it one Emerald? So I did.

To do this little bad boy, go to 0x1B6EE0 in your Emerald ROM and change the A9 there to 90.
Simple as that!

Here's a tiny little explanation for those wondering.

First, 0x1B6EE0 is this little section of code called when a TM or HM is being used. For simplicity's sake, I'll show what is relevant:

Code:
081B6EE0: 20A9 mov r0, #0xA9
081B6EE2: 0040 lsl r0, r0, #0x1
081B6EE4: 4284 cmp r4, r0
081B6EE6: bhi $081B6EF0
What it does, is first take the number A9, and put it in r0. Then, it takes r0 and left shifts it 1. This is the same as multiplying by 2 (A9 << 1 = A9 * 2 = 152). If one was to look at any item editor, they would see that this is the index of TM50 in Emerald. Then, this new value is compared to r4, which has the index of the TM/HM being used. If this number higher, the game knows that an HM was used, so it goes to the relevant area to keep it.

This is where we come in. What we want the game to think is that all TMs are the same as HMs. So, what we need to do is change the index it looks for into the index for the first TM, rather than the first HM. So looking at the items, TM01's index is 121. Dividing this by 2 gives 90, so that is why we put 90. The only downside to doing this really is that item 120 is included in this check, which doesn't matter because it's not a TM anyway (it's the Devon Goods). So there ya have it!
__________________
Reply With Quote
  #415    
Old December 18th, 2013 (04:41 PM).
Chaos Rush's Avatar
Chaos Rush
im sexy and i know it
 
Join Date: May 2007
Location: Taylor Swift
Gender: Male
Nature: Adamant
I made a script that will allow you to choose how many Pokemon you need to have registered in order to receive a diploma.

Code:
#dynamic 0x800000
//notes
//[buffer1] = the requirement number
//[buffer3] = how many kinds you currently have

#org @main
lock
faceplayer
call @check
msgbox @msg1 MSG_YESNO
compare LASTRESULT 0x0
if 0x1 goto @noyoumaynot
setvar 0x8004 0x0
special2 LASTRESULT 0xD4 //places on var 0x8005 # of Pokemon that you've seen, and on var 0x8006 # of Pokemon that you've caught
buffernumber 0x2 0x8006 //no idea
call @check
compare 0x8006 0xD2 //the second argument should be the amount of Pokemon you're checking for
if 0x0 goto @notmetreq
msgbox @msg4 MSG_KEEPOPEN
waitmsg
pause 0x3C
special 0x187
compare LASTRESULT 0x2
if 0x1 goto @idk
special 0x108
waitstate
release
end

#org @idk
release
end


#org @check
buffernumber 0x0 0xD2 //the second argument should be the amount of Pokemon you're checking for
return

#org @noyoumaynot
msgbox @msg2 MSG_KEEPOPEN
release
end

#org @notmetreq
msgbox @msg3 MSG_KEEPOPEN
release
end

#org @msg1
= Is that right?\pI'm the game designer!\pFilling up your Pokédex is tough,\nbut don't quit!\pMay I check your Pokédex now?

#org @msg2
= No? Well alright then.\pBut if you fill it out completely,\nplease show me!

#org @msg3
= So you've recorded data on [buffer3]\ndifferent Pokémon species[.]\pBut there are more in the Kanto\nregion! I'm sure of it!\pCome show me again when you've\nfound more!

#org @msg4
= So you've recorded data on [buffer3]\ndifferent Pokémon species[.]\pWow! Excellent!\pYou completed your Pokédex!\nCongratulations!\l[.]
You'll notice that for every time I made a comment saying:
Quote:
//the second argument should be the amount of Pokemon you're checking for
,
my second argument is 0xD2.
0xD2 is hex for 210, which is the amount of Pokemon in my hack's Pokedex.

So say, if your hack had a Pokedex of 251 Pokemon, then you would put the number 0xFB instead. The game will then check if you have that many Pokemon registered in your Pokedex, and if the number matches, it will reward you with a diploma.

For some reason it only shows the National Dex diploma which could be a problem if your hack as a regional dex AND a national dex, but it could be solved simply by altering the tilemap. There's also a hack to have it display any image+text combo you want so it's really not a problem.
__________________
Reply With Quote
  #416    
Old December 20th, 2013 (08:47 PM).
Chaos Rush's Avatar
Chaos Rush
im sexy and i know it
 
Join Date: May 2007
Location: Taylor Swift
Gender: Male
Nature: Adamant
In FireRed, 0x0807F938 controls what level the ghost Marowak battle is. The script on the map doesn't actually determine the level even though it may look like it - if you modify the wildbattle command in the script to a different level, the Ghost/Marowak will still be Lv30 no matter what you do. To change the level, you have to change the byte at 0x0807F938, which is part of the routine that controls the ghost battle.



The offset for the whole routine is 0x0807F904.
__________________
Reply With Quote
  #417    
Old December 22nd, 2013 (12:19 PM). Edited December 22nd, 2013 by DoesntKnowHowToPlay.
DoesntKnowHowToPlay's Avatar
DoesntKnowHowToPlay
some loser
 
Join Date: Jan 2012
The Pickup table in FR is at x250848. Each entry is four bytes- the first two are the index number of an item, the latter two are the odds of the item being obtained plus the value for the previous item.

For example, to interpret the vanilla FR table:

8B 00 0F 00 = 15% (xF = 15) chance of Oran Berry (item x8B)
85 00 19 00 = 10% (x19 - x0F = xA, 10) chance of Cheri Berry (item x85)
86 00 23 00 = 10% (x23 - x19 = xA, 10) chance of Chesto Berry (item x86)
87 00 2D 00 = 10% (x2D - x23 = xA, 10) chance of Cheri Berry (item x87)
88 00 37 00 = 10% (x37 - x2D = xA, 10) chance of Rawst Berry (item x88)
89 00 41 00 = 10% (x41 - x37 = xA, 10) chance of Aspear Berry (item x89)
8C 00 4B 00 = 10% (x4B - x41 = xA, 10) chance of Persim Berry (item x8C)
2A 01 50 00 = 5% (x50 - x4B = x5) chance of TM10 (item x12A)
45 00 55 00 = 5% (x55 - x50 = x5) chance of PP Up (item x45)

...etc. The code responsible for reading this table (and checking if you have pickup, and rolling to see if it even activates at all) starts at x2ce48 (which is also battle script command xE5).
__________________

Yet Another Fire Red Hack

Physical/Special Split
Reply With Quote
  #418    
Old December 24th, 2013 (08:04 PM). Edited December 25th, 2013 by Deokishisu.
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Quote originally posted by itari:
Reusable TMs in Emerald

So I was taking a peek through good old reseach and development today when I saw a cute little post about resuable TMs. You know, making TMs act like HMs. After seeing that it had been found on Ruby and FireRed, I thought, why not find it one Emerald? So I did.

To do this little bad boy, go to 0x1B6EE0 in your Emerald ROM and change the A9 there to 90.
Simple as that!

Here's a tiny little explanation for those wondering.

First, 0x1B6EE0 is this little section of code called when a TM or HM is being used. For simplicity's sake, I'll show what is relevant:

Code:
081B6EE0: 20A9 mov r0, #0xA9
081B6EE2: 0040 lsl r0, r0, #0x1
081B6EE4: 4284 cmp r4, r0
081B6EE6: bhi $081B6EF0
What it does, is first take the number A9, and put it in r0. Then, it takes r0 and left shifts it 1. This is the same as multiplying by 2 (A9 << 1 = A9 * 2 = 152). If one was to look at any item editor, they would see that this is the index of TM50 in Emerald. Then, this new value is compared to r4, which has the index of the TM/HM being used. If this number higher, the game knows that an HM was used, so it goes to the relevant area to keep it.

This is where we come in. What we want the game to think is that all TMs are the same as HMs. So, what we need to do is change the index it looks for into the index for the first TM, rather than the first HM. So looking at the items, TM01's index is 121. Dividing this by 2 gives 90, so that is why we put 90. The only downside to doing this really is that item 120 is included in this check, which doesn't matter because it's not a TM anyway (it's the Devon Goods). So there ya have it!
This may make the TMs reusable, but what about the PP issue? If you can repeatedly use a TM, you can refresh the PP of the move. Like, if I'm mid-Elite Four and have zero PP on Flamethrower, I can use the Flamethrower TM, overwrite the existing Flamethrower move on my Pokemon, and its PP is restored. The true B/W and up functionality will require more code to fix this.

EDIT: I missed a step in restoring PP. Inserting it in the example above, I'd replace the used up PP Flamethrower with another TM move, then I would relearn Flamethrower from the TM again, thus restoring the PP. There has to be another TM move as a middleman.
Reply With Quote
  #419    
Old December 31st, 2013 (08:13 PM). Edited January 11th, 2014 by Le pug.
Le pug's Avatar
Le pug
Creator of Pokémon: Discovery
Community Supporter
 
Join Date: Aug 2013
Location: Le bed
Age: 22
Gender: Male
Nature: Bold
Here is some more research on the emerald specials. Might update in the future. This is an extension to the research provided by droomph at THIS LINK

Emerald specials:
Spoiler:
0xD0 - safari special, adds # of balls and Retire to menu
0xD3 - opens pokeblock case
0xDE - brings up TM page (able or not able)
0xDF - brings up summary page for Buffer1
0xF2 - puts last pokemon in party to sleep
0xF8 - brings up some beauty contest entry in pkmn menu
0xFB - clears all pokemon from party FOR GOOD

**Ace_Master_of_Turtles aka acertony also helped in the above research**

0x101 - "Kobe sends over Dots" you trade buffer1 for a poochyena
0x106 - brings up Berry Blender Max speed record.. doesnt go away until warp
0x111 - fades screen to black except for the SS Anne sprite which is dead center
0x112 - resets the game
0x113 - hall of fame
0x114 - elevator animation and sound effects
0x11C - GOURDON red orb effect
__________________



Check out some of my contributions:
• Check out my easy tile insertion tutorial, Inserting Tiles Into AdvanceMap For Dummies
Click here to find out how to remove clouds from the Emerald titlescreen
• Check out the most updated Emereld Decapitalization Patch around by clicking here
• Need help fixing a gross bug in your hack? Let me show you how by clicking here



Click here to view the PC thread of Pokémon: Discovery.
Click here to view the PC thread of Pokémon: Fat Kid.

Pokétch ROM Hacking Community Discovery Twitter Discovery FB IRC Chat
Reply With Quote
  #420    
Old January 1st, 2014 (10:48 AM).
Tlachtli's Avatar
Tlachtli
Crit happens.
 
Join Date: Jan 2012
Location: Faraway place
Age: 24
Gender: Male
Nature: Modest
Not exactly R&D, but a useful image I found:
In Emerald BPEE, the uncompressed type images used for TMs/HMs (different from the ones used on the Poke info page) are found at 0xDC4378 and use the palette at 0xDC4338.

Potentially useful if you're adding new types to a hack and want to make TMs with moves of those types. The Power/Type/PP images are on there too, if you want to change how those look.
Attached Images
File Type: png DC4378 (DC4338).png‎ (2.8 KB, 44 views) (Save to Dropbox)
__________________
Pokemon Sigma Σmerald:

A Gen 3 remake de-make, (soon to be) featuring many Gen VI mechanics
Reply With Quote
  #421    
Old January 5th, 2014 (04:31 PM). Edited September 16th, 2014 by DoesntKnowHowToPlay.
DoesntKnowHowToPlay's Avatar
DoesntKnowHowToPlay
some loser
 
Join Date: Jan 2012
Ditto's unique ability to breed with everything despite being genderless is a property of its egg group, but it won't actually produce the right eggs if you give something outside of slot x84 the Ditto egg group- you'll just get a bunch of Bulbasaur if there's no female involved. To fix this, change the byte at x4602A from x84 to the slot you want to behave like Ditto.

While I'm pointing out breeding quirks that are of no use to anyone:

An egg that would hatch as the byte at x46068 (normally x1D, female nidoran) has a 50% chance to instead hatch as the byte at x4607E (normally x20, male nidoran).

Furthermore, an egg that would normally hatch as the word at x460d0 (normally x183, Illumise) has a 50% chance of hatching as twice the byte at x46096 (normally xC1, half of Volbeat's index number).

Volbeat and male Nidoran family members do not produce their female counterparts when breeding with Ditto in Gen 3.

There's a second Ditto check at x460A2- this one doesn't affect the child's species but it probably is important for inheritance.

If an egg would hatch to be double the byte at x45fa8 (xB4, half of Wynaut's index number) and a parent is not holding the item at x45fd8 and x45fdc (xDD, Lax Incense), the baby will become the byte at x45fe0 (xCA, Wobbuffet).

If an egg would hatch to be double the byte at x45fb0 (xAF, half of Azurill's index number) and a parent is not holding the item at x45fee and x45ff2 (xDC, Sea Incense), the baby will become the byte at x45ff6 (xB7, Marill).

Azurill's index number is constructed a second time at x45fe6- I'm not exactly sure *why* it's needed but if the baby's index number doesn't match it the game won't consider changing it to a Marill.
__________________

Yet Another Fire Red Hack

Physical/Special Split
Reply With Quote
  #422    
Old January 6th, 2014 (01:59 PM).
GoGoJJTech's Avatar
GoGoJJTech
http://GoGoJJTech.com (WIP!)
Community Supporter
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Male
Nature: Quiet
Quote originally posted by Le pug:
Here is some more research on the emerald specials. Might update in the future. This is an extension to the research provided by droomph at THIS LINK

Emerald specials:
Spoiler:
0xD0 - safari special, adds # of balls and Retire to menu
0xD3 - opens pokeblock case
0xDE - brings up TM page (able or not able)
0xDF - brings up summary page for Buffer1
0xF2 - puts last pokemon in party to sleep
0xF8 - brings up some beauty contest entry in pkmn menu
0xFB - clears all pokemon from party FOR GOOD

0x101 - "Kobe sends over Dots" you trade buffer1 for a poochyena
0x106 - brings up Berry Blender Max speed record.. doesnt go away until warp
0x111 - fades screen to black except for the SS Anne sprite which is dead center
0x112 - resets the game
0x113 - hall of fame
0x114 - elevator animation and sound effects
0x11C - gourdon red orb effect



**Ace_Master_of_Turtles aka acertony also helped in this research
1: You misspelled Groudon :D
2: I don't think special 0xFB clears all pokemon for good. FR has a similar one, but it updates your party then clears it, so it IS retrievable. You just need to find another special that can restore it. This is probably used in the battle factory, so you may need to go through that script and see when your party comes back. Just a suggestion as it may not be a complete delete.
__________________
Reply With Quote
  #423    
Old January 6th, 2014 (02:12 PM).
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by gogojjtech:
1: You misspelled Groudon :D
2: I don't think special 0xFB clears all pokemon for good. FR has a similar one, but it updates your party then clears it, so it IS retrievable. You just need to find another special that can restore it. This is probably used in the battle factory, so you may need to go through that script and see when your party comes back. Just a suggestion as it may not be a complete delete.
There is a litteral special in all games that does clear the party. All it does is overwrite the party's ram offset with 00s. The specials you are talking about are actually used to save and load the game.
__________________

Paired with Simba
Reply With Quote
  #424    
Old January 8th, 2014 (12:41 PM).
GoGoJJTech's Avatar
GoGoJJTech
http://GoGoJJTech.com (WIP!)
Community Supporter
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Male
Nature: Quiet
Quote originally posted by karatekid552:
There is a litteral special in all games that does clear the party. All it does is overwrite the party's ram offset with 00s. The specials you are talking about are actually used to save and load the game.
Hmm
This can be used for the battle factory too
*ponders*
__________________
Reply With Quote
  #425    
Old January 11th, 2014 (06:34 PM). Edited January 11th, 2014 by Le pug.
Le pug's Avatar
Le pug
Creator of Pokémon: Discovery
Community Supporter
 
Join Date: Aug 2013
Location: Le bed
Age: 22
Gender: Male
Nature: Bold
Quote originally posted by gogojjtech:
Hmm
This can be used for the battle factory too
*ponders*
well if there is a special for it to return, then yes i am wrong and that'd be good to mention however i use that special in my hack of emerald and since i've used it my old party is gone and i have a new one and it works fine as a complete erase of the party

and yes lol i did spell Gourdon wrong

Quote originally posted by Le pug:
Here is some more research on the emerald specials. Might update in the future. This is an extension to the research provided by droomph at THIS LINK

Emerald specials:
Spoiler:
0xD0 - safari special, adds # of balls and Retire to menu
0xD3 - opens pokeblock case
0xDE - brings up TM page (able or not able)
0xDF - brings up summary page for Buffer1
0xF2 - puts last pokemon in party to sleep
0xF8 - brings up some beauty contest entry in pkmn menu
0xFB - clears all pokemon from party FOR GOOD

**Ace_Master_of_Turtles aka acertony also helped in the above research**

0x101 - "Kobe sends over Dots" you trade buffer1 for a poochyena
0x106 - brings up Berry Blender Max speed record.. doesnt go away until warp
0x111 - fades screen to black except for the SS Anne sprite which is dead center
0x112 - resets the game
0x113 - hall of fame
0x114 - elevator animation and sound effects
0x11C - GOURDON red orb effect

Some more special research for emerald:

Spoiler:
0x12E - not sure, but clicking once will do a sound warp to blackness but if you continuously click on the script it'll warp you to map 0.0 in the center location (X,Y)
0x8 - takes you to a secret base with a guy in it. Can warp back to original position.
0x9 - warps you to warp 0 on map 0.0
0xA - same as 0x9
0xD - deletes everything on your computer. Nah, jk. Idk what it does
0xE - brings up menu "Decorate, Put Away, Toss, Cancel"
0xF - message "There is no registry" then brings up menu "Decorate, Pack Up, Cancel"
0x18 - teleports you to X1, Y3 of the current map
0x1A - PC shut off sound and tile is set to something else
0x1B - "Please Wait ... ... B Button: Cancel Mixing Records..." followed by twinkling sound and the Mixing Records textbox doesn't go away. Kind of cool though cus you walk around with the message box up and if you go to a new location, it moves up and down with the sign in the top left corner telling you where you are.
0x1D - locks player in place (aka lock command)
0x1E - unlocks player in place (aka release command)
0x21 - "Please Wait ... ... B Button: Cancel" then battle with a level 4 Poochyena ... maybe saving the professor? Anyways, it'll save your progress then give you a communication error. epic troll special.
0x22 - "Please Wait ... ... B Button: Cancel" then message pops up after fade out saying "Communication standby ... please wait" then communication error
0x24 - brings up player info and Would you like to save? message. without a lock in your script, you can walk around with the message up.
0x27 - voodoo ritual where clones of you appear in a circle staring at each other.. usually one of them has a palette error
0x29 - deletes all pokemon in party unless its storing it to be retrieved by some variable or special
0x30 - turns all hidden sprites into soil sprite (sprite #60)
0x3A - same as #raw 0x56 aka it pops up a ! emote box above the player's head



__________________



Check out some of my contributions:
• Check out my easy tile insertion tutorial, Inserting Tiles Into AdvanceMap For Dummies
Click here to find out how to remove clouds from the Emerald titlescreen
• Check out the most updated Emereld Decapitalization Patch around by clicking here
• Need help fixing a gross bug in your hack? Let me show you how by clicking here



Click here to view the PC thread of Pokémon: Discovery.
Click here to view the PC thread of Pokémon: Fat Kid.

Pokétch ROM Hacking Community Discovery Twitter Discovery FB IRC Chat
Reply With Quote
Reply
Quick Reply

Sponsored Links
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 05:45 PM.