Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Reload this Page [ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

Notices
For all updates, view the main page.

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
 
Thread Tools
  #20151    
Old December 20th, 2011 (04:16 PM). Edited December 20th, 2011 by G33K.
G33K's Avatar
G33K G33K is offline
The guy you will someday work
 
Join Date: Dec 2010
Location: vermont / new hampshire
Gender: Male
Nature: Naughty
Posts: 14
How might i reset that offset that hinkage mentined? (0x80000000)
  #20152    
Old December 20th, 2011 (04:32 PM).
hinkage's Avatar
hinkage hinkage is offline
Go make some new disaster
Gold Tier
 
Join Date: Aug 2010
Age: 19
Posts: 378
Quote originally posted by G33K:
How might i reset that offset that hinkage mentined? (0x80000000)

Just click "Open Script" in A-Map without assigning anyone a script.

You can edit it, but there's no real point -- in script form it's just nonsense, and changing anything will brick your game.
__________________
(ღ˘⌣˘ღ)
  #20153    
Old December 20th, 2011 (04:39 PM).
G33K's Avatar
G33K G33K is offline
The guy you will someday work
 
Join Date: Dec 2010
Location: vermont / new hampshire
Gender: Male
Nature: Naughty
Posts: 14
[SIZE="a"]thanks for the quick reply. and i needed this info because it got screwed up and it wont open in vba so i need to replace it with the script from an un-edited rom.[/SIZE]
__________________
blehh
  #20154    
Old December 21st, 2011 (09:55 AM).
Seppi Seppi is offline
Sparkle sparkle
 
Join Date: Oct 2010
Location: Jolly old England
Age: 22
Gender: Female
Nature: Naughty
Posts: 11
I'm trying to hack Firered, and I'm wondering, is there an easy way to change the order that Pokemon appear in the Pokedex? I tried using the tool from here but it just screwed the Pokedex up.
  #20155    
Old December 21st, 2011 (02:45 PM).
Sky93's Avatar
Sky93 Sky93 is offline
 
Join Date: Dec 2007
Location: GA, USA
Gender:
Nature: Relaxed
Posts: 72
Is it possible to change wild pokemon found a route after you get the national dex? In other words, is it possible to have one set of pokemon in a specified route with the regional dex, and a different set for that same route once the national dex is gained?
__________________



ROMs I Support:
  #20156    
Old December 21st, 2011 (04:52 PM).
droomph's Avatar
droomph droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
Quote originally posted by Sky93:
Is it possible to change wild pokemon found a route after you get the national dex? In other words, is it possible to have one set of pokemon in a specified route with the regional dex, and a different set for that same route once the national dex is gained?
Yes, but you would need to find that block of data in the RAM, and then make a routine/script changing that block, and set up a script to activate said routine or script when certain conditions are met as an enter-the-map type script.

Yeah, I don't know where any of that is either. But it's in there somewhere, so you can certainly do that.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #20157    
Old December 21st, 2011 (06:52 PM).
gameguru's Avatar
gameguru gameguru is offline
 
Join Date: Nov 2009
Location: Your Mind
Gender: Male
Nature: Careful
Posts: 43
In Fire Red Is there any way to make tm's permanent like they are in Pokemon White\Black?
Like, If you use a TM it doesn't go away, because it can be used an infinite number of times.
  #20158    
Old December 21st, 2011 (08:06 PM).
raekuul's Avatar
raekuul raekuul is offline
Team Anorith Grunt
 
Join Date: Jun 2009
Age: 25
Gender: Male
Nature: Lax
Posts: 261
Send a message via Windows Live Messenger to raekuul Send a message via Yahoo to raekuul
I'm trying to do a simple "fix" for Yellow, fixing the type matchups to be more similar to how they are in later generations. I've gotten so used to having a ghost take down a psychic on its own that going back to the Gen 1 type matchups is jarring. I've been looking through the thread, but I can't seem to find anything that's close enough to what I'm looking for (the closest match was a type matchups editor... for Gen 3).

Is there a tool I can use for this? If not, what do I look for in the hex addresses?
__________________

No longer doing Monotype Challenges
I support the following names: Coppereon, Wyrmeon, Scorpeon, Skarmory, Watelp
Hex Addresses for type information
  #20159    
Old December 21st, 2011 (08:37 PM).
chrunch's Avatar
chrunch chrunch is offline
Silver Tier
 
Join Date: Oct 2009
Gender: Male
Posts: 1,101
Quote originally posted by gameguru:
In Fire Red Is there any way to make tm's permanent like they are in Pokemon White\Black?
Like, If you use a TM it doesn't go away, because it can be used an infinite number of times.
ASM, probably. I don't know if there's an easier way.
__________________
  #20160    
Old December 22nd, 2011 (06:12 AM). Edited December 22nd, 2011 by redriders180.
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
 
Join Date: Jun 2010
Location: Path of Victory, Tunod
Gender: Male
Nature: Quirky
Posts: 538
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote originally posted by liladeel11:
I need help with nicknaming pokemon. For the starter pokemon.
A typical code for nicknaming the starter pokemon would look like this:

Code:
...
setvar 0x8004 0x0
fadescreen 0x1
special 0x9E
waitstate
...
with the ... signifying code you write before and afterward. This should work for either Firered or Ruby.
__________________


Superfan of Pokemon Glazed? Click here to join the official Pokemon Glazed Facebook Page!

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...


  #20161    
Old December 22nd, 2011 (12:35 PM).
neosiotype neosiotype is offline
 
Join Date: Jun 2009
Gender: Male
Posts: 8
My question back in May has gone unheard. :/ Which is surprising considering it's a really simple question. Help me out guys.

I noticed that when giving new and longer text to npcs sometimes different npcs may say parts of that text. Also sometimes entire routes of trainers would mysteriously disappear.

To elaborate I think it has to do with data modification and over writing in places that weren't free. Can you guys please tell me a little about that and the free space finder in advance map? I completely had to start a new hack because of it and so far I've just done map editing since then.
  #20162    
Old December 22nd, 2011 (01:15 PM).
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
 
Join Date: Jun 2010
Location: Path of Victory, Tunod
Gender: Male
Nature: Quirky
Posts: 538
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote originally posted by neosiotype:
My question back in May has gone unheard. :/ Which is surprising considering it's a really simple question. Help me out guys.

I noticed that when giving new and longer text to npcs sometimes different npcs may say parts of that text. Also sometimes entire routes of trainers would mysteriously disappear.

To elaborate I think it has to do with data modification and over writing in places that weren't free. Can you guys please tell me a little about that and the free space finder in advance map? I completely had to start a new hack because of it and so far I've just done map editing since then.
I think what happens is part of the hex in the game is overwritten by the words the character says. This overwrites all the code that follows it, making other characters say what they're supposed to. The easiest thing to do would be to use the dynamic offsets XSE provides. Dynamic Offsets (if you don't know) are nice because XSE will look for free space automatically, and stick the code in there, with pretty no chance of overwriting anything. To do it, you just start all your code with the following:

