The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Emulation & ROM Hacking The center for the community emulation scene. Come and discuss all things emulation and develop your own hacks!



Reply
Thread Tools
  Click here to go to the next staff post in this thread.   #19126  
Unread July 28th, 2011, 07:21 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Lyzo View Post
Waaait, so:
Code:
ldr r0, pokemon_data
loads the address of pokemon_data into r0 and not the actual level bit?
"ldr r0, pokemon_data" loads some address, in this case 0x020242d8, into r0. "ldrb r1, [r0]" loads the byte that is stored at whatever address is in r0 and puts it in r1. Finally, "strb r1, [r0]" takes the contents of r1 and puts it at whatever address is stored in r0 (which is still the address of the level byte). So, that routine loads a byte from the RAM, modifies it a little, and then puts it back where it got it from, overwriting what used to be there.
__________________

Brother of Vrai
Reply With Quote
  #19127  
Unread July 28th, 2011, 07:45 PM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Alright, that's what I did not get from the tutorial. I didn't really understand the difference between ldr str and ldrb and strb. But now I do, thanks so much :D
__________________


Thank you The Blueprint !!!
Reply With Quote
  #19128  
Unread July 29th, 2011, 01:58 AM
ZangoMango's Avatar
ZangoMango
Beginning Trainer
 
Join Date: Jul 2011
Gender: Male
Nature: Impish
Does anyone know how to change the Pokemon's small sprite? The ones that look like this?
Reply With Quote
  #19129  
Unread July 29th, 2011, 02:24 AM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Quote:
Originally Posted by ZangoMango View Post
Does anyone know how to change the Pokemon's small sprite? The ones that look like this?
Wichu has made a tool for editing Pokemon Icons

Here's a link
__________________


Thank you The Blueprint !!!
Reply With Quote
  #19130  
Unread July 29th, 2011, 10:59 AM
Posiden's Avatar
Posiden
Togepi
 
Join Date: Jul 2011
Gender: Male
I've inserted a bitmap sprite in the place of Torchic on Ruby, and it works fine when you battle against it but when you use it in battle (i.e. see its backsprite) or see it in the pokedex, the game freezes or restarts just before you would see the sprite. I used nameless sprite editor to insert the image. Does anyone know what the problem could be?
Reply With Quote
  #19131  
Unread July 29th, 2011, 01:24 PM
EdensElite's Avatar
EdensElite
No0b, but getting there.
 
Join Date: Jun 2011
Location: UK
Gender: Male
Nature: Bold
Hey, I have a few questions. How do I edit the main trainers sprite. I've indexed the file, and then I replace it in UnLz, but it looks messed up so I tried to change the palette in APE, but It said not to, the reason is because when I clicked ignore the game now freezes and goes black when I click the trainer card?? I was thinking that I should insert the sprite into a empty slot and then repoint the offset so the game uses that trainer, but i'm a complete newb, so how would you do that?


Also, I've looked over mapping and it's seem very annoying as when I say change one part of grass, loads of it changes all through the world, when I only want that spot. Is there any way to only change the one spot...?
__________________

ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

That means it will be playable in the browser, and across multiple devices such as the iPod touch.
Reply With Quote
  #19132  
Unread July 29th, 2011, 08:10 PM
Cheesewig's Avatar
Cheesewig
Hi!
 
Join Date: Jul 2011
Gender: Male
Nature: Relaxed
In Pokémon Gold can you use the RAM Map in PKSV-UI
__________________
My name is Aochider I was called . Dr. PET was loved and esteemed by us all!
Reply With Quote
  #19133  
Unread July 29th, 2011, 08:45 PM
PokemonPurple's Avatar
PokemonPurple
Beginning Trainer
 
Join Date: Jul 2011
Pokemon Emerald 1.0
Advance Map
XSE
---

Does anyone know Bagon and Trapinch's hexadecimal number?

Oh, and could I make a title screen in Adobe/Macromedia Fireworks and somehow send it into unLz.gba to use as my titlescreen? I need the titlescreen number too for unLZ.gba unless there's another way I could edit the titlescreen.
__________________
Pokemon Purple: 10% Done ||||||||||
Dream Team -
Click Here for Pokemon: Purple Website!
Reply With Quote
  #19134  
