The PokéCommunity Forums  

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

Notices
For all updates, view the main page.

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

Ad Content
Closed Thread
 
Thread Tools
  #1901   Link to this post, but load the entire thread.  
Old January 16th, 2007 (5:59 AM).
w_rink_ly's Avatar
w_rink_ly w_rink_ly is offline
Novice Hacker
 
Join Date: Nov 2005
Posts: 72
Hi. How would I go about making a wild pokemon appear rare in a certain grass area and then change the area when the player moves from one area to another? In other words, how would I 'emulate' the legendary dogs encounters or latios/latias encounters after one beats the elite 4?
  #1902   Link to this post, but load the entire thread.  
Old January 16th, 2007 (7:58 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
@ christos
Well thanks for the applymovement, MY sprite moves.
But, how do you get OTHER sprites to move?
movesprite 0xEventnummer 0xOffset?
  #1903   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:02 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by frank$or View Post
@ christos
Well thanks for the applymovement, MY sprite moves.
But, how do you get OTHER sprites to move?
movesprite 0xEventnummer 0xOffset?
"applymovement 0xFF 0x[offset]" is for the player

For other sprites it's "applymovement 0x[sprite's people nr.] 0x[offset]
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1904   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:06 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
And do you have to put the offset in a People event or a Script event?
  #1905   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:11 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by frank$or View Post
And do you have to put the offset in a People event or a Script event?
You have to put the offset in after the sprite's people number.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1906   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:12 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
I mean if you use the #org offset of the script in AM.
For a PEOPLE event, or a SCRIPT event.
I'm trying things out with this script:

#org 0x86AB40
applymovement 0x13 0x86AB50
pause 0x10
end

#org 0x86AB50
#raw 3
#raw FE

If i use it with a SCRIPT event in AM, then the game freezes.
  #1907   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:12 AM).
Liquinn Liquinn is offline
Banned
 
Join Date: Jan 2006
Nature: Adamant
Posts: 438
A G/S/C question for you to awnser.


This is a dumb question...

Do I have to map both floors of the National park, and if you go into a bug contest will it automaticlly transfer you to the national park floor map 2 so you can take part in the bug contest in the floor 2, so like the floor one will be used to visit it without you been in the bug contest.

So basiclly.

Do I need to re map both ones and will the game transfer me to the Secound floor of the national park during a bug catching contest?

Liquinn.
  #1908   Link to this post, but load the entire thread.  
Old January 16th, 2007 (8:18 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by frank$or View Post
I mean if you use the #org offset of the script in AM.
For a PEOPLE event, or a SCRIPT event.
I'm trying things out with this script:

#org 0x86AB40
applymovement 0x13 0x86AB50
pause 0x10
end

#org 0x86AB50
#raw 3
#raw FE

If i use it with a SCRIPT event in AM, then the game freezes.
If you use it on a "people" event or a script event it's the same thing.
But in the script event put 03 00 for "Unknown" and something for "var Number". If it still freezes or doesn't do anything, try using something different for "Var Number".
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1909   Link to this post, but load the entire thread.  
Old January 16th, 2007 (2:33 PM). Edited January 16th, 2007 by Blaziken626.
Blaziken626's Avatar
Blaziken626 Blaziken626 is offline
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 29
Gender:
Nature: Mild
Posts: 208
Aaugh! Now I have a new problem! I used Thingy32, and opened my ROM and 2 Table files, but then it said Runtime Error '14': Out of String Space!
What does that mean? (And it worked perfectly this morning.) A-a-a-and, I did the whole Hello World! tutorial in Elite Map, but the fat guy ended up saying a whole bunch of weird symbols that are probably hex or something. How do I fix that?
  #1910   Link to this post, but load the entire thread.  
Old January 17th, 2007 (8:11 AM).
GargnaroK GargnaroK is offline
So... How Does my soul tastes?
 
Join Date: Sep 2006
Location: Porto, Portugal
Age: 33
Gender:
Nature: Hardy
Posts: 14
Can someone explain me the pause command?
I know its based on the time in milliseconds, but how can I relate it to the steps that a sprite makes during an applymovement script?

Thanks in advance
[[[[[[[[[[[[[]]]]]]]]]]]]]]
  #1911   Link to this post, but load the entire thread.  
Old January 17th, 2007 (8:14 AM). Edited January 17th, 2007 by Christos.
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by GargnaroK View Post
Can someone explain me the pause command?
I know its based on the time in milliseconds, but how can I relate it to the steps that a sprite makes during an applymovement script?