Code:
#dynamic 0x800000
#org @start
The start writing the code. Instead of using 0xOFFSET to define msgbox and stuff, you use an @, followed by a sort of "nickname" for the offset. For example, you'd say:

Code:
#dynamic 0x800000
#org @start
msgbox @message MSG_FACE
release
end

#org @message
= Hi there!
When you compile, it tells you all the offsets that XSE puts in. The first one (@start in this case) is the one you want. Copy and Paste the offset it gives you for @start and put it in your event. I hope this wasn't too complicated, and I'm sorry if I didn't answer your question.
__________________


Superfan of Pokemon Glazed? Click here to join the official Pokemon Glazed Facebook Page!

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...


  #20163    
Old December 22nd, 2011 (01:18 PM).
Truality Truality is offline
Left for good
 
Join Date: Aug 2011
Gender: Male
Posts: 1,007
Send a message via Windows Live Messenger to Truality Send a message via Skype™ to Truality
Quote originally posted by neosiotype:
My question back in May has gone unheard. :/ Which is surprising considering it's a really simple question. Help me out guys.

I noticed that when giving new and longer text to npcs sometimes different npcs may say parts of that text. Also sometimes entire routes of trainers would mysteriously disappear.

To elaborate I think it has to do with data modification and over writing in places that weren't free. Can you guys please tell me a little about that and the free space finder in advance map? I completely had to start a new hack because of it and so far I've just done map editing since then.
This happens because you compile an already compiled script with new data that exceed the old one in size. As in, if you write new text in a dialogue script but the new text is more than the old one and compile, even one extra space makes the difference in bytes and scrambles up other dialogues. So when you're recompiling a script, you can only augment it by repointing. You will need to know how to hex edit in order to do that, though.