Unread July 29th, 2011, 08:55 PM
Sawakita's Avatar
Sawakita
Not Invented Here
 
Join Date: May 2010
Gender: Male
Quote:
Originally Posted by Cheesewig View Post
In Pokémon Gold can you use the RAM Map in PKSV-UI
If you can't find a way to word your question in an understandable form you are going to have a hard time in getting any answer.

Quote:
Originally Posted by PokemonPurple View Post
Does anyone know Bagon and Trapinch's hexadecimal number?
Check this link; these are decimal but you can use windows calculator to convert them in hexadecimal format.
__________________



| 1st Gen Hacking: Useful Links | A good example of REAL ROM Hacking |
Reply With Quote
  Click here to go to the next staff post in this thread.   #19135  
Unread July 29th, 2011, 09:02 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by PokemonPurple View Post
Does anyone know Bagon and Trapinch's hexadecimal number?
Quote:
Originally Posted by Sawakita View Post
Check this link; these are decimal but you can use windows calculator to convert them in hexadecimal format.
And if you don't know how to do that, XSE comes with a file called "stdpoke.rbh" which contains the hexadecimal numbers for every pokémon from the first three generations.
__________________

Brother of Vrai
Reply With Quote
  #19136  
Unread July 29th, 2011, 09:02 PM
borisjo's Avatar
borisjo
Scripter (XSE, pokescript)
 
Join Date: Mar 2011
Gender: Male
Quote:
Originally Posted by PokemonPurple View Post
Pokemon Emerald 1.0
Advance Map
XSE
---

Does anyone know Bagon and Trapinch's hexadecimal number?

Oh, and could I make a title screen in Adobe/Macromedia Fireworks and somehow send it into unLz.gba to use as my titlescreen? I need the titlescreen number too for unLZ.gba unless there's another way I could edit the titlescreen.
Decimal counts from 0 till 9 and hex counts from 0 till F ( 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F)

Bagon's number is 371 what makes 0x173 (funny it's the opposite)
Trapinch's number is 328 what makes 0x148

You CAN edit the title screen, the only way I know is with one of the tools from HackMew (I guess, sorry I'm not sure 'cus i deleted it O.O)
And maybe you can edit it all but than you need to hex edit it and I don't think you're going to that since you asked for the hex codes I say: GOOD LUCK! =D

P.s: You can also use RMXP but I don't know this programm, never got interested in it.
Reply With Quote
  #19137  
Unread July 29th, 2011, 11:30 PM
PokemonPurple's Avatar
PokemonPurple
Beginning Trainer
 
Join Date: Jul 2011
Thanks for the help guys, but i'm still unclear on the titlescreen editing, I want it to be completley custom, like I just want to edit the title and background. Can I use Fireworks to do this?

Oh, and does anyone have a flag list for Emerald? Cause i'm new to using flags and I dunno what flag means what. Thanks!
__________________
Pokemon Purple: 10% Done ||||||||||
Dream Team -
Click Here for Pokemon: Purple Website!

Last edited by PokemonPurple; July 30th, 2011 at 12:10 AM. Reason: Your double post has been automatically merged.
Reply With Quote
  #19138  
Unread July 30th, 2011, 01:02 AM
SonicBlazePlatinum's Avatar
SonicBlazePlatinum
What's up doc?
 
Join Date: Oct 2007
Location: Indiana, USA
Age: 17
Gender: Male
Nature: Relaxed
I want to know how to decapitalize Pokemon, move names, and item names for Fire Red and Emerald, how do I do that? Also for Fire Red when you get the Pokedex I want it to be in National Dex form when you first obtain it, how do I do that?
__________________






Pokemon WARPED: Fixed Beta 3, to be available when I ask permission from Magneto20 or the other guy to fix it. Farfetch'd! Septo Conquest Deluxe is on hold until WARPED is finished to be more awesoming.

Also coming soon is Pokemon Summer, Autumn, Winter, and Spring. Also to be known as the Pokemon Seasons Quadrilogy, Pokemon Spring coming soon first!
Reply With Quote
  #19139  
Unread July 30th, 2011, 01:51 AM
Arcticblast's Avatar
Arcticblast
Beginning Trainer
 