Thanks in advance
[[[[[[[[[[[[[]]]]]]]]]]]]]]
You have to put 0x10 for each step. For example, if in the script the sprite moves 4 steps you have to put "pause 0x40".
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1912   Link to this post, but load the entire thread.  
Old January 17th, 2007 (9:17 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
@ christos again. ( meh, i begin to like you ^^ )

Last time i focused to much on the applymovement, And you also said something about trainerbattle.
Well, i don't get trainerbattle yet.

you said:
Code:
trainerbattle
trainerbattle bKind iBattle ptrIntro ptrDefeat
Starts a trainer battle.
bKind is 0x00 for normal battles, 0x04 for 2-on-2 and 0x05 for rematches
What do you have to put in by battle intro defeat o_o
  #1913   Link to this post, but load the entire thread.  
Old January 17th, 2007 (9:21 AM).
charimon's Avatar
charimon charimon is offline
Yeah hacking !! ^^
 
Join Date: Sep 2005
Location: in The Netherlands
Age: 31
Gender:
Nature: Relaxed
Posts: 156
He is really nice huh ^^

well I'll try to explain it:

Quote:
Originally Posted by Christos View Post
trainerbattle
trainerbattle bKind iBattle ptrIntro ptrDefeat
Starts a trainer battle.
bKind is 0x00 for normal battles, 0x04 for 2-on-2 and 0x05 for rematches.
Bkind is double/normal/gym, Ibattle is nr. of the trainer in PET(if i'm correct O_O), Ptr Intro is the tekst the trainer says first. PtrDefeat is when you defeated him.
for Ptr Intro/Defeat you just place the offset of the message.

the only thing i miss is a third pointer O_O at least that's what rubikon says xD.
__________________

credits to suta-raito for the charizard ;)
  #1914   Link to this post, but load the entire thread.  
Old January 17th, 2007 (9:54 AM).
GargnaroK GargnaroK is offline
So... How Does my soul tastes?
 
Join Date: Sep 2006
Location: Porto, Portugal
Age: 33
Gender:
Nature: Hardy
Posts: 14
Quote:
Originally Posted by Christos View Post
You have to put 0x10 for each step. For example, if in the script the sprite moves 4 steps you have to put "pause 0x10".
Then, for example, if I want the sprite to moves 51 steps at any direction I must insert 51 pause 0x10 in the script?

[[[[[[[[[[]]]]]]]]]]]]
  #1915   Link to this post, but load the entire thread.  
Old January 17th, 2007 (11:06 AM). Edited January 17th, 2007 by Christos.
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by GargnaroK View Post
Then, for example, if I want the sprite to moves 51 steps at any direction I must insert 51 pause 0x10 in the script?

[[[[[[[[[[]]]]]]]]]]]]
Sorry, my mistake. If it's 1 step it's "pause 0x10", 2 steps "pause 0x20" etc.
But remember that it's in hexadecimal so 10 steps should be "pause 0xA", 11 steps "pause 0xB" etc.
If you put 51 steps you have to add "pause 0x33".
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1916   Link to this post, but load the entire thread.  
Old January 17th, 2007 (12:58 PM). Edited January 19th, 2007 by GargnaroK.
GargnaroK GargnaroK is offline
So... How Does my soul tastes?
 
Join Date: Sep 2006
Location: Porto, Portugal
Age: 33
Gender:
Nature: Hardy
Posts: 14
What's wrong with this script? It makes the first movement(applymovement 0x4 0x7256C9) and then the game freezes!=\

Code:
#org 0x7256B4
checkflag 0xA10
if 0 0x7256BF
release
end

#org 0x7256BF
lock
faceplayer
applymovement 0x4 0x7256C9
pause 0x70
message 0x7256DF
boxset 0x4
applymovement 0x4 0x7256ED
applymovement 0xFF 0x7256FF
pause 0x35
message 0x72572D
boxset 0x4
applymovement 0x4 0x725739
applymovement 0xFF 0x725742
pause 0x10
message 0x725753
boxset 0x4
applymovement 0x4 0x72576A
applymovement 0xFF 0x72576F
pause 0x20
setflag 0xA10
release
end

#org 0x7256C9
#raw 3 62 1C 1C 1C 1C 13 FE

#org 0x7256DF
= ...!

#org 0x726ED
#raw 10 10 10 10 10 10 10 10 12 10 12 12 12 12 12 12 12 10 10 10 10 10 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 10 10 12 12 12 10 12 12 12 12 12 12 12 12 12 5 FE

#org 0x7256FF
#raw 12 10 10 10 10 10 10 10 10 12 10 12 12 12 12 12 12 12 10 10 10 10 10 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 10 10 12 12 12 10 12 12 12 12 12 12 12 12 5 FE

#org 0x72572D
= ...!

#org 0x725739
#raw 6 FE

#org 0x725742
#raw 7 FE

#org 0x725753
= scarfendowras!

#org 0x72576A
#raw 11 11 FE

#org 0x72576F
#raw 5 FE
[[[[[[[[[[[[[]]]]]]]]]]]]]
  #1917   Link to this post, but load the entire thread.  
Old January 17th, 2007 (7:10 PM).
WalrusGuy WalrusGuy is offline
 
Join Date: Jan 2007
Nature: Adamant
Posts: 2
Hi; this is my first post here, and possibly my only one. I did a few searches and found nothing of value, so hopefully I'm not breaking any rules.

I'm doing an edit of Pokémon Gold. It's mainly just making humorous changes to the text, but there are a few other things that I'm changing as well. Everything has been going well so far...

