PDA

View Full Version : [Archive] Simple Questions


Pages : 1 2 3 4 5 [6] 7 8 9

ssj
August 2nd, 2006, 03:22 PM
I have the following script for a pikachu cry and I was wondering how I can do it so that the pikachu says "PIKAAAA" before you hear the cry.

#org 0x71d520
cry 0xA1 25
#raw 01
end

Scizz
August 2nd, 2006, 04:06 PM
I have the following script for a pikachu cry and I was wondering how I can do it so that the pikachu says "PIKAAAA" before you hear the cry.

#org 0x71d520
cry 0xA1 25
#raw 01
end
To add a text to your script, just add a "msgbox" and "callstd" command to it, together with the text you want to display.
The whole script with an added message box would look like this:
#org 0x71d520
msgbox 0x71d550
callstd 0x6
cry 0xA1 25
#raw 01
end

#org 0x71d550
= PIKAAAA

ssj
August 2nd, 2006, 04:50 PM
If the original offset used at first is 0x71d520 how did you come up with 0x71d550 ?
Also when I go and talk to the Pikachu all he says is PIKAAA without a cry.

Scizz
August 2nd, 2006, 08:19 PM
If the original offset used at first is 0x71d520 how did you come up with 0x71d550 ?
Also when I go and talk to the Pikachu all he says is PIKAAA without a cry.
After the offset 71D520, you will find a lot of free space, so, since I wanted to play it safe, and avoid overwriting of your other Script, I increased the offset a bit. And because scripts like that won't take up 30 bytes, it was safe to choose it.

I just tested the script, and it is working fine.

simadons
August 2nd, 2006, 08:48 PM
Your Script above is as broken as it can be. You should use this one instead:
#autobank on
#org 0x800100
checkflag 0x1FF
if 0 0x800150
end

#org 0x800150
cry 0xA1 0x8F
#raw 01
msgbox 0x800200
callstd 0x4
wildbattle 0x8F 0x2D 0
#raw 53
#raw 0[Event's Index number]
#raw 00
setflag 0x1FF
end

#org 0x800200
= It's a sleepling Pokemon, err, not anymore!
Replace [Event's Index number] with the Event-Number Advance-Map tells you for that specific Event.

To "get the Script offset to plop into Advance-Map", just copy the offset of where you inserted the Script (800100 in this case, and type it in the Event's "Script offset" box, keeping the leading $-symbol. ($800100))


There is no way of changing Pokémon crys in G/S without a Hex-Editor, yet.

Thanks, ok, I used SSC to creat that bit..
Now for another Q, Afther the event, how could I make the sprte (in this case snoralax)
go away?

Plus more, how do I pacage my scripts into my hacked rom?

Scizz
August 2nd, 2006, 08:56 PM
Thanks, ok, I used SSC to creat that bit..
Now for another Q, Afther the event, how could I make the sprte (in this case snoralax)
go away?

Plus more, how do I pacage my scripts into my hacked rom?
The sprite hiding part is already included in the Script.
#raw 53
#raw 0[Event's Index number]
#raw 00

Your second question has been asked many times before.
Simply insert your Script in ScriptED's textbox, and click the "compile" button.
Make sure that the ROM you want to compile it to is in the same folder as ScriptED, and that it's filename is free of spaces.
Please use the search function in the future.

ssj
August 2nd, 2006, 11:18 PM
Would the following script work to give a bulbasaur in pokemon fire red?
checkflag 0x71c44d
if 0 0x71c44e
setflag 0x0x71c44d
givepokemon 0x01 0x01 0x00
end

NightKev
August 2nd, 2006, 11:18 PM
1) Which is better, EliteMap or AdvanceMap? (Or is this the "program1 has features A D F while program2 has features B C E" situation?)

2) Would I be able to hack Emerald or am I stuck with Ruby/Sapphire?

Scizz
August 2nd, 2006, 11:23 PM
Would the following script work to give a bulbasaur in pokemon fire red?
checkflag 0x71c44d
if 0 0x71c44e
setflag 0x0x71c44d
givepokemon 0x01 0x01 0x00
end
No, that Script would not work, because you can not use offsets as Flag values.
Any values from 0 up to FFFF can be used for Flags. (Example: checkflag 0x1EF ; setflag 0x5D2 ; clearflag 0x3)
Also, the #org command at the top is missing.

I reccomend you to have a look at the "commands.html", that comes with EliteMap to see how to use the commands.

simadons
August 2nd, 2006, 11:51 PM
I would but I kept on geting: DATABASE ERROR... It seems that the whole site is ploped onto one server. Also, I meant to appolgize for not posting in this thread.

And I have tried sending this via quick reply 10 times useing high speed cable internet.

Ok, is there a way to make the script only work if you a have a blue flute in your invo, to make it like the older games.

Scizz
August 3rd, 2006, 01:54 AM
I would but I kept on geting: DATABASE ERROR... It seems that the whole site is ploped onto one server. Also, I meant to appolgize for not posting in this thread.

And I have tried sending this via quick reply 10 times useing high speed cable internet.

Ok, is there a way to make the script only work if you a have a blue flute in your invo, to make it like the older games.
Here is a sample script, that checks if you have the BLUE FLUTE in your bag, and depending on it, will display a different text.
If you want it to do something different, just change it to your likings.
#autobank on

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

#org 0x800150
msgbox 0x800400
callstd 0x6
release
end

#org 0x800200
= Now let's see if you have\nthat Item...

#org 0x800300
= Yup, you have the Item.

#org 0x800400
= Nope, you don't have the Item.

1) Which is better, EliteMap or AdvanceMap? (Or is this the "program1 has features A D F while program2 has features B C E" situation?)

2) Would I be able to hack Emerald or am I stuck with Ruby/Sapphire?
1) Advance-Map and Elite-Map have basicly the same features. (EliteMap might use a different program for some of them, though.)
However, there are some differences, like Advance-Map allowing you to add new Maps, and allowing you to create new wild Pokémon data, while EliteMap allows you to edit the size and position of the Map on the World-Map.
Just use the program you feel most comfortable with. (Or switch editors if you want to use a certain feature, however, that might cause a corruption of the ROM.)

2) Both Map Editors support Pokémon Emerald, however, you will have to add the Emerald settings to EliteMap's "Pokeroms.ini" file in order for it to work.
Those offsets have been posted in the Documents forum.

simadons
August 3rd, 2006, 02:09 AM
Here is a sample script, that checks if you have the BLUE FLUTE in your bag, and depending on it, will display a different text.
If you want it to do something different, just change it to your likings.
#autobank on

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

#org 0x800150
msgbox 0x800400
callstd 0x6
release
end

#org 0x800200
= Now let's see if you have\nthat Item...

#org 0x800300
= Yup, you have the Item.

#org 0x800400
= Nope, you don't have the Item.


1) Advance-Map and Elite-Map have basicly the same features. (EliteMap might use a different program for some of them, though.)
However, there are some differences, like Advance-Map allowing you to add new Maps, and allowing you to create new wild Pokémon data, while EliteMap allows you to edit the size and position of the Map on the World-Map.
Just use the program you feel most comfortable with. (Or switch editors if you want to use a certain feature, however, that might cause a corruption of the ROM.)

2) Both Map Editors support Pokémon Emerald, however, you will have to add the Emerald settings to EliteMap's "Pokeroms.ini" file in order for it to work.
Those offsets have been posted in the Documents forum.

Sorry for so many questions, but how would I ocmbine both scripts, oh, and thank you a whole bunch.

dakelland
August 3rd, 2006, 11:40 AM
how can i start to hack can some one help me

Scizz
August 3rd, 2006, 11:41 AM
Sorry for so many questions, but how would I ocmbine both scripts, oh, and thank you a whole bunch.
To combine both Scripts, just take the parts you need from one, and insert them in the appropriate place of the other one.
For example, the Battle/Hiding part of the first one, would be included after the Item-check of the current one.
#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 0[Event's Index number]
#raw 00
end

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

#org 0x800100
= It's a sleeping Pokemon.
All you have to do is to replace "[Event's Index number]" with the number of your Snorlax Event on the Map.

how can i start to hack can some one help me
Read the stickied FAQ thread in this forum, thank you.

ssj
August 3rd, 2006, 02:00 PM
Im having a probelm I made this script to give a bulbasaur and compiled it but when ever I load up the rom in vba all I get is a white screen.
#org 0x71c44d
checkflag 0x1EF
if 0 0x3
setflag 0x5D2
givepokemon 0x01 0x01 0x00
end

Scizz
August 3rd, 2006, 02:06 PM
Im having a probelm I made this script to give a bulbasaur and compiled it but when ever I load up the rom in vba all I get is a white screen.
#org 0x71c44d
checkflag 0x1EF
if 0 0x3
setflag 0x5D2
givepokemon 0x01 0x01 0x00
end
Your problem is the wrong usage of the IF-command.
When using an IF-command, you have to specify an offset to go to, if the value you are comparing is either true or false.
Also, you have to agree on one flag to use. Since you used 1EF in the first place, we'll continue using that one.
#org 0x71c44d
checkflag 0x1EF
if 0 0x71c45d
end

#org 0x71c45d
setflag 0x1EF
givepokemon 0x01 0x01 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
end

borgoth
August 3rd, 2006, 02:59 PM
hi all,

i'm making a pokehack and now i need to edit the world map:\

now i'm asking does some1 have a program to create easy a map?

if there is no prog to make a map then can u give some tips to create a map.

Scizz
August 3rd, 2006, 07:16 PM
hi all,

i'm making a pokehack and now i need to edit the world map:\

now i'm asking does some1 have a program to create easy a map?