Join Date: May 2011
Gender: Male
Quote:
Originally Posted by SonicBlazePlatinum View Post
I want to know how to decapitalize Pokemon, move names, and item names for Fire Red and Emerald, how do I do that? Also for Fire Red when you get the Pokedex I want it to be in National Dex form when you first obtain it, how do I do that?
1) To decapitalize, you have to download a script editor, move editor, Pokemon editor, etc. and manually decapitalize everything. I don't think there's an easier way.
2) It involves flags. I believe the flag for the National Dex (and how to get it to work) is in the XSE tutorial in the Tutorials section here. (I'd explain more but I'm not exactly good at this stuff...)
__________________
Working on a FireRed hack. It's probably going to be a piece of crap, but whatever.

Hey, everybody, join Riot Act Forums for metal/punk discussion. ...please? We're trying to revive a dead forum... ._.
Reply With Quote
  #19140  
Unread July 30th, 2011, 01:52 AM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Quote:
Originally Posted by SonicBlazePlatinum View Post
I want to know how to decapitalize Pokemon, move names, and item names for Fire Red and Emerald, how do I do that? Also for Fire Red when you get the Pokedex I want it to be in National Dex form when you first obtain it, how do I do that?
There was a ROM Base that had all the names decapitilized, I think it was wichu that made it? I dunno, use the search function

You can activate the national dex by using the special 0x16F once the player has the pokedex
__________________


Thank you The Blueprint !!!

Last edited by Lyzo; July 30th, 2011 at 01:59 AM.
Reply With Quote
  #19141  
Unread July 30th, 2011, 02:00 AM
Cherrysa23
Beginning Trainer
 
Join Date: Apr 2009
Gender:
hi!

I have a simple question...

I'm used to hacking (with nes), I mean the command... so I can change intelligence and things like that...

but for games I hacked, pointers were always given... I wondered, if I have something, for example, the pokedex, the list of hex code which tell the order of the pokemon in the pokedex, how can I find the pointer?

are there tutorial about it?

and I found the pokedex by logic... but if I hadn't is there a easy way to find such datas? I just search for number of two bytes in the order of the pokedex and found it...

thx for reading me
Reply With Quote
  #19142  
Unread July 30th, 2011, 02:04 AM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Quote:
Originally Posted by Cherrysa23 View Post
hi!

I have a simple question...

I'm used to hacking (with nes), I mean the command... so I can change intelligence and things like that...

but for games I hacked, pointers were always given... I wondered, if I have something, for example, the pokedex, the list of hex code which tell the order of the pokemon in the pokedex, how can I find the pointer?

are there tutorial about it?

and I found the pokedex by logic... but if I hadn't is there a easy way to find such datas? I just search for number of two bytes in the order of the pokedex and found it...

thx for reading me
Alright I think you should do some reading in the tutorials section. Because unlike NES hacking we have a whole bunch of tools here ready for use and rarely do any real hex editing. So take a look around in the tutorial and toolbox sections. If you have any questions, feel free to ask them here
__________________


Thank you The Blueprint !!!
Reply With Quote
  #19143  
Unread July 30th, 2011, 02:16 AM
Cherrysa23
Beginning Trainer
 
Join Date: Apr 2009
Gender:
thx a lot for ansering.

I know and use lots of those tools, but the reason I'm asking, is because I want to expand the bank ok pokemon too to have more. so I would need to have my pointers to points somewhere, and that is why I need to find them. For this, I don't know of any tools...
Reply With Quote
  #19144  
Unread July 30th, 2011, 02:28 AM
ZangoMango's Avatar
ZangoMango
Beginning Trainer
 
Join Date: Jul 2011
Gender: Male
Nature: Impish
OK guys, so I want a character to flat out disappear after I talk to them. No fade to black, just *poof*, like a cupcake in front of a Snorlax. What's the script for, or how do I go about, doing that? And thanks for the previous answer, Lyzo!
Reply With Quote
  #19145  
Unread July 30th, 2011, 02:56 AM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Quote:
Originally Posted by ZangoMango View Post
OK guys, so I want a character to flat out disappear after I talk to them. No fade to black, just *poof*, like a cupcake in front of a Snorlax. What's the script for, or how do I go about, doing that? And thanks for the previous answer, Lyzo!
There's two ways you can do that

One's better than the other. One is using applymovement and one of the applymovements makes the character dissappear. <- not good one.

THe other is using hidesprite 0xEventNumber