...until I try to change the Pokémon that the NPC referred to only as DUDE catches when he gives you a Pokémon catching tutorial. I did a pointer search for the start of the tutorial. The offset for the pointer is 128F78. I've only been able to find two pointer calculators for Gold, and they all lead to 4A784F... which doesn't seem to exist!

If anyone could help me, I would be very thankful. I'm trying to change the Lv. 5 Rattata that he catches to a Lv. 99 Ho-Oh. I'm hoping I can do this by changing a 0513 (Lv. 5 Rattatta) to 99FA (Level 99 Ho-Oh.) Please tell me if these codes are wrong as well.
  #1918   Link to this post, but load the entire thread.  
Old January 18th, 2007 (3:25 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
Stupid applymovement.
I can't get it to work.
People event doesn't work, and neither script.
  #1919   Link to this post, but load the entire thread.  
Old January 18th, 2007 (4:19 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by frank$or View Post
Stupid applymovement.
I can't get it to work.
People event doesn't work, and neither script.
Did you compile the script correctly?
Save the script as an .rbc file in the folder where ScriptED is. Its name must have no spaces in the name. The ROM must be in there too with no spaces in the name as well.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1920   Link to this post, but load the entire thread.  
Old January 18th, 2007 (4:23 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
I use diamondcutter instead of scriptED.
For some reason scriptED doesn't work o_o. the scripts don't work.
Anyway, other script i compile @ diamondcutter work, so that isn't the problem.
  #1921   Link to this post, but load the entire thread.  
Old January 18th, 2007 (4:52 AM).
Kuri-Chan ♪ Kuri-Chan ♪ is offline
Crystal Trainer
 
Join Date: Feb 2006
Gender:
Nature: Quiet
Posts: 169
Hi!

I'm doing a VERY Basic hack, and belive me, I CAN NOT figure out Hex.

So, I wanted to make a little intro scene-- you know, Instead of driving to your house (It's a hack of Saphirre) you see another scene. And if anyone knows a Hex tuturial for Dummies, please send it to me.....xD
__________________

Come and join the best club on the PC!

Formerly known as CrystalLatias
  #1922   Link to this post, but load the entire thread.  
Old January 18th, 2007 (5:07 AM).
Blazichu's Avatar
Blazichu Blazichu is offline
 
Join Date: Mar 2006
Gender: Male
Posts: 1,372
Quote:
Originally Posted by CrystalLatias View Post
Hi!

I'm doing a VERY Basic hack, and belive me, I CAN NOT figure out Hex.

So, I wanted to make a little intro scene-- you know, Instead of driving to your house (It's a hack of Saphirre) you see another scene. And if anyone knows a Hex tuturial for Dummies, please send it to me.....xD
Here is a basic hex editting Tut: http://www.4shared.com/file/8741394/9cd74154/allpurpose.html

Also check the Documents/Tutorials section for more help.
  #1923   Link to this post, but load the entire thread.  
Old January 18th, 2007 (6:12 PM). Edited January 18th, 2007 by Blaziken626.
Blaziken626's Avatar
Blaziken626 Blaziken626 is offline
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 29
Gender:
Nature: Mild
Posts: 208
How do I edit the text with Thingy32? I know you're supposed to press the spacebar, (and I have to press it twice) but I can't type in anything in the screen, and sometimes I can, but there's a limited amount to how much I can type. Please help!

Also, I have 2 more questions:

1. Is there a way to clear string space? When I load my Ruby hack ROM in Thingy, it says, it's out of string space.

2. Are there offsets (in Tile Molester) for the animation when the doors open? If so, could someone show me them?

Thanks a billion in advance!
  #1924   Link to this post, but load the entire thread.  
Old January 19th, 2007 (4:03 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Blaziken626 View Post
How do I edit the text with Thingy32? I know you're supposed to press the spacebar, (and I have to press it twice) but I can't type in anything in the screen, and sometimes I can, but there's a limited amount to how much I can type. Please help!

Also, I have 2 more questions:

1. Is there a way to clear string space? When I load my Ruby hack ROM in Thingy, it says, it's out of string space.

2. Are there offsets (in Tile Molester) for the animation when the doors open? If so, could someone show me them?

Thanks a billion in advance!
The offset for the door animations in Ruby is 308E00.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #1925   Link to this post, but load the entire thread.  
Old January 19th, 2007 (10:42 AM). Edited January 19th, 2007 by GargnaroK.
GargnaroK GargnaroK is offline
So... How Does my soul tastes?
 
Join Date: Sep 2006
Location: Porto, Portugal
Age: 33
Gender:
Nature: Hardy
Posts: 14
What´s the raw value for the movement "delay1/2/3" for FR?

[[[[[[[[[[]]]]]]]]]]]

EDIT: Nevermind I found out the values by testing them, so that you know the values of the delays in FR are the values 18 to 1C
Closed Thread

Quick Reply

Join the conversation!

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

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:22 AM.