if there is no prog to make a map then can u give some tips to create a map.
You can edit the World-Map of Pokémon Advance games, using a tool made by Mewthree9000, named Cyclone (http://www.mew3inc.mihopa.be/programs/CyclonePrototype.zip).

Tutorials how to use it can be found here:
http://www.pokecommunity.com/showthread.php?t=60373
http://www.pokecommunity.com/showthread.php?t=60257

Though they are made for Titlescreen editing, World-Map editing works the same way.
Also using the search function will help.

Alternatively, you can use a Hex-Editor and unLZ-GBA to edit it.

ssj
August 3rd, 2006, 08:10 PM
Your problem is the wrong usage of the IF-command.
When using an IF-command, you have to specify an offset to go to, if the value you are comparing is either true or false.
Also, you have to agree on one flag to use. Since you used 1EF in the first place, we'll continue using that one.
#org 0x71c44d
checkflag 0x1EF
if 0 0x71c45d
end

#org 0x71c45d
setflag 0x1EF
givepokemon 0x01 0x01 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
end

I tired this code but when I talk to a person nothing happens do I have to add a message into this script something like Heres a bulbasaur.

Scizz
August 3rd, 2006, 09:17 PM
I tired this code but when I talk to a person nothing happens do I have to add a message into this script something like Heres a bulbasaur.
I just compiled the Script, and it's working fine.
Try re-compiling it. In some cases, you might have to use different offsets or Flags.
Message boxes are not required, but if you want, you can add them.

ssj
August 4th, 2006, 12:21 AM
Would this script work so that the text appears before you recive the bulbasaur?
#org 0x71c5cc
message 0x71c5ce
boxset 0x2
end
#org 0x71c5ce
=Hey I found this bulbasaur its quiet
young you should train it

#org 0x71d526
checkflag 0x1EF
if 0 0x71c45d
end

#org 0x71c45d
setflag 0x1EF
givepokemon 0x01 0x01 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
end

Scizz
August 4th, 2006, 12:37 AM
Would this script work so that the text appears before you recive the bulbasaur?
No, it wouldn't, because you have no reference to the text script in the Pokémon giving part of the script.
Simply add the message box part before you receive the Pokémon, the givepokemon command.
#org 0x71d526
checkflag 0x1EF
if 0 0x71c45d
end

#org 0x71c45d
setflag 0x1EF
msgbox 0x71c5ce
boxset 0x6
givepokemon 0x01 0x01 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
end

#org 0x71c5ce
=Hey I found this bulbasaur\nits quiet young you\nshould train it

raddx
August 4th, 2006, 08:45 AM
im having trouble with changing the starters in ruby, i have imported munchlax into my game over the green question mark after celebi. what i need to no is the code to replace treeko into munchlax, thanks

Scizz
August 4th, 2006, 11:09 AM
im having trouble with changing the starters in ruby, i have imported munchlax into my game over the green question mark after celebi. what i need to no is the code to replace treeko into munchlax, thanks
The Hex value for the Pokémon Slot after Celebi is FC00.
Simply replace the Pokémon Value of one of the old starters with this, and you will have your new Pokémon selectable when you open the Bag.

ssj
August 4th, 2006, 02:24 PM
No, it wouldn't, because you have no reference to the text script in the Pokémon giving part of the script.
Simply add the message box part before you receive the Pokémon, the givepokemon command.
#org 0x71d526
checkflag 0x1EF
if 0 0x71c45d
end

#org 0x71c45d
setflag 0x1EF
msgbox 0x71c5ce
boxset 0x6
givepokemon 0x01 0x01 0x00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
#raw 00
end

#org 0x71c5ce
=Hey I found this bulbasaur\nits quiet young you\nshould train it

I tried this script and when I talk to the guy all that comes up is a text box with nothing in it.

Scizz
August 4th, 2006, 02:40 PM
I tried this script and when I talk to the guy all that comes up is a text box with nothing in it.
That is because you didn not follow the correct structure when creating a text.
#org 0x71c5ce
=Hey I found this bulbasaur\nits quiet young you\pshould train it
As you see, the important space between the "=" and the beginning of the text is missing, thus, the compiler is ignoring the command, because it is not recognized.
Just add a space between "=" and "Hey", and it should work.
Also, always doublecheck your script before you post it here, and work together with the Command-Reference (commands.html) of EliteMap, to ensure the correct usage and structure of commands.

ssj
August 4th, 2006, 03:36 PM
Now it goes up to Hey I found this bulbasaur its quiet young you and dosent say the rest.

Scizz
August 4th, 2006, 04:11 PM
Now it goes up to Hey I found this bulbasaur its quiet young you and dosent say the rest.
Then you have another error in your text command. As I said, read the Command reference!
You can not use normal line-breaks (aka Enter key) when creating texts.
You have to use the line-breaking command that ScriptED offers. (\n for a new line, \p for a new "page", \l for an alternate new line.)

So a text like:
Hello, this is
my first ROM-Hack
and I hope it works.

Peace out.
becomes:
Hello, this is\nmyfirst ROM-Hack\land I hope it works.\pPeace out.

Chimp
August 4th, 2006, 09:49 PM
When I set the starters using A-Starter, (Mew, Celebi, And Jirachi), Mew doesn't seem to obey ANYTIME. How can I get Mew to listen? (This is a hack of emerald)

Scizz
August 4th, 2006, 10:30 PM
When I set the starters using A-Starter, (Mew, Celebi, And Jirachi), Mew doesn't seem to obey ANYTIME. How can I get Mew to listen? (This is a hack of emerald)
The reason Mew (or other Legendarys) won't obey, is because you obtained them "not legally", by an event, but by altering the game, either with a Cheat code to catch it, or by using an editor like A-Starter.
Because of that, a specific bit in the Pokémon's data (the "obey bit" in this case) is missing.
That bit is only set if you obtain it via the regular event, not by "forcing it" to appear.
A way to set specifically that bit is not known.

Chimp
August 4th, 2006, 11:07 PM
Darn, I was really hoping to have Mew, Celebi, and Jirachi as the starters.. Well, since that's answered, (Thanks), Does anyone know of a Pokemon Amplifier-Like thing that works for emerald? All the one's I've seen only work for R/S.

Scizz
August 4th, 2006, 11:23 PM
Darn, I was really hoping to have Mew, Celebi, and Jirachi as the starters.. Well, since that's answered, (Thanks), Does anyone know of a Pokemon Amplifier-Like thing that works for emerald? All the one's I've seen only work for R/S.
As already answered in this (http://www.pokecommunity.com/showpost.php?p=2192862&postcount=1167) post, you can download the latest version of Pokémon Amplifier here (http://magicstone.de/philb/gchg/downloads/ADC_1.2.0.1.zip).
It's supporting all Pokémon Advance ROMs. Please use the search function before asking in the future.

Blazichu
August 4th, 2006, 11:34 PM
I have just changed the Gyarados Event in Pokemon Gold is there any way in a hex to make it not shiny and if so could some one tell me the hex number for shiny Pokemon?

Scizz
August 4th, 2006, 11:54 PM
I have just changed the Gyarados Event in Pokemon Gold is there any way in a hex to make it not shiny and if so could some one tell me the hex number for shiny Pokemon?
If you take a look at the script with your Hex-Editor, you should see something like this a few bytes after it started:
[1E0307]
The 07 at the end is the Hex code that determines the battle type.
Changing it to:
- 09 will make it a battle (not being able to run from it)
- 07 will make it a Shiny battle
- 05 will make it a battle (being able to run from it)
- 00/01 will make it a battle (being able to run from it)

simadons
August 5th, 2006, 01:54 AM
Id like to appolgize for doubble posting and IT seems that the site has stabblelized. Now, dose anybody know the scrip offsets for the pcs in the pokemon centers?

Chimp
August 5th, 2006, 02:00 AM
Well, how would I get Mew to work? Would I make another pokemon appear as Mew, edit it's stats so it's like Mew's, then set that edited pokemon as the starter? (If that is the solution, how would I do that?)

And in Advance Map, how do I edit the place where the Main character hops out of the truck?

Blazichu
August 5th, 2006, 02:14 AM
With the Shiny Gyarados Event all I find is 52 in the hex and A1 in the text what is going on?

Scizz
August 5th, 2006, 02:46 AM
Id like to appolgize for doubble posting and IT seems that the site has stabblelized. Now, dose anybody know the scrip offsets for the pcs in the pokemon centers?
The offset is not known. But what you can do to find it out, is to backtrace the textpointer of when the boot up message appears.
When you find it, you are in the script.

Well, how would I get Mew to work? Would I make another pokemon appear as Mew, edit it's stats so it's like Mew's, then set that edited pokemon as the starter? (If that is the solution, how would I do that?)

And in Advance Map, how do I edit the place where the Main character hops out of the truck?
Dude, how about you read the first post, together with the thread title and the PM I sent you?
The questions you asked have already been asked and answered, hence the disappearing of your posts! (As it is stated in the first post.)

As I already told you just a few posts above, you can't "get Mew to work". The bit that determines if it will obey you or not can not be set directly yet.
A way would be to create your own Mew, on base of another, "normal", Pokémon.
Again, how to do that has already been asked and answered here, aswell as in the Documents forum.

For you 2nd question, which, again, has been asked and answered already, you can not edit where the character hops out of the Truck with Advance-Map.
You can do that with EliteMap, by Holding the Shift-key + right clicking on the Map, and selecting "Set [Gender] position here".
If the ROM you are using it not (fully) supported in EliteMap yet, for example that method not working with Emerald, then you either have to manually find and add/edit the data with your Hex-Editor, or wait for someone to add it.

With the Shiny Gyarados Event all I find is 52 in the hex and A1 in the text what is going on?
When you do a search for "5C821E1E0307", you will get straight to the offset of the shiny Gyarados event.
The bolded part is what I told you above. The "5C" is the Pokémon loading command, and the "82" is a Gyarados on level 30 ("1E").
Once you found it, you can easily edit the Pokémon and level, aswell as the battle type, with the information I gave you above.

simadons
August 5th, 2006, 03:13 AM
I used the search and couldnt find the tool to combine the scripts I made to the rom. I also hear of a program called dimond cutter, but couldnt find it etheir.

EDIT: Could I aslo add a sound to the snoralax script?

slipknot
August 5th, 2006, 10:47 AM
Please move this thread to the Simple Questions and please PM me the answer. This thread belongs in Simple QUestions but I can't access it for at least a week now (didn't pay attention to how long, but decided I have waited long enough now).

With PokécryGUI, where can I find the Deoxys crie so I can change some pokemon's cry to Deoxys? If it's on samples, I get the error the file isn't found and I can't find it in Sappy

Also, what do they mean with TableOffset, PokeID (Poke number, right?) and SampleOffset?

Must I use Encode, and must I use Use Table and Auto Play?

And last: How do I change the neccesary experience for pokemon? Now, my self-created Deoxys have a much lower grow rate then normal, I have changes the base experience in Pokémon Amplifier but that doesn't work.

Thanks

Scizz
August 5th, 2006, 12:20 PM
I used the search and couldnt find the tool to combine the scripts I made to the rom. I also hear of a program called dimond cutter, but couldnt find it etheir.

EDIT: Could I aslo add a sound to the snoralax script?
The tool that compiles your Script to the ROM is called ScriptED, as I told you a few posts ago.
It's an enhanced version of DiamondCutter, so you can use it instead of it. It's included in the EliteMap package.

To add a Pokémon cry to your script, just add:
cry 0xA1 143
#raw 01
where you want the cry to be played.

Please move this thread to the Simple Questions and please PM me the answer. This thread belongs in Simple QUestions but I can't access it for at least a week now (didn't pay attention to how long, but decided I have waited long enough now).