For more info on it: http://www.pokecommunity.com/showthread.php?t=164276

that's diego's tutorial on scripting, search 'hidesprite' and go down till you have the part on hidesprite and showsprite.

If you want to make the character dissapear forever, also set a flag and put that in the event properties in advance map

Always glad to help
__________________


Thank you The Blueprint !!!
Reply With Quote
  #19146  
Unread July 30th, 2011, 05:18 AM
ZangoMango's Avatar
ZangoMango
Beginning Trainer
 
Join Date: Jul 2011
Gender: Male
Nature: Impish
Alright, well two questions about that. First, when I try to insert hidesprite into this certain person's script (some guy in Viridian City), it says that "hidesprite" is an unknown command. And second, how do I find out the event number of this guy so that he in specific disappears? Thanks!

Oh and also a different question if you get the chance.. I tried to make a person give the player a Pokemon by assigning the script to a free hex value via PokeScript, but when I assigned the script's new hex value to the person in Advance-Map, the person's script became the following:
Spoiler:
#org 0x8801000
'-----------------------------------
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
'Decompiler stopped due to failsafe mechanism (too many #RAW 0xFF commands)


When it should have looked like
Spoiler:
#org $script
lock
faceplayer
message $question
$question 1 = Accept the POK\eMON?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
boxset 6
release
end

#org $yes
message $yes1
$yes1 1 = \v\h01 got SPEAROW!
boxset 6
givepokemon 21 7 0X7D
release
end

Any idea why? Thanks again.

Last edited by ZangoMango; July 30th, 2011 at 05:33 AM.
Reply With Quote
  #19147  
Unread July 30th, 2011, 06:07 AM
Lyzo's Avatar
Lyzo
On vacation
 
Join Date: Mar 2007
Location: The Netherlands
Age: 18
Gender: Male
Nature: Bold
Send a message via Windows Live Messenger to Lyzo
Alright, I don't know much about PokeScript, sorry about that. The hidesprite command is for XSE, but pokescript should have it as well, but it's probably named differently, or it's a #raw... But I wouldn't know...

You should switch over to XSE anyway, seeing as PokeScript is quite outdated and unsupported anyway. It's much like pokescript, but a bit different, and so much easier to use!

You can get it here and here is a quite extensive tutorial. In this tutorial it also shows you how to get the person event number
__________________


Thank you The Blueprint !!!
Reply With Quote
  #19148  
Unread July 30th, 2011, 10:20 AM
Cheesewig's Avatar
Cheesewig
Hi!
 
Join Date: Jul 2011
Gender: Male
Nature: Relaxed
Worded better:

Pokemon Gold:
In PKSV-UI Is there a way that I can change RAM Values in a script?

RAM Values like:
D1FF-Player's Sprite
D203-Player's Clothes
__________________
My name is Aochider I was called . Dr. PET was loved and esteemed by us all!
Reply With Quote
  #19149  
Unread July 30th, 2011, 03:09 PM
pokemon1412's Avatar
pokemon1412
Beginning Trainer
 
Join Date: Aug 2006
Gender:
Nature: Calm
Does anyone know how to edit the banned pokemon list in emerald battle frontier?
__________________
The Worst Pokemon EV's ever Was:

SUICUNE (2,0,0,0,0,0)


PLATINUM (J) FC
ADITYA(in katakana) 4511-4174-7540
Reply With Quote
  #19150  
Unread July 30th, 2011, 06:38 PM
Sawakita's Avatar
Sawakita
Not Invented Here
 
Join Date: May 2010
Gender: Male
Quote:
Originally Posted by Cheesewig View Post
Pokemon Gold:
In PKSV-UI Is there a way that I can change RAM Values in a script?

RAM Values like:
D1FF-Player's Sprite
D203-Player's Clothes
There is a way. First, you should probably study Tauwasser's scripting compendium. The command you're looking for is 0x1B.
It took me less than 5 minutes to figure out how the command 0x1B is labeled in PKSV (and I never used that program before), so you should too. You can write the raw command in the ROM, than decompile it and see how it is labeled. Or you could just write your scripts using a hex editor and the Compendium as a reference.
__________________



| 1st Gen Hacking: Useful Links | A good example of REAL ROM Hacking |
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

Forum Jump


All times are UTC. The time now is 04:29 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.