You can always edit a script if the changes you make on it leave the same number of bytes-or lower, but if the number of bytes is higher than the previous number, it will compile but screw up stuff. Otherwise, you can always make new scripts as the poster above me suggests.
__________________
This is my December . . .
  #20164    
Old December 22nd, 2011 (05:58 PM). Edited December 22nd, 2011 by redriders180.
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
 
Join Date: Jun 2010
Location: Path of Victory, Tunod
Gender: Male
Nature: Quirky
Posts: 538
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
In Firered, does anyone know the value of the variable which stores which way the player is facing, and which values of it mean which direction? I think 0x4 means facing right, but not any of the others.
__________________


Superfan of Pokemon Glazed? Click here to join the official Pokemon Glazed Facebook Page!

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...


  #20165    
Old December 22nd, 2011 (08:30 PM).
masterquestmq's Avatar
masterquestmq masterquestmq is offline
Enthusiastic Rom Hacker
 
Join Date: Nov 2010
Gender: Male
Posts: 125
Quote originally posted by redriders180:
In Firered, does anyone know the value of the variable which stores which way the player is facing, and which values of it mean which direction? I think 0x4 means facing right, but not any of the others.
I think its these values
0x0 = Face Down
0x1 = Face Up
0x2 = Face Left
0x3 = Face Right
  #20166    
Old December 22nd, 2011 (09:49 PM).
SwirlyBirds's Avatar
SwirlyBirds SwirlyBirds is offline
apparently not quite dead
Gold Tier
 
Join Date: May 2010
Nature: Lonely
Posts: 813
Quote originally posted by coryrichardson:
can someone use pokemon diamond as a base rom and make everything like emerald
as a remake coment if you can please
First of all, this is not a request thread, so you shouldn't really be asking for someone to make one. However, there is a hack of Diamond which is a remake - or, using the proper term a demake - of Pokémon Sapphire Version. Find it here.
__________________
this is not a signature
  #20167    
Old December 23rd, 2011 (05:05 PM).
raekuul's Avatar
raekuul raekuul is offline
Team Anorith Grunt
 
Join Date: Jun 2009
Age: 25
Gender: Male
Nature: Lax
Posts: 261
Send a message via Windows Live Messenger to raekuul Send a message via Yahoo to raekuul
I found the answer to my question ; I just needed to look in the right place. The information is now linked to in my signature.
__________________

No longer doing Monotype Challenges
I support the following names: Coppereon, Wyrmeon, Scorpeon, Skarmory, Watelp
Hex Addresses for type information
  #20168    
Old December 23rd, 2011 (07:30 PM).
Ruizhe's Avatar
Ruizhe Ruizhe is offline
 
Join Date: Nov 2011
Gender: Male
Posts: 6
OK. Now i am doing a hack and it includes a friendship system. I figure that i need to use a lot of safety vars to read and write. However I have already searched for a list of used vars and flags but all the info that I can reach is about FireRed. Can anybody show me a list like that for Emerald? Or can anyone tell me another way to modify that friendship system?
  #20169    