With PokécryGUI, where can I find the Deoxys crie so I can change some pokemon's cry to Deoxys? If it's on samples, I get the error the file isn't found and I can't find it in Sappy

Also, what do they mean with TableOffset, PokeID (Poke number, right?) and SampleOffset?

Must I use Encode, and must I use Use Table and Auto Play?

And last: How do I change the neccesary experience for pokemon? Now, my self-created Deoxys have a much lower grow rate then normal, I have changes the base experience in Pokémon Amplifier but that doesn't work.

Thanks
I already told you what value you have to insert there in this (http://www.pokecommunity.com/showpost.php?p=2196126&postcount=1197) post.

TableOffset is the table where all the Pokémon cry offsets are listed it.
PokeID is, as you already said, the ID of the Pokémon.
SampleOffset is the offset of the actual cry data, the sound.

You have to check the "Use Table" option. Then, when you want to export the cry, select a Path in the "Wave" box, and click "Dump".
To import a cry, select the file in the "Wave" box, and click on "Encode".

It's just normal that you can't copy a Deoxys exactly like it is in the other games. There are most likely still some unknown, hidden, values, that PA can't edit yet. (That might include some additional values to determine the growth-rate and experience.)

Lordpenguin
August 5th, 2006, 02:01 PM
Has anyone got the most recent banks for Poketext? (the gs version)

I had some fairly decent ones, then installed a less recent update :(

Thanks in advance.

Scizz
August 5th, 2006, 03:48 PM
Has anyone got the most recent banks for Poketext? (the gs version)

I had some fairly decent ones, then installed a less recent update :(

Thanks in advance.
You can download the latest PokeTEXT beta version here (http://rhtools.scizz.com/GSC/Poketext_FixedBeta.zip).
It includes the Text banks for G/S/C and R/B/Y, that have been added until the 7th July 2005.
Though the last update was like a year ago, it seems to include all important Text banks.

Lordpenguin
August 5th, 2006, 08:53 PM
Thank you. That was even more updated than the first one I had.

It seems to that hacking the advance games probably takes over in the last year.

Me, I actually prefer GS. RS seems... too bright and colourful. And to many new pokes.

My hack for GS is coming along now I have those. Thankyou again!

Chimp
August 5th, 2006, 10:17 PM
How do I edit which Pokemon is chasing Professor Birch? Not the overworld sprite, but the pokemon that you actually battle. (Please, I honestly have searched, but I havn't found an answer.)

Scizz
August 5th, 2006, 10:19 PM
How do I edit which Pokemon is chasing Professor Birch? Not the overworld sprite, but the pokemon that you actually battle. (Please, I honestly have searched, but I havn't found an answer.)
You can not edit it. The battle with the Poochyena/Zigzagoon in the beginning of the game is hardcoded, therefore, you can not change it without ASM-Hacking knowledge.

simadons
August 6th, 2006, 01:08 AM
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.

Scizz
August 6th, 2006, 12:22 PM
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.
Please provide the exact Script, like you compiled it to the ROM, so we can check it for errors or mistakes.

willypiggy
August 6th, 2006, 01:11 PM
I think that this is the correct place to put this so I'll go ahead and ask my questions :)

I have started making a pokemon hack called pokemon chaos grey (stil lworking on name so not definate) but I am changing the storyline to pokemon emerald using an emerald rom and I have laoded the rom into Advance Map and changed about 5-10% of the maps but I am woundering how I can modify events for example, in petalberg woods when the aqua grunt comes and battles how can I change it so that he is running away from a new team and the new team member trys to battle you? Also how can I add events such as fighting a level 30 kyroge in the middle of slateport city (Yes i know it sounds strange) I have had a look at the tut board but when I click tools on advnace map I don't have the correct option.

Thanks a lot!

Scizz
August 6th, 2006, 03:12 PM
I think that this is the correct place to put this so I'll go ahead and ask my questions :)

I have started making a pokemon hack called pokemon chaos grey (stil lworking on name so not definate) but I am changing the storyline to pokemon emerald using an emerald rom and I have laoded the rom into Advance Map and changed about 5-10% of the maps but I am woundering how I can modify events for example, in petalberg woods when the aqua grunt comes and battles how can I change it so that he is running away from a new team and the new team member trys to battle you? Also how can I add events such as fighting a level 30 kyroge in the middle of slateport city (Yes i know it sounds strange) I have had a look at the tut board but when I click tools on advnace map I don't have the correct option.

Thanks a lot!
You can modify existing happenings or add new ones with a Script Editor, which is what we call "scripting".
A Script Editor is included in the EliteMap package, it can be used to view scripts, aswell as to compile your edited/new ones to the game.
The search function of this forum will come in handy here, as almost everything that you need to start has been covered up before.
Also a look in the Documents forum will be helpful.

mxkpkmnextu??
August 6th, 2006, 10:28 PM
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/

Scizz
August 6th, 2006, 10:47 PM
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:
#raw 53
#raw [event number of the person]
#raw 00

To show sprites, you have to add this command:
#raw 55
#raw [event number of the person]
#raw 00

And to move sprites to a certain location on the map, use this command:
#raw 57
#raw [event number to move]
#raw 00
#raw [x position in hex]
#raw 00
#raw [y position in hex]
#raw 00

simadons
August 6th, 2006, 10:53 PM
#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.

Scizz
August 6th, 2006, 11:00 PM
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:
#raw 53
#raw 050
#raw 00
What is the Event number of the event that you want to hide?

simadons
August 6th, 2006, 11:03 PM
The event number I made it is 50.

Another quicky, how long dose it take a thread to be valadated?

Scizz
August 6th, 2006, 11:09 PM
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:
#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.

simadons
August 6th, 2006, 11:13 PM
thanks again... for all your help.

Liquinn
August 7th, 2006, 10:44 AM
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.

Scizz
August 7th, 2006, 02:01 PM
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 (http://mew3inc.mihopa.be/lists/gscpkmnhex.txt).

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.)

evco1
August 7th, 2006, 09:09 PM
What is the faster way to translate a pokemon gba rom?

Scizz
August 7th, 2006, 09:39 PM
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.

Blazichu
August 8th, 2006, 11:25 AM
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?

Scizz
August 8th, 2006, 01:25 PM
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.

dakelland
August 9th, 2006, 11:33 AM
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

Liquinn
August 9th, 2006, 11:44 AM
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.

Scizz
August 9th, 2006, 11:46 AM
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 (http://www.pokecommunity.com/showthread.php?t=47966) thread to your "PokeRoms.ini" file.

evco1
August 9th, 2006, 12:02 PM
There is an extractor for gba roms?

Scizz
August 9th, 2006, 12:07 PM
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.

pokeant
August 9th, 2006, 02:57 PM
may i know how to edit pokemon blue's:
rival's name
map connection
town map

Leo~chan
August 9th, 2006, 06:26 PM
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 °_°

Jonny Buuz
August 9th, 2006, 06:29 PM
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.

Scizz
August 9th, 2006, 08:00 PM
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:
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.
#org 0x[offset of movement data]
#raw B 'Right2
#raw FE 'Exit

That's it.

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.

ssj
August 9th, 2006, 08:04 PM
Using tile molester would it be possible to change the heros overworld sprite ?

Scizz
August 9th, 2006, 08:06 PM
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.

Leo~chan
August 9th, 2006, 08:08 PM
Thanks Scizz!
yuo are the master hacker *çççççç*!
*EDIT*
it does not work!
'-----------------------
#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 ç__ç!

Jonny Buuz
August 9th, 2006, 08:09 PM
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?

Hack_Slash_Scizor
August 10th, 2006, 04:31 AM
Hey guys i keep getting an error messages when i try and open programs such as Advance text and Advance starter. I downloaded the needed runtime files but nothing changed.

The error message looks like this.
http://img232.imageshack.us/img232/3356/errorpkmnvi7.png

Can someone lease help!

HackMew
August 10th, 2006, 07:47 AM
Hey guys i keep getting an error messages when i try and open programs such as Advance text and Advance starter. I downloaded the needed runtime files but nothing changed.

You get that error, as the messagbox says, because your version of COMDLG32.OCX is outdated. I've checked the Needed files sticky but I didn't find that file in the list. However you can download it from here (http://freeware.it-mate.co.uk/downloads/controls/comdlg32.zip). Yust decompress the archive in the program's folder.


hi can i have some help i have elitemap but when i try to load emerald up it says "this is not a supported pokemon advance rom" what does that mean tell me please

Check this (http://www.pokecommunity.com/showpost.php?p=2212526&postcount=1315) post

Hack_Slash_Scizor
August 10th, 2006, 09:22 AM
I downloaded that file, but nope, im still getting the same error lol!?

Scizz
August 10th, 2006, 09:39 AM
Thanks Scizz!
yuo are the master hacker *çççççç*!
*EDIT*
it does not work!

Where it is that mistake?
;___;, i'm very sad ç__ç!
As I already told you via PM, putting the "applymovement" command above the "givepokemon" command will solve your problem.
This is because some parameters of the "givepokemon" command are missing, and it interprets the "applymovement" command as those missing parameters, thus, ignoring it.

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.

So now that I think about it, there's something wrong with the script... what?
I can't spot an error in the last Script, however, try changing your first Script to this:
#org 0xAA23C0
lock
faceplayer
message 0xAA23F0
boxset 0x6
release
end

#org 0xAA23F0
= I know where you sleep.
It's important to watch the space between the "=", and the beginning of the text, as ScriptED needs it to recognize the command correctly.


Hey guys i keep getting an error messages when i try and open programs such as Advance text and Advance starter. I downloaded the needed runtime files but nothing changed.

The error message looks like this.
http://img232.imageshack.us/img232/3356/errorpkmnvi7.png

Can someone lease help!
Try downloading this (http://www.scizz.com/stuff/COMDLG32.zip) file, and place it either in the program's, or in your "Windows/system32" folder.
This is a newer version of the control that -HackMew- linked you to.
If it still doesn't work, that's a problem with your computer, which we can not fix.

If it works, and further error messages regarding missing files should pop up, just google for the file, or download it from one of the sites mentioned in the "Needed files" sticky.

tech
August 10th, 2006, 12:48 PM
How do you get an yes/no option with two posibilities depending on what is picked?

Scizz
August 10th, 2006, 02:52 PM
How do you get an yes/no option with two posibilities depending on what is picked?
To create a "Yes/No-choice" Script, you will have to create a simply Messagebox script, but instead of using Boxset 6 or 4, you use Boxet No. 5.
This will trigger a Yes/No choice, and depending on the result, a different script will be called.
A sample Script could look like the following:
#org 0x800000
lock
faceplayer
msgbox 0x800010
callstd 0x5
compare LASTRESULT 0x0
if 0x1 jump 0x800020
msgbox 0x800030
release
end

#org 0x800010
= What do you choose?

#org 0x800020
msgbox 0x800040
callstd 0x6
release
end

#org 0x800040
= Yes was chosen.

#org 0x800030
= No was chosen.
The Script is untested, but should work.

Leo~chan
August 10th, 2006, 03:31 PM
Excuse, but when I call the event applymovement, because the not rimana moved sprite ones in the position that I have made it to arrive? If it is possible, you can explain as to make it to me to remain them?
Excuse me for bad English >_<"...
Thanks a lot for help me ^_^

STA Nirvana IND
August 10th, 2006, 04:59 PM
I'm relativly new to rom hacking and i was wondering if there were any snow blocks in pokemon ruby and if there arnt is there any way i could add them to the game. I really wanna make one of the cities into one that is snow covered. Thank you in advance.

Scizz
August 10th, 2006, 06:33 PM
Excuse, but when I call the event applymovement, because the not rimana moved sprite ones in the position that I have made it to arrive? If it is possible, you can explain as to make it to me to remain them?
Excuse me for bad English >_<"...
Thanks a lot for help me ^_^
As I already said in this (http://www.pokecommunity.com/showpost.php?p=2208917&postcount=1301) post, it's possible to move sprites to a certain location on the map with this command:
#raw 57
#raw [event number to move]
#raw 00
#raw [x position in hex]
#raw 00
#raw [y position in hex]
#raw 00
However, there is no command that sets the sprite position permanently, so it will always be at the original position when you re-enter the map.
You could avoid that, by assigning that command to a trigger event, that you place at the entrances of a map.
That way, whenever you enter the map, the sprites will be moved to the location you specified.

I'm relativly new to rom hacking and i was wondering if there were any snow blocks in pokemon ruby and if there arnt is there any way i could add them to the game. I really wanna make one of the cities into one that is snow covered. Thank you in advance.
There are no snow blocks in Pokémon Ruby/Sapphire/Fire-Red/Leaf-Green/Emerald.
You can easily add your own tiles if you export the Tileset with Advance-Map, repaint it, and import it again.
How to do that exactly has already been asked and answered before. The search function or looking around in this thread and the Advance-Map thread will help you find that answer.

Cepheus
August 10th, 2006, 07:13 PM
I'm new to ROM hacking, and wanted to know if it is possible to create a single ROM with Hoenn and Kanto accessable.
I'd like to eventually like to add in every region, including Shinou, when it's released, but wanted to know if this was possible.

Scizz
August 10th, 2006, 07:21 PM
I'm new to ROM hacking, and wanted to know if it is possible to create a single ROM with Hoenn and Kanto accessable.
I'd like to eventually like to add in every region, including Shinou, when it's released, but wanted to know if this was possible.
In theory, it is possible. However, you would have to incude all the maps, all of the Tilesets and sprites, and re-do all of the scripts, which are around 1000+ for every region.
So, it's safe to say that this idea is unrealizable.

Cepheus
August 10th, 2006, 07:24 PM
In theory, it is possible. However, you would have to incude all the maps, all of the Tilesets and sprites, and re-do all of the scripts, which are around 1000+ for every region.
So, it's safe to say that this idea is unrealizable.

But there's no way to just some how take the coding that's already there, and create some way to link the two together?

Scizz
August 10th, 2006, 07:28 PM
But there's no way to just some how take the coding that's already there, and create some way to link the two together?
Nope, there is no way to just copy a script from one game to another. Every script will have to be adjusted, because they contain offsets that need to be changed in order to work in the new file.
So, as I said already, this idea is unrealizable.

drem
August 10th, 2006, 09:32 PM
how to change the city's location in the worldmap, with hex editing (without elitemap)

score_under
August 10th, 2006, 10:09 PM
->Drem: Why can't you just use EliteMap?
And:

I seem to have some trouble with a rubikon script:

lock
faceplayer
checkflag 0x6874
compare LASTRESULT 0x1
if 0x1 call 0x6B1150
msgbox 0x86B1200 '"Whoa! Look out behin..."
callstd 0x3
setflag 0x6874
[wildbattle code here...]
release
end

'-----------------------
#org 0x6B1150
msgbox 0x816D51A '"I'm going to catch a..."
callstd 0x3
release
end


As you can probably see, I have chosen a random flag name. But, that flag never seems to change to 1, because the battle script keeps repeating itself everytime I talk to the guy. Also I created another script (Used a random flag, it was 1155.) and the flag changed back to 0 everytime I walked 2 levels away.

tech
August 10th, 2006, 11:23 PM
You know you use.....

#raw 53
#raw [event number of the person]
#raw 00

to hide a sprite.

Well on each map the event munbers reset....so what would you do if you wanted to show/hide a sprite on a differant map to the one the script is inserted into?

Scizz
August 10th, 2006, 11:40 PM
how to change the city's location in the worldmap, with hex editing (without elitemap)
The structure for the World-Map location data in Hex is the following:
[X position (1 byte)][Y position (1 byte)][Width (1 byte)][Height (1 byte)]

Now, if you would have told us the ROM you need them for, we coul have given you the offsets aswell.

->Drem: Why can't you just use EliteMap?
And:

I seem to have some trouble with a rubikon script:

As you can probably see, I have chosen a random flag name. But, that flag never seems to change to 1, because the battle script keeps repeating itself everytime I talk to the guy. Also I created another script (Used a random flag, it was 1155.) and the flag changed back to 0 everytime I walked 2 levels away.
Flag values can not be retrieved by the "compare" command.
In order to get the value of a flag, you have to use the following command combo:
checkflag 0x[flag here]
if 0x1 jump 0x[offset here]
Also, it could happen that the flags you used were already in use by another event.

In that case, just try different flag values. (Such as 10A.)

You know you use.....

#raw 53
#raw [event number of the person]
#raw 00

to hide a sprite.

Well on each map the event munbers reset....so what would you do if you wanted to show/hide a sprite on a differant map to the one the script is inserted into?
That is not possible.
However, you could combine the hiding script with a flag check, and assign it to a trigger event that is executed when you enter the map.
That way, you can set a flag on one map, and if it's set, the trigger event will hide the sprite on the other map when you enter it.

tech
August 11th, 2006, 12:41 AM
I've decided to use the fr/lg way of choosing a starter pokemon in my ruby hacy (selecting a ball from the table).
I've used this script but the pokeball wont hide:

#org 0x6b0b70
checkflag 0x01
if 1 0x700000
message 0x6b0ba0
boxset 0x5
compare LASTRESULT 0x1
if 0x0 jump 0x6c0000
fanfare 0x172
message 0x877800
boxset 0x6
waitfanfare
setflag 0x01
givepokemon 0x01 0x05 0x00
#raw 53
#raw 05
#raw 00
release
end

#org 0x700000
message 0x700100
boxset 0x6
end

#org 0x6c0000
release
end

#org 0x700100
= Don't be greedy!

#org 0x6b0ba0
= Do you want Bulbasaur?

#org 0x877800
= You chose Bulbasaur.

Jonny Buuz
August 11th, 2006, 04:33 AM
From the Docs/Tuts section:

Enter these numbers in unLZ-GBA to get to the following things:

herogirl-fire red:1176
heroboy-fire red:1178
oak-fire red:1179
gary-fire red:1180

212 = Gamefreak logo
252 = Pokemon hero running etc.
253 = Pokemon heroin running etc.
254 = Pokemon rival back side etc.
255 - 257 = pokemon battle spot where u sit on and finding pokemon
356 = some weird thing
395 = Numbers for the game
406 = Some weird drodrio moving its head
419 - 431 = all of the balls open/close
646 = fighting signs, kick, punch etc.
648-9, 2048 = substitute pokemon
668 - 1443 = Pokemon in the game
1176 = herogirl
1178 = heroboy
1179 = oak-fire red
1180 = gary
1444 = pokemon egg
1445-1498 = unknowns
1499 - 1646 = spirites
1555, 1556 = RSE pokemon hero rival spirites
1605, 1623, 1624 = rival sprite
1634, 1635 = FRLF spirites
1676 = some earthquake
1689 = pokemon status
1694-1695 = bag
1720 - 1932 = items, first ones are the balls
1972 - 1974 = pokedex commands
2016 = some weird message from gamegreak
76 = pictures of the palettes for the maps

The problem I have here is, Professor Oak at 1179 looks remarkably like the back of a Torchic.

Am I reading something wrong?

Gary appears to have Combusken pox, and so on and so forth for the hero and heroine.

drem
August 11th, 2006, 07:50 AM
->Drem: Why can't you just use EliteMap?
Becose i us a french merald, and i have found offsets only for pet and rsball...

The structure for the World-Map location data in Hex is the following:
[X position (1 byte)][Y position (1 byte)][Width (1 byte)][Height (1 byte)]

Now, if you would have told us the ROM you need them for, we coul have given you the offsets aswell.

thanks, but i have found milliards from "01000100

Scizz
August 11th, 2006, 09:01 PM
I've decided to use the fr/lg way of choosing a starter pokemon in my ruby hacy (selecting a ball from the table).
I've used this script but the pokeball wont hide:

The script looks fine to me.
Are you sure that you used the correct event number?

From the Docs/Tuts section:



The problem I have here is, Professor Oak at 1179 looks remarkably like the back of a Torchic.

Am I reading something wrong?

Gary appears to have Combusken pox, and so on and so forth for the hero and heroine.
You have to run a deep scan, in order to use the list above.
"File -> Run deep scan".

Becose i us a french merald, and i have found offsets only for pet and rsball...



thanks, but i have found milliards from "01000100
Since I don't have a French Emerald ROM, I can only give you the offsets for the English one.
However, if you copy the bytes from the English one, and search them in the French one, you can easily find the offset yourself.

Emerald English: 5A147C (Hex)

Jonny Buuz
August 12th, 2006, 02:17 AM
Well, when it's not in deep scan, it's Pokemon, and when it's in deep scan, it's just garbage.

Should've said that in the first post, sorry.

Any suggestions? It's back on normal scan if that matters.



EDIT: Also, that whole list works fine in regular scan, just not Oak and Gary and whatnot.

drem
August 12th, 2006, 11:37 AM
i know how, i have fond the all offsets for (advance-mart, advance attack, N.A.E, pet, pokéamplifier...) but i don't found these for "maps" and "map labels" for elite map.

Scizz
August 12th, 2006, 11:57 AM
Well, when it's not in deep scan, it's Pokemon, and when it's in deep scan, it's just garbage.

Should've said that in the first post, sorry.

Any suggestions? It's back on normal scan if that matters.



EDIT: Also, that whole list works fine in regular scan, just not Oak and Gary and whatnot.
The deep scan only applies to the first 3 entires of the list.
All of the other entries use the normal mode.

I just verified those 3 entries by doing a deep scan, and the numbers are correct.
If they differ in your ROM for some reason, try going back/forward a few entries. You will find them in 256 / Black White mode.

i know how, i have fond the all offsets for (advance-mart, advance attack, N.A.E, pet, pokéamplifier...) but i don't found these for "maps" and "map labels" for elite map.
The "MapLabels" and "Maps" offsets in the "PokeRoms.ini" file in EliteMap lead to a Pointer, this Pointer differs in a ROM that has a different language, therefore, you can't find it.
To get around this, follow the pointer in the English ROM, and search for the data that you find at that offset in the French one. Now turn the offset you found them at into a Pointer, and you'll have the offset that you have to add in your INI file.

For the Labels, it's a bit different, since they are in a different language, and therefore, differ bytewise.
Here, you search for the Map-Name list in your French ROM with a Hex-Editor and Table file.
Once you are there, turn the starting offset into a Pointer, and search it. When you find it, you have the offset that you have to enter at the "MapLabel" entry in the INI file.

slipknot
August 12th, 2006, 12:40 PM
Thanks Scizz

And this site looks great now, not to mention it runs fully functional now :) I can finally access this topic

I am now creating a hack on Pokemon Emerald and I like to change the music in trainer battles to give it more variety and that normal trainer music is boring. I have tried pet.exe but the names are very weird and when I click on 1 I get run-time error 6 (I have all the neccesary files), and Advancebattle (it can change the music, right?) is nowhere to be found.

Which program allows me to change the music in trainer battles? And where can it be found?

Leo~chan
August 12th, 2006, 01:44 PM
I have removed the event of regulating the clock and that one of the university professor in danger… And then, I up do not see more the labels with the names of the cities… Exists one script in order to activate them? Thanks a lot ^°^!
(Bleah! My Bad English ;__;!)

Scizz
August 12th, 2006, 02:27 PM
Thanks Scizz

And this site looks great now, not to mention it runs fully functional now :) I can finally access this topic

I am now creating a hack on Pokemon Emerald and I like to change the music in trainer battles to give it more variety and that normal trainer music is boring. I have tried pet.exe but the names are very weird and when I click on 1 I get run-time error 6 (I have all the neccesary files), and Advancebattle (it can change the music, right?) is nowhere to be found.

Which program allows me to change the music in trainer battles? And where can it be found?
The only specialised program to change the TrainerBattle music byte is PET.
The other method is to use a Hex-Editor.

I just loaded PET, together with an Emerald ROM, and it's working fine.
You might have to add the correct offsets to your PokeRoms.ini file first, as it is not supported by EliteMap by default.
You can fin dthe offsets in the Documents forum. If you added them, and it still doesn't work, I will give you the structure for the data in Hex.

I have removed the event of regulating the clock and that one of the university professor in danger… And then, I up do not see more the labels with the names of the cities… Exists one script in order to activate them? Thanks a lot ^°^!
(Bleah! My Bad English ;__;!)
I just tried to reproduce the error, and disabled the Clock setting event, as well as the Professor event on the Route.
Result: The Map labels are still showing up.

Make sure you didn't corrupt anything while editing. The easiest way to fix it, is to go back to your backup copy and carefully re-do the changes you made.

Sharanza
August 12th, 2006, 07:58 PM
Whene i insert new tiles in Fire red rom

all tiles are messed up like this http://img218.imageshack.us/img218/1706/messedupqf7.png
see that lines in market pokecenter etc

pleas help

Green Charizard
August 12th, 2006, 08:31 PM
Did you use unLZ.gba? If so was "Auto abort if new data is bigger" ticked, if not that can sometimes cause that.

Semele
August 12th, 2006, 08:34 PM
Did you insert the tiles with Advance map? Then it's probably cause you inserted new tiles with palette 0. Sometimes the tiles mess up when you edit or insert them with palette 0.

Smarties-chan
August 13th, 2006, 02:02 PM
I ran a search on it, but couldn't find anything, so could someone please tell me where the regular trainer battle offsets in Pokémon Firered start? Also, what is the offset for the script where Professor Oak gives you the Pokédex?

Jirachi260
August 13th, 2006, 02:43 PM
Hello, I look for a script to be inserted to allow to make a Day / night system.

It is rather easy, it is enough to create a script with the meteorological commands(orders) and to insert it into the clock.

It is necessary to find this script.

Can you help me?

I heard(understood) that the creator of diamond cuter knew him(it).

Is it true?

Ah yes, this script also has to walk(work) with the French versions (Ruby, saphire and émerald).

It is everything.
Good day.

Scizz
August 13th, 2006, 02:56 PM
I ran a search on it, but couldn't find anything, so could someone please tell me where the regular trainer battle offsets in Pokémon Firered start? Also, what is the offset for the script where Professor Oak gives you the Pokédex?
The Trainer Battle data for Fire-Red starts at offset 23EAF1 (Hex).
And the PokéDEX branch of Prof. Oak's script is located at 16961E (Hex).

Hello, I look for a script to be inserted to allow to make a Day / night system.

It is rather easy, it is enough to create a script with the meteorological commands(orders) and to insert it into the clock.

It is necessary to find this script.

Can you help me?

I heard(understood) that the creator of diamond cuter knew him(it).

Is it true?

Ah yes, this script also has to walk(work) with the French versions (Ruby, saphire and émerald).

It is everything.
Good day.
There is no script that implements a day/night system into any of these games.
In order to implement something like this, you would have to add a script, that continously checks a certain variable for its value (the time variable), and depending on it, toggles the weather effects on the map.

However, this is kind of impossible to realize, as that script would have to run in an endless loop to shift the weather on the exact time, thus, blocking other scripts from execution.
So, unless you are able to use ASM hacking techiques to modify the in-game engine to check this, it's not possible to add it.

drem
August 13th, 2006, 03:23 PM
hello, jirachi260 (my friend on the pokemon hacking), i have very full questions !

1. wath is flag in emerald for : - party menu
- pokedex menu
- POKéNAV menu
- all badges (one per one)
2. I did not understand, in the elitemap offsets searching ! sorry !
thanx in advance

bboy_squid
August 15th, 2006, 10:35 AM
Since attacks in Diamond and Pearl will still have type affinities but be based on either Physical or Special stats, I was wondering if there was any way to do the same thing in R/S/E.

Does anyone know if it is possible to hack a game to run in a similar fashion to D/P? I had always wished Crabhammer was a physical move or that I could change Crush Claw to a dark move and base it off attack. It's not a big deal, but I'd really like to change these things.

Scizz
August 15th, 2006, 11:58 AM
hello, jirachi260 (my friend on the pokemon hacking), i have very full questions !

1. wath is flag in emerald for : - party menu
- pokedex menu
- POKéNAV menu
- all badges (one per one)
2. I did not understand, in the elitemap offsets searching ! sorry !
thanx in advance
The question about the Flags in Emerald has already been asked and answered before.
Please use the search function before asking questions, as it is stated in the thread title.

The wanted Flags in Emerald split in the following values:
Party: &H860
PokéDex: &H861
PokéNav: &H862

Badge 1: &H867
...
Badge 8: &H86E
Now that you have the values for the 1st and last Badge, the other values should be easy to figure out.

For the offsets:
If you want to find out the MapLabel offset for the French version of Emerald, open your French ROM, and search the beginning of the location table. (Where all the city and route names are listed.)
Once you found it, turn the starting offset of it into a pointer, now search that pointer in the ROM.
When you find it, just write down the offset you found it at, and add it to the INI file.

For the Map data, you have to go a different way.
Load your English Emerald ROM, and go to the "Maps" offset that is specified in the 'PokeRoms.ini'.
Once you're there, you will find a pointer. Calculate the offset for it, and go to that offset.
Now, you will see a whole bunch of pointers, next to each other. Calculate the offset for the first pointer there, and follow it again.
Now you are in the Map data for the first map.
Copy a few bytes, and search the in your French ROM.
When you found them, turn the offset you found them at into a pointer, and search for it.
After you have found that pointer, calculate the pointer for the offset you found it at, and again, search it.
Now, when you have found that pointer, write down the offset you found it at, and add it to your INI file.

It's a bit of a hassle, but should be easy to do.

An easier way would be to just switch to Advance-Map for Map editing, because it will most likely support the ROM from the beginning.

Since attacks in Diamond and Pearl will still have type affinities but be based on either Physical or Special stats, I was wondering if there was any way to do the same thing in R/S/E.

Does anyone know if it is possible to hack a game to run in a similar fashion to D/P? I had always wished Crabhammer was a physical move or that I could change Crush Claw to a dark move and base it off attack. It's not a big deal, but I'd really like to change these things.
This is not possible in the Advance games, as the type (Physical or Special) of the attack is determined via the Element of said attack.
There is currently no way to change it.

ssj
August 15th, 2006, 12:48 PM
How do I change the heros back sprite in Fire Red once ive found it in TLP?

Scizz
August 15th, 2006, 12:53 PM
How do I change the heros back sprite in Fire Red once ive found it in TLP?
Once you have found a graphic that you want to edit with TLP, click on a tile (part) of said graphic, and re-draw it in the "Tile Editor" box, that is displayed right next to the main window.
To change the current color of your "brush", click on one of the colors that are displayed in the "Palette Editor" box below it.

pokemaniaco
August 15th, 2006, 05:30 PM
Hi everybody!

Do you know how to make a rom that has kanto, johto and hoen pokémons into a rom with only kanto and jochto?

I think there is a program which can change pokémons locations, but i don't know which program is it and how can I use it...

Please answer my question.

Thanks in advance.

Bye bye!

Scizz
August 15th, 2006, 07:00 PM
Hi everybody!

Do you know how to make a rom that has kanto, johto and hoen pokémons into a rom with only kanto and jochto?

I think there is a program which can change pokémons locations, but i don't know which program is it and how can I use it...

Please answer my question.

Thanks in advance.

Bye bye!
Making more than 1 region accessable in a game is unrealizable, as I already mentioned a few posts before.
However, you can make every Pokémon catchable in the wild, by modifying the data with an editing program like Advance-Map (all Advance-Games), or Bewildered (EliteMap/Only Ruby/Sapphire supported).

Both programs are self explaining.

kkaranth
August 16th, 2006, 04:18 AM
how to open a ROM in elitemap, it's just black when i start

Cartmic
August 16th, 2006, 09:10 AM
Click the load ROM button next to the blank box which has the words ROM next to it.

Liquinn
August 16th, 2006, 09:38 AM
I hope this question is simple.

I'm using a G/S/C rom and I speak to this person. Is there anyway I can make the person dissapear permantly after I speak to him?

Hopefully that's a simple question.

Liquinn.

XVIIVX
August 16th, 2006, 11:05 AM
I've been searching for answers to these questions for a few days now, but I can't seem to find them...

1. I have done a new tileset replacing tileset number 34 (just different junktiles) but it is possible to make that tileset use the same palettes as the Slateport tileset? (number 4)

2. How is the data for trainers pokemon arranged in hex? (I know how to look where it starts with the help of pet, but how what to change and what to leave as it is?)

3. Is it possible to add new trainers without replacing old ones? (Not trainerclasses or sprites, how to make a script for a new trainer...)

Scizz
August 16th, 2006, 11:18 AM
I hope this question is simple.

I'm using a G/S/C rom and I speak to this person. Is there anyway I can make the person dissapear permantly after I speak to him?

Hopefully that's a simple question.

Liquinn.
You can hide a Person Event in the G/S/C games, by adding the following Hex-Command to the Event's Script:
[6D][Event number]
Of course without the brackets, also remember to replace "Event number" with the number of the actual Event that you want to hide.

I've been searching for answers to these questions for a few days now, but I can't seem to find them...

1. I have done a new tileset replacing tileset number 34 (just different junktiles) but it is possible to make that tileset use the same palettes as the Slateport tileset? (number 4)

2. How is the data for trainers pokemon arranged in hex? (I know how to look where it starts with the help of pet, but how what to change and what to leave as it is?)

3. Is it possible to add new trainers without replacing old ones? (Not trainerclasses or sprites, how to make a script for a new trainer...)
1. You could do that in 2 ways.
The first one would be to search the Palette for your new Tileset, calculate a Pointer for it, and repoint it to use Slateport's default Palette.

The second way would be, editing every Block of the Tileset, using Advance-Map's Block-Editor, and set the Palette of Slateport for every Block in the Tileset.

2. The Pokémon data can be stored in 3 ways.

1st way:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Unknown2 (2-Bytes)]

2nd way:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Attack1 (2-Bytes)][Attack2 (2-Bytes)][Attack3 (2-Bytes)][Attack4 (2-Bytes)][Unknown2 (2-Bytes)]

3rd way:
[Unknown1 (1-Byte)][Filler 1-Byte)][Level (2-Bytes)][Pokémon (2-Bytes)][Unknown2 (2-Bytes)][Attack1 (2-Bytes)][Attack2 (2-Bytes)][Attack3 (2-Bytes)][Attack4 (2-Bytes)]

3. Since there are a few unused Trainer-slots in the game, you can easily modify one of them to 'add' a new Trainer.
Once you have done that, all you have to do is call the new Trainer-Battle with the respective command in a Script.

Jonny Buuz
August 16th, 2006, 06:34 PM
For whatever reason, every time I try to search for something, I get

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /home/pokecomm/public_html/search.php on line 1057

So if these questions have been asked before, please forgive me.

1) For all of the big sprites of Oak, Gary, Ash, etc. in Fire Red, it says all of their palettes are the same (462D34h). That just doesn't seem logical; is it correct though?

1.5) If they share the same palette, how would I palette edit? I'm guessing the same way as I normally do, but if they share a color... yeah.

2) In reference to the post of Scizz's directly above mine, would it be that more powerful trainers (i.e. e4, gyms) use the second and third formulas, while little trainers on routes use the first? And is the formula consistent for all advance games?

Thanks.

Scizz
August 16th, 2006, 06:42 PM
For whatever reason, every time I try to search for something, I get



So if these questions have been asked before, please forgive me.

1) For all of the big sprites of Oak, Gary, Ash, etc. in Fire Red, it says all of their palettes are the same (462D34h). That just doesn't seem logical; is it correct though?

1.5) If they share the same palette, how would I palette edit? I'm guessing the same way as I normally do, but if they share a color... yeah.

2) In reference to the post of Scizz's directly above mine, would it be that more powerful trainers (i.e. e4, gyms) use the second and third formulas, while little trainers on routes use the first? And is the formula consistent for all advance games?

