The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Archive] Simple Questions

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Closed Thread
 
Thread Tools
  #1301   Link to this post, but load the entire thread.  
Old August 6th, 2006 (2:47 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by mxkpkmnextu??
Hail
Is there any command that after a certain script which implies another sprite rather than the main char disappear or after a certain flag being activated make another sprite appear, for example in fr prof oak despite being there in pallet town he only appears after the activation of the script before the grass and then he disappears again after taking u to the lab...
Another I wanted to know is how can I make a sprite change is current position to make him participate in an event like the footprint guy in oldale...
[[]]
Stay Sick\m/
Yes, there is a command for every action you mentioned.
To hide sprites on the map, use this command:
Code:
#raw 53
#raw [event number of the person]
#raw 00
To show sprites, you have to add this command:
Code:
#raw 55
#raw [event number of the person]
#raw 00
And to move sprites to a certain location on the map, use this command:
Code:
#raw 57
#raw [event number to move]
#raw 00
#raw [x position in hex]
#raw 00
#raw [y position in hex]
#raw 00
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1302   Link to this post, but load the entire thread.  
Old August 6th, 2006 (2:53 PM).
simadons's Avatar
simadons simadons is offline
Imagine
 
Join Date: Jul 2006
Nature: Naughty
Posts: 35
#autobank on

#org 0x800000
#raw 47
#raw 27 'item \ blue
#raw 0 'item / flute
#raw 1 'quantity \
#raw 0 'quantity / one
compare LASTRESULT 0x1
if 0x1 jump 0x800150
msgbox 0x800100
callstd 0x6
end

#org 0x800150
msgbox 0x800200
callstd 0x4
wildbattle 0x8F 0x2D 0
#raw 53
#raw 050
#raw 00
end

#org 0x800200
= It's a sleeping Pokemon, err, not anymore!
end

#org 0x800100
= It's a sleeping Pokemon.
__________________
Member since July 29th, 2006
I stay on the Down Low :cool:
  #1303   Link to this post, but load the entire thread.  
Old August 6th, 2006 (3:00 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by simadons
I put the snorlax script in my rom and tested it, theres a problem. When i click on the snoralx you here the snound that the message box makes, but no textbox is diplayed.
I just compiled and tested the script. It's working fine.
However, you made a mistake in this part:
Code:
#raw 53
#raw 050
#raw 00
What is the Event number of the event that you want to hide?
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1304   Link to this post, but load the entire thread.  
Old August 6th, 2006 (3:03 PM).
simadons's Avatar
simadons simadons is offline
Imagine
 
Join Date: Jul 2006
Nature: Naughty
Posts: 35
The event number I made it is 50.

Another quicky, how long dose it take a thread to be valadated?
__________________
Member since July 29th, 2006
I stay on the Down Low :cool:
  #1305   Link to this post, but load the entire thread.  
Old August 6th, 2006 (3:09 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by simadons
The event number I made it is 50.

Another quicky, how long dose it take a thread to be valadated?
In that case, the code has to look like this:
Code:
#raw 53
#raw 32
#raw 00
Because you are using #raw commands, all provided values have to be entered in Hexadecimal. (50 Dec = 32 Hex)

Threads get validated whenever a Moderator sees that they need validation, and as long as meet the requirements.
This usually happens within a few hours to 1 day. If your thread does not appear after that period, it probably was not approved.
However, this is not the place to ask questions like that.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1306   Link to this post, but load the entire thread.  
Old August 6th, 2006 (3:13 PM).
simadons's Avatar
simadons simadons is offline
Imagine
 
Join Date: Jul 2006
Nature: Naughty
Posts: 35
thanks again... for all your help.
__________________
Member since July 29th, 2006
I stay on the Down Low :cool:
  #1307   Link to this post, but load the entire thread.  
Old August 7th, 2006 (2:44 AM).
Liquinn Liquinn is offline
Banned
 
Join Date: Jan 2006
Nature: Adamant
Posts: 438
Just thought I'd post a question. In my TEAM ROCKET hack I wish for the Ho-Oh event to be changed into a Mewtwo.

How can I change the event to a Mewtwo instead of Ho-Oh (With or without HEX).

Also, When the Ho-Oh event has been changed into a Mewtwo, How do I place the statue of Mewtwo inside a cave so you can battle and catch Mewtwo from there?

Liquinn.
  #1308   Link to this post, but load the entire thread.  
Old August 7th, 2006 (6:01 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by liquinn
Just thought I'd post a question. In my TEAM ROCKET hack I wish for the Ho-Oh event to be changed into a Mewtwo.

How can I change the event to a Mewtwo instead of Ho-Oh (With or without HEX).

Also, When the Ho-Oh event has been changed into a Mewtwo, How do I place the statue of Mewtwo inside a cave so you can battle and catch Mewtwo from there?

Liquinn.
You can change the Pokémon you battle in the Event, by replacing the Pokémon and Level values of the HO-OH Script, with the ones of Mewtwo with a Hex-Editor.
A list of Pokémon values for G/S/C can be found here.

Just change a level into a cave, and place the Event of the Pokémon where you want it to be.
Then assign the Script to the Event. (Make sure it is called from the same Bank. You could just modify the top level of the Tin Tower.)
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1309   Link to this post, but load the entire thread.  
Old August 7th, 2006 (1:09 PM).
evco1
Guest
 
Posts: n/a
What is the faster way to translate a pokemon gba rom?
  #1310   Link to this post, but load the entire thread.  
Old August 7th, 2006 (1:39 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by evco1
What is the faster way to translate a pokemon gba rom?
The speed of translating a game depends on how fast you can find and edit the texts with your Hex-Editor, and how well you speak the language you are translating from.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1311   Link to this post, but load the entire thread.  
Old August 8th, 2006 (3:25 AM).
Blazichu's Avatar
Blazichu Blazichu is offline
 
Join Date: Mar 2006
Gender: Male
Posts: 1,372
Where is the Ho-oh event in Pokemon Gold in a Hex Editor because I can't find it? Like what is the Hex numbers and letters for the Ho-oh event?
  #1312   Link to this post, but load the entire thread.  
Old August 8th, 2006 (5:25 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by Blazichu
Where is the Ho-oh event in Pokemon Gold in a Hex Editor because I can't find it? Like what is the Hex numbers and letters for the Ho-oh event?
As I already told you in my last post, the command 5C loads the Pokémon and Level data into the RAM of the game.
So, if you would have used the list I linked you to, you would have found out that HO-OH's Hex value is FA. And since it appears on Level 40 in the game, you just have to convert that number into Hex. (40 Dec <-> 28 Hex)
Now all you have to do is to put these 3 values together (5CFA28) and search for them, and you will find your HO-OH event in the ROM.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1313   Link to this post, but load the entire thread.  
Old August 9th, 2006 (3:33 AM).
dakelland dakelland is offline
 
Join Date: Aug 2006
Gender:
Nature: Adamant
Posts: 2
hi can any one help me i have got elitemap and a pokemon emerald rom when i try to load it up on elite map it keeps on saying "this is not a supported pokemon advance rom". what dose vthis mean can someone help me
  #1314   Link to this post, but load the entire thread.  
Old August 9th, 2006 (3:44 AM).
Liquinn Liquinn is offline
Banned
 
Join Date: Jan 2006
Nature: Adamant
Posts: 438
I was wondering if you could change the music when you battle someone in the game, Like say if your battling your rival for example, how can I change the music to the team rocket music in battle?

Liquinn.
  #1315   Link to this post, but load the entire thread.  
Old August 9th, 2006 (3:46 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by dakelland
hi can any one help me i have got elitemap and a pokemon emerald rom when i try to load it up on elite map it keeps on saying "this is not a supported pokemon advance rom". what dose vthis mean can someone help me
You get that error because, as it already tells you, you tried to load an unsupported ROM.
Since EliteMap doesn't support Emerald from the start, you will have to make it compatible, by adding the correct offsets from this thread to your "PokeRoms.ini" file.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1316   Link to this post, but load the entire thread.  
Old August 9th, 2006 (4:02 AM).
evco1
Guest
 
Posts: n/a
There is an extractor for gba roms?
  #1317   Link to this post, but load the entire thread.  
Old August 9th, 2006 (4:07 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by evco1
There is an extractor for gba roms?
Please elaborate on what kind of "extractor" you are talking about.

If you want to extract compressed images (such as Pokémon sprites), you can use unLZ-GBA. It is included in the EliteMap package.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1318   Link to this post, but load the entire thread.  
Old August 9th, 2006 (6:57 AM).
pokeant's Avatar
pokeant pokeant is offline
 
Join Date: May 2006
Gender:
Posts: 73
may i know how to edit pokemon blue's:
rival's name
map connection
town map
  #1319   Link to this post, but load the entire thread.  
Old August 9th, 2006 (10:26 AM). Edited August 9th, 2006 by Leo~chan.
Leo~chan's Avatar
Leo~chan Leo~chan is offline
Lolbot :3
 
Join Date: Jan 2006
Location: Rome, Italy
Age: 30
Gender:
Nature: Docile
Posts: 13
Hello, i'm italian hacker and i prepared my hack, pokémon black dream... I have one question...
How I make has to use the movement of a personage to right, after to have spoken with it?
Thaks for repling ^_^
Excuse me for my bad english °_°
*EDIT*
The problems is that I have already put a script that donates a Traphinc… And I do not know if these create problems
Excuse me for my bad english °_°
  #1320   Link to this post, but load the entire thread.  
Old August 9th, 2006 (10:29 AM).
Jonny Buuz's Avatar
Jonny Buuz Jonny Buuz is offline
La di da di do di da di dum...
 
Join Date: Oct 2005
Location: Behind you.
Age: 32
Gender: Male
Nature: Modest
Posts: 56
I tried to compile a basic text script (the girl just says something; nothing special), and it compiled fine. However, in game, the sprite that I assigned the offset to does not respond. It still moves; I told it to walk around. It just won't talk to me. What could I have done wrong? If I need to elaborate, I will.

Oh. I'm using A-Map and ScriptEd.
__________________
</signature>
  #1321   Link to this post, but load the entire thread.  
Old August 9th, 2006 (12:00 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by Hack The Master
Hello, i'm italian hacker and i prepared my hack, pokémon black dream... I have one question...
How I make has to use the movement of a personage to right, after to have spoken with it?
Thaks for repling ^_^
Excuse me for my bad english °_°
*EDIT*
The problems is that I have already put a script that donates a Traphinc… And I do not know if these create problems
Excuse me for my bad english °_°
In order to let the person walk to a specified direction, you will have to add an "applymovement" command, together with the directions you want that event to walk.

The command would look like this:
Code:
applymovement 0x[FF for player, else Event Number] 0x[offset of the movement data]
Then you just have to insert the movement data at the offset you specified above.
Code:
#org 0x[offset of movement data]
#raw B 'Right2
#raw FE 'Exit
That's it.

Quote:
Originally Posted by Jonny Buuz
I tried to compile a basic text script (the girl just says something; nothing special), and it compiled fine. However, in game, the sprite that I assigned the offset to does not respond. It still moves; I told it to walk around. It just won't talk to me. What could I have done wrong? If I need to elaborate, I will.

Oh. I'm using A-Map and ScriptEd.
Please post the script you are having trouble with. That way, it's easier for us to help you with your problem.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1322   Link to this post, but load the entire thread.  
Old August 9th, 2006 (12:04 PM).
ssj's Avatar
ssj ssj is offline
Kanto Legend
 
Join Date: Jun 2006
Location: EVERYWHERE
Gender:
Nature: Bold
Posts: 83
Using tile molester would it be possible to change the heros overworld sprite ?
__________________
Pokemon Diamond Friend Code : 2535 3381 4158
  #1323   Link to this post, but load the entire thread.  
Old August 9th, 2006 (12:06 PM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by ssj
Using tile molester would it be possible to change the heros overworld sprite ?
Yes, the Overworld sprites in the Pokémon games can be changed with Tile Molester.
Eventually, you will have to load a custom palette file to display them correctly.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #1324   Link to this post, but load the entire thread.  
Old August 9th, 2006 (12:08 PM). Edited August 9th, 2006 by Leo~chan.
Leo~chan's Avatar
Leo~chan Leo~chan is offline
Lolbot :3
 
Join Date: Jan 2006
Location: Rome, Italy
Age: 30
Gender:
Nature: Docile
Posts: 13
Thanks Scizz!
yuo are the master hacker *çççççç*!
*EDIT*
it does not work!
Code:
'-----------------------
#org 0x800000
checkflag 0xF0F1
if 0x1 jump 0x800300
msgbox 0x8800100 '"Here you go! Just ta..."
callstd 0x2
setflag 0xF0F1
givepokemon 0x14C 0x5 0x0
applymovement 0x7 0x800900
end

'-----------------------
#org 0x800300
msgbox 0x8800200 '"You can go now with ..."
callstd 0x6
release
end


'---------
' Strings
'---------
#org 0x800100
= Here you go! Just take it
#org 0x800200
= You can go now with your Trapinch

'-----------
' Movements
'-----------
#org 0x800900
#raw B 'Right2
#raw FE 'Exit
Where it is that mistake?
;___;, i'm very sad ç__ç!
  #1325   Link to this post, but load the entire thread.  
Old August 9th, 2006 (12:09 PM).
Jonny Buuz's Avatar
Jonny Buuz Jonny Buuz is offline
La di da di do di da di dum...
 
Join Date: Oct 2005
Location: Behind you.
Age: 32
Gender: Male
Nature: Modest
Posts: 56
Oh, my bad.

It seems to happen with every script I try, though...

Well, here's one.

#org 0xAA23C0
message 0xAA23F0
boxset 0x4
end

#org 0xAA23F0
=I know where you sleep.

And another.

#org 0x7B2B00
checkflag 0x10A
if 0 0x7B0A54
message 0x7B2C00
boxset 0x2
end

#org 0x7B0A54
setflag 0x10A
setflag 0x800
checkgender
compare LASTRESULT 1
if 0 0x7B1D54
if 1 0x7B0D54
end

#org 0x7B1D54
message 0x7B1A54
boxset 0x02
givepokemon 0x18B 0x05 0x00
end

#org 0x7B0D54
message 0x7B1B54
boxset 0x02
givepokemon 0x188 0x05 0x00
end

#org 0x7B1A54
= Psst... take this.

#org 0x7B1B54
= Hey there... want this?

#org 0x7B2C00
= Don't tell anybody!

So now that I think about it, there's something wrong with the script... what?
__________________
</signature>
Closed Thread

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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 GMT -8. The time now is 9:22 AM.