Old December 23rd, 2011 (11:56 PM).
Binary's Avatar
Binary Binary is offline
え?
 
Join Date: Aug 2007
Age: 20
Posts: 3,994
Quote originally posted by redriders180:
In Firered, does anyone know the value of the variable which stores which way the player is facing, and which values of it mean which direction? I think 0x4 means facing right, but not any of the others.
The value of the player's facing direction is stored in 0x800C. If I'm correct, the values for the directions are:
0x1 = down
0x2 = up
0x3 = left
0x4 = right

For Example:
Code:
compare 0x800C 0x1 
if 0x1 call @down
__________________
  #20170    
Old December 24th, 2011 (06:07 AM).
liladeel11 liladeel11 is offline
 
Join Date: Dec 2010
Gender: Male
Posts: 20
Quote originally posted by redriders180:
A typical code for nicknaming the starter pokemon would look like this:

Code:
...
setvar 0x8004 0x0
fadescreen 0x1
special 0x9E
waitstate
...
with the ... signifying code you write before and afterward. This should work for either Firered or Ruby.
What does var 0x8004 0x0 do? Does it have to be that var?
  #20171    
Old December 24th, 2011 (07:16 AM).
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
 
Join Date: Jun 2010
Location: Path of Victory, Tunod
Gender: Male
Nature: Quirky
Posts: 538
Send a message via AIM to redriders180 Send a message via Skype™ to redriders180
Quote originally posted by liladeel11:
What does var 0x8004 0x0 do? Does it have to be that var?
I believe that var is whatever Pokemon slot the nicknamed Poke is at. Since its the first Pokemon your player gets, it'll be in the first slot of the party, which is 0x0. The special reads from 0x8004, and not any other variables, so it has to be that one.
__________________


Superfan of Pokemon Glazed? Click here to join the official Pokemon Glazed Facebook Page!

Thank you for hatching the eggs!
Please view these dragons! Just click them and you're done!
If you don't help them grow up, they'll die...


  #20172    
Old December 24th, 2011 (10:53 PM).
kkj1116 kkj1116 is offline
New Account: jwibagi
 
Join Date: May 2011
Posts: 42
Can anyone tell me how to clear the RAM offset of Pokemon Ruby's Hall of Fame data?
I'd like to know how to clear it so that if I get a win, I could 0x00 a certain offset and have it set as having no hall of fame record.

(If you reply to this, please notify me!)
  #20173    
Old December 25th, 2011 (11:15 AM).
riotorange riotorange is offline
 
Join Date: Jul 2011
Gender: Male
Posts: 2
I've got a basic understanding of scripting, maybe a little too basic, but I'm just starting out, so bare with me.

I can't figure out how to script how my game actually begins. Of course it begins with the pokemon professor talking to you, and after that's over with you get shoved out into the world of pokemon. What I need help with is what happens after that. I'm using ruby as my base, so after the professor asks me my name and whatnot I end up in the back of a truck on the way to my house. I want to change it to where I start out in my bed.

How do I do this? I'm using AdvanceMap and XSE.

Thanks,

Riot
  #20174    
Old December 25th, 2011 (03:19 PM).
liladeel11 liladeel11 is offline
 
Join Date: Dec 2010
Gender: Male
Posts: 20
Quote originally posted by redriders180:
I believe that var is whatever Pokemon slot the nicknamed Poke is at. Since its the first Pokemon your player gets, it'll be in the first slot of the party, which is 0x0. The special reads from 0x8004, and not any other variables, so it has to be that one.
So what happens if the pokemon is sent to the box?
  #20175    
Old December 25th, 2011 (04:20 PM).
Ruizhe's Avatar
Ruizhe Ruizhe is offline
 
Join Date: Nov 2011
Gender: Male
Posts: 6
Can anybody teach me how to create a map where every wild pokemon in it is uncatchable (while the same pokemon can be caught outside this map?)

Much appreciated!
Closed Thread
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 -8. The time now is 06:03 AM.