Thanks.
1) Of course they don't use the same palettes. unLZ-GBA just doesn't show the correct palette offset for them.

You can edit their palettes like evry other palette in the game, by using the Palette-Viewer of VBA, and your Hex-Editor. (A Tutorial is posted in the Documents forum.)

2) You are correct. The 1st structure is used for "normal" trainers, who's Pokémon don't have any specific attacks.
However, important Trainers, like the Gym Leaders and Elite 4, as well as some other trainers use the 2nd and 3rd structure.

These structures are used in all Advance games.

Leo~chan
August 16th, 2006, 07:45 PM
I search in Forums, but i don't rescue like published the icon in the map of the personage?

Scizz
August 16th, 2006, 08:14 PM
I search in Forums, but i don't rescue like published the icon in the map of the personage?
Sorry, but what you just said doesn't really make any sense. ^^"
Please rephrase your question.

Do you mean changing the Overworld Sprite of a person?

Korussive Acidsan
August 17th, 2006, 09:54 PM
Okay. This is a question, but it seems not simple enough to be in the Simple Question thread.

Anyhoo, is there anyway to change text in Pokemon Diamond (Telefang Speed), with a hex editor? I keep on trying, but with no sucsess.

Scizz
August 17th, 2006, 10:04 PM
Okay. This is a question, but it seems not simple enough to be in the Simple Question thread.

Anyhoo, is there anyway to change text in Pokemon Diamond (Telefang Speed), with a hex editor? I keep on trying, but with no sucsess.
Most games don't use the default ASCII table, so they can't be edited by the Hex-Editor directly.
In order to edit texts, you have to create a Table file for the game that you want to change texts in.

To get the values for the letters, you have to run a Relative Search. (Several Tools for that are offered on Zophar.net).
When doing that, remember to only search for same capitalized texts. (For example, if the text is "Hello there", you would do a relative search for "ello there".)
Once the search was successful, you should have received an offset, to which you go now with your Hex-Editor.
Once you're there, you will see the Hex-Values that represent the text "ello there".
Write them down in your Table-File.
Now you do that for all the letters that you are missing, until your alphabet is complete.

Now just load the ROM and your new Table file, and you should be able to edit the texts as in any other ROM.

Kenji~
August 18th, 2006, 05:18 AM
Ok, this might be a really stupid question...

In this (http://www.pokecommunity.com/showthread.php?t=20223) thread, it lists some G/S hacking tools, but where do I get them?

:\ I'm really confused.

Sharanza
August 18th, 2006, 08:32 AM
you can get it LINK (www.romhackersworld.de.vu)
and plz use search button^^

Kenji~
August 18th, 2006, 05:08 PM
you can get it LINK (www.romhackersworld.de.vu)
and plz use search button^^
Thanks, I think I found some, but what language is it?

and I did use the search.

Scizz
August 18th, 2006, 06:45 PM
Thanks, I think I found some, but what language is it?

and I did use the search.
If you would have used the search function, then you would have easily found the answers to your questions.

Most of the Tools on Rom-Hacker's World, and the Website itself are using the German language.

Though mostTtools should be self explaining, you can use an Online-Translator or a dictionary to translate the things that you are not sure about.

tech
August 18th, 2006, 10:32 PM
Whenever I use the setflag command it only stays set untill i leave the room, then it unsets. Any ideas why??

Kenji~
August 18th, 2006, 10:35 PM
If you would have used the search function, then you would have easily found the answers to your questions.

Exactly what words would I type into the search box for me to find that? I tried "G/S Hacking tools" and a few other things...

And is there an english site with english tools anywhere?

Scizz
August 18th, 2006, 10:48 PM
Whenever I use the setflag command it only stays set untill i leave the room, then it unsets. Any ideas why??
If the flag gets unset after you leave an area, it might be in use by another event already.
Try using a different flags, and see if the problem still occours.

Exactly what words would I type into the search box for me to find that? I tried "G/S Hacking tools" and a few other things...

And is there an english site with english tools anywhere?
"Gold Silver Hacking Tools" would be a good phrase to use.
A thread that will be definatly in the results, is the Hacking Tools Reference in the Tools Showcase, which contains a list of sites that offer these tools for download.
If you would have had a look at that list, you would have found this entry:
These are the top websites to get all your Rom-Hacking Tools & Utilities

General Sites:
[...]
www.romhackersworld.de.vu (German)
As you can see, the language of the site is mentioned right after the URL.

The currently most used sites have been listed in the Hacking Tools Reference.
However, the only listed English sites that offer tools for download, are www.romhacking.net and www.zophar.net .

There are not many English tools for the G/S/C games. Most of them are German, and have not been translated yet, which is why you'll mostly find German tools on the Websites.

Kenji~
August 18th, 2006, 11:01 PM
Oh, I just searched the thread, not the forums, I thought "Use the search before asking" meant this thread...

Ok, thanks for the help, I'll try to use the german ones.

DoomKitty
August 19th, 2006, 04:50 AM
I hope this question is simple enough.....

After editing the text in my Red version, I seem to keep getting this error no matter what symbol I put at the text. As you can see, it says '48 Error'. What is this and how can I fix it? [Ironic how it ended up at the end of my text 'oh noes' lol]

http://img291.imageshack.us/img291/1981/pkmn2ho4.png

Blazichu
August 19th, 2006, 08:11 AM
Since "52" is the Event loading code for Pokemon in G/S/C what is the trainer loading code because I want to change the trainers in Pokemon Gyms using hex, does anyone know how to?

Scizz
August 19th, 2006, 12:28 PM
I hope this question is simple enough.....

After editing the text in my Red version, I seem to keep getting this error no matter what symbol I put at the text. As you can see, it says '48 Error'. What is this and how can I fix it? [Ironic how it ended up at the end of my text 'oh noes' lol]

http://img291.imageshack.us/img291/1981/pkmn2ho4.png
Make sure that you put the correct "text end" command after your text. (In Hex: 57 00 ; Since I don't know what values you assigned to it in your Table file.)
Also make sure that you didn't overwrite a Script in the text. (Prof. Oak's text in the beginning contains one, for example.)

If you verified all of that, and the error is still occouring, you should go back to the backup copy of your ROM, and try to carefully redo the changes.

Since "52" is the Event loading code for Pokemon in G/S/C what is the trainer loading code because I want to change the trainers in Pokemon Gyms using hex, does anyone know how to?
"52" is the Hex-Command for displaying a text, not for loading Pokémon.

Gym-Leader battles use normal Trainer battle commands, they just differ in the overall script, because certain actions will be made when you beat them.

One way to start a battle could be:
[5D][Trainer Group][Trainer Number] - to set the Trainer
[5E] - to start the battle
[5F] - checks for win or loss

More detailed explanations on the command can be found in Tauwasser's Scripting Documentation (http://magicstone.de/rhw/pokemonrh/ScriptingDoc_E.zip).

ssj
August 19th, 2006, 10:05 PM
When using PET is a pokemon offset do I have to create a script to battle the trainer that I edited on PET?

Scizz
August 19th, 2006, 10:12 PM
When using PET is a pokemon offset do I have to create a script to battle the trainer that I edited on PET?
When you load your ROM in PET, you will see a list of Hex numbers in front of the Trainer's name.
Those numbers are the Trainer-Indexes.
If you want to battle a specific Trainer, just use that value for the appropriate parameter in the "trainerbattle" command, that you are planning to insert using ScriptED.

ssj
August 19th, 2006, 10:48 PM
So it would be something like
#org 0x800000
trainerbattle 005 MYBATTLEINTRO MYBATTLEDEFEAT
message MYBATTLEAFTERWARDS
boxset 4
end

Scizz
August 19th, 2006, 10:58 PM
So it would be something like
#org 0x800000
trainerbattle 005 MYBATTLEINTRO MYBATTLEDEFEAT
message MYBATTLEAFTERWARDS
boxset 4
end
Yes, if you want to battle the Trainer with the Index 005, then your command would have to look like this:
trainerbattle 0 0x5 MYBATTLEINTRO MYBATTLEDEFEAT
Just remember to replace "MYBATTLEINTRO" and "MYBATTLEDEFEAT", as well as "MYBATTLEAFTERWARDS" with the pointers to the texts that you want to use.

ssj
August 19th, 2006, 11:15 PM
Is this correct ?
#org 0x800000
trainerbattle 0 0x5 71e067 701e068
message 71e069
boxset 4
end

Scizz
August 19th, 2006, 11:23 PM
Is this correct ?
#org 0x800000
trainerbattle 0 0x5 71e067 701e068
message 71e069
boxset 4
end
Your Script is almost correct.
Because the offsets you used are in Hexadecimal, you will have to add a leading "0x" to them, which is required for Hex values.
#org 0x800000
trainerbattle 0 0x5 0x0 0x71e067 0x701e068
message 0x71e069
boxset 4
end

ssj
August 19th, 2006, 11:27 PM
When I try to complie this script I get a overflow error.

Scizz
August 19th, 2006, 11:33 PM
When I try to complie this script I get a overflow error.
I just compiled the Script, and you're right.
You get that error, because there was a missing parameter of the "trainerbattle" command.
It's just a filler parameter, but it's important for it to function properly. I fixed the script in my post above.
Also, you should re-calculate the offsets for the texts, because if you would use the ones you provided above, you would overwrite one text after another.
Increasing the offsets by 20 bytes each should be enough for your texts to fit in.

ssj
August 20th, 2006, 12:06 AM
Now when I play the game when I talk to the trainer nothing happens.

Scizz
August 20th, 2006, 12:16 AM
Now when I play the game when I talk to the trainer nothing happens.
I just compiled the Script to a clean ROM, and it is working just as desired.
Make sure that you assigned the Script to an actual Event on the Map. (By changing it's Script-offset to the one you compiled your Script to. (800000 in this case.))

Just in case that you still have an error in your Script, use this one:
#org 0x800000
trainerbattle 0 0x5 0x0 0x71e067 0x701e078
message 0x71e089
boxset 4
end

#org 0x71e067
= Text 1

#org 0x71e078
= Text 2

#org 0x71e089
= Text 3

DoomKitty
August 20th, 2006, 01:35 AM
Sorry to bug you guys again^^; I feel like such a newbie...
Okay, so I got the first issue straightened out. I just had to work with the backup copy of my ROM. Now, here's the next issue: After the part where Oak gives his intro and before he asks what your name is, my hack freezes up. I think it has something to do with the hex but I'm not sure. [I'm hacking PKMN Red btw]. Any help would be appreciated, thanks!

Informatik.
August 20th, 2006, 04:57 AM
Erm, sorry if this is the wrong forum.

I'm currently trying to make the path to get to Oak's Parcel on a hack for Pokemon FireRed, but I don't know how I can make a doorway on the map. How do you add a shortcut to that Mart in there?

Scizz
August 20th, 2006, 12:11 PM
Sorry to bug you guys again^^; I feel like such a newbie...
Okay, so I got the first issue straightened out. I just had to work with the backup copy of my ROM. Now, here's the next issue: After the part where Oak gives his intro and before he asks what your name is, my hack freezes up. I think it has something to do with the hex but I'm not sure. [I'm hacking PKMN Red btw]. Any help would be appreciated, thanks!
This looks to be a problem of the same kind as you had before.
Again, check for the "text-ending" command (57 00 ; Hex) after your edited texts.
Also make sure that you didn't extend one of the texts over the former length. (That is only possible with repointing.)

If you don't see anything that could be wrong, the easiest way to fix it would be to go back to your backup copy once again.


Erm, sorry if this is the wrong forum.

I'm currently trying to make the path to get to Oak's Parcel on a hack for Pokemon FireRed, but I don't know how I can make a doorway on the map. How do you add a shortcut to that Mart in there?
While in EliteMap, go to the "Obkects" tab, and the "Exits" tab.
There, CTRL+Click on the "Repoint" button, and enter an offset to free space and the number of Warps that you want to have on that map.
Your new Warp will be located in the top left corner of the map, and you can customize it to lead to the Viridian Market.

ssj
August 20th, 2006, 12:17 PM
Ive made text for the offsets of 71E067,71E078,71E089 and complied them then I compiled the script that you posted and put the trainer on the map ive shown below with the event number of 7 and still when I talk to him nothing happens.

Scizz
August 20th, 2006, 12:23 PM
Ive made text for the offsets of 71E067,71E078,71E089 and complied them then I compiled the script that you posted and put the trainer on the map ive shown below with the event number of 7 and still when I talk to him nothing happens.
That happens because you set the Event to the wrong Script offset.
As I told you (and as you should've noticed by yourself), the Script will be inserted at offset 800000, which is what you have to enter in the Event's "Script offset" box, in order for it to call the correct Script. (Remember to keep the leading "$" symbol.)

ssj
August 20th, 2006, 12:50 PM
Ive dont that as ive changed the 800000 offset with 71e066 in this script

#org 0x71e066
trainerbattle 0 0x5 0x0 0x71e067 0x71e078
message 0x71e089
boxset 4
end

#org 0x71e067
= Text 1

#org 0x71e078
= Text 2

#org 0x71e089
= Text 3

Scizz
August 20th, 2006, 01:03 PM
Ive dont that as ive changed the 800000 offset with 71e066 in this script

#org 0x71e066
trainerbattle 0 0x5 0x0 0x71e067 0x71e078
message 0x71e089
boxset 4
end

#org 0x71e067
= Text 1

#org 0x71e078
= Text 2

#org 0x71e089
= Text 3
Well, by doing that, you made the 1st text overwrite the rest of your Script, as you have calculated the offsets wrong again.
If you adjust the Script offset (71e066) back a few bytes, let's say to 71e056, it should work fine again. (Or just use 800000, as before.)

When picking offsets, always look carefully, and make sure that they don't interfere with eachother.

natty777
August 20th, 2006, 07:28 PM
1) how can you change the name of the pokemon, eg. i want a wild zigzagoon to be called a racoomat.

Scizz
August 20th, 2006, 07:38 PM
1) how can you change the name of the pokemon, eg. i want a wild zigzagoon to be called a racoomat.
There are 3 ways to edit a Pokémon's name in the Advance-Games.

The first one would be, using a Hex-Editor + Table file to edit the texts. (A tutorial has been posted in the Documents section.)

The 2nd way would be to use Advance-Text. Search for the name, add it to the INI, and edit it.

And last but not least, the 3rd way, by using N-E-A. (You can get it in the Tools Showcase.)
Just pick a Pokémon name from the list, doubleclick on it, and edit it.

However, this question has been asked and answered before, so please use the search function before asking, as it is stated in the thread title.

Informatik.
August 20th, 2006, 11:55 PM
Ah, thanks for the help Scizz.

i have another question for you, how would one be able to change the starting point of a town, yet still have Pallet town as the place where you get starters? Like making Viridian the start.

Scizz
August 21st, 2006, 11:55 AM
Ah, thanks for the help Scizz.

i have another question for you, how would one be able to change the starting point of a town, yet still have Pallet town as the place where you get starters? Like making Viridian the start.
There are 2 ways to change the starting position.
The first, and easier way, would be to just edit the Warps in the Player's house, so they Warp you to Viridian, instead of Pallet Town.

The second way is a bit harder, as it involves Hex-Editing.
There, you change the Map-Bank and Map-Number of the Player's room to the ones you want to start on instead.
The structure of the Start-Position data, as well as what the values for FR/LG are, has been posted here (http://www.pokecommunity.com/showpost.php?p=1861135&postcount=42). (3rd quote)

basketballa
August 21st, 2006, 03:39 PM
i dont how i get the hacks from the computer to my gba game. and how would i make my own town? (i cant find this on here)

Scizz
August 21st, 2006, 03:45 PM
i dont how i get the hacks from the computer to my gba game. and how would i make my own town? (i cant find this on here)
In order to play GBA-Games from the computer in your real GBA, you need 3 things:
- A Flash Cartridge (To hold the game)
- A Flash Linker (To transfer the game from the computer on the cartridge)
- A GBA

Simply connect the Linker with your computer, put the blank cartridge in, and transfer the game using the included software.
After that is complete, you can put the cartridge in your GBA, and play it as usual.
(Places where to buy those things can be found via Google. And if you're having problems on how to use the Linker, you can always have a look in it's manual.)

How to make your own places in the games can be found using the search function, which you should have used before asking here, as it is stated in the thread title.
Also reading the stickied threads will help.

basketballa
August 21st, 2006, 03:50 PM
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 131072 bytes) in /home/pokecomm/public_html/search.php on line 923

thats what i get when i search.

Scizz
August 21st, 2006, 03:55 PM
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 131072 bytes) in /home/pokecomm/public_html/search.php on line 923

thats what i get when i search.
Nonetheless, you could have read the stickied threads, as they are located at the top of the forums for a reason.
The FAQ in this forum, for example, tells you that you can find useful documents that will be helpful to you in the Tutorial forum.

Such as these:
http://www.pokecommunity.com/showthread.php?t=72127
http://www.pokecommunity.com/showthread.php?t=66001

DoomKitty
August 22nd, 2006, 03:34 AM
Due to frustration over hex editing, I'm switching to PokeText. So here's my question. In Poketext, under what file and folder is Oak's intro?

Micklo
August 22nd, 2006, 08:18 AM
How do you make your own region's Pokédex? For example, put Abra at no1 then machop at no4 etc.

Thanks in advance

:t131:Micklo

Blazichu
August 22nd, 2006, 10:17 AM
Due to frustration over hex editing, I'm switching to PokeText. So here's my question. In Poketext, under what file and folder is Oak's intro?

Oak's intro is under Intro 2\Shops, Block 2 to 7. Hopefully you can find it.
I would recommend hex editting though, you can do alot more.

Scizz
August 22nd, 2006, 01:49 PM
How do you make your own region's Pokédex? For example, put Abra at no1 then machop at no4 etc.

Thanks in advance

:t131:Micklo
You can't make a PokéDEX for a new region with out ASM hacking knowledge, however, you can modify the listings of the PokéDEX modes that are already integrated in the game.

To do that, open the ROM in your Hex-Editor, and search for the Pokémon Hex values, in the order as they appear in the PokéDEX.
(For example, [010002000300] and so on, for the order of Bulbasaur to Venusaur. Of course without the brackets.)
Once you found what you were searching for, you can easily modify the listing, by replacing those values, with the ones of the Pokémon that you want to have there instead.

You can find a list of Pokémon Hex values in this (http://www.pokecommunity.com/showpost.php?p=1585959&postcount=1) thread.

DoomKitty
August 22nd, 2006, 10:42 PM
Oak's intro is under Intro 2\Shops, Block 2 to 7. Hopefully you can find it.
I would recommend hex editting though, you can do alot more.

I can't find it ._. Mebbe I'm using a different version of PokeText?

Leo~chan
August 23rd, 2006, 03:50 PM
Hello! How do I edit the faces of hero in maps? (ex: http://img201.imageshack.us/img201/5714/nuevocornabf3.png)
Thanks a lot ^WWWWWWWWW^
Please help me is very important ;OOOOOOOOO;
(My Bad English >_>"""!)
It's okie, sweetie.

ssj
August 23rd, 2006, 10:03 PM
I have changed a trainers pokemon using PET and when I battled him it worked perfectly but when I changed the text my game crashes.
'-----------------------
#org 0x1A9407
trainerbattle 0x0 0x5A 0x0 0x8183786 0x81837BD
special2 LASTRESULT 0x39
compare LASTRESULT 0x1
if 0x1 jump 0x1A942E
msgbox 0x81837CF '"Hey! You're a team..."
callstd 0x6
end

'-----------------------
#org 0x1A942E
trainerbattle 0x5 0x5A 0x0 0x81C1588 0x81837BD
msgbox 0x81837CF '"Hey! You're a team..."
callstd 0x6
end


'---------
' Strings
'---------
#org 0x183786
= Hey! You're a team rocket member!\nfight me?
#org 0x1837BD
= Lost!\nLost! Lost!
#org 0x1837CF
= Well done young one\nWe shall meet again.
#org 0x1C1588
= Want more?\nFoolish child!
#org 0x1837BD
= Lost!