The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Requests/Sharing/Discussion

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
  #201   Link to this post, but load the entire thread.  
Old April 2nd, 2007 (9:19 PM).
Irish Witch's Avatar
Irish Witch Irish Witch is offline
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 42
Gender:
Nature: Lonely
Posts: 147
Quote:
Originally Posted by wmoor0826 View Post
So then what do i do with it?
Hun, read the post again:
Quote:
Originally Posted by RinniP
No he didn't. Christos had the right of it.

' This is a Relative Offset
#org $Pikachu

This is a inline offset (Variable name)
$Pikachu 1 = PIKACHU: blah blah...

So yeah, That's two offsets with the same name in his script.
If I know that script then you don't need:
#Org $Pikachu.

Remove that and you should be fine!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #202   Link to this post, but load the entire thread.  
Old April 3rd, 2007 (4:57 AM).
Frozen2's Avatar
Frozen2 Frozen2 is offline
 
Join Date: Mar 2007
Nature: Adamant
Posts: 7
Quote:
Originally Posted by Frozen View Post
Code:
Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.
I used a Yes/No Script (Typed it over From Christos's Tutorial, so Credit to him ^-^) Open DiamondCutter en then i get this! Waht to do? I have no idea..D;
Please?...I'm really thankfull if you guys can help my out ^^
  #203   Link to this post, but load the entire thread.  
Old April 3rd, 2007 (5:21 AM).
D-Trogh's Avatar
D-Trogh D-Trogh is offline
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 31
Gender: Male
Posts: 439
Quote:
Originally Posted by Frozen View Post
Please?...I'm really thankfull if you guys can help my out ^^
This question has been asked before !
Make sure your ROM, script and ScriptED + all it's files are in the same folder..
You can just install the EM Package with all it's tools and put your ROM and script in that folder ..
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #204   Link to this post, but load the entire thread.  
Old April 3rd, 2007 (5:43 AM).
Frozen2's Avatar
Frozen2 Frozen2 is offline
 
Join Date: Mar 2007
Nature: Adamant
Posts: 7
Quote:
Originally Posted by D-Trogh View Post
This question has been asked before !
Make sure your ROM, script and ScriptED + all it's files are in the same folder..
You can just install the EM Package with all it's tools and put your ROM and script in that folder ..
That have i done already! And still this message..
  #205   Link to this post, but load the entire thread.  
Old April 3rd, 2007 (7:58 AM).
Prof. 9 Prof. 9 is offline
 
Join Date: Jun 2006
Location: Netherlands
Gender: Male
Posts: 150
Quote:
Originally Posted by zel View Post
Unfortunately, I don't know any other way than to modify the destiny's map's Level Script, and I don't even know if it'd work, since I always have big troubles when touching them (I usually just erase stuff I don't want to happen). The best possible bet is to put Script Events around the destiny's Warp Event, so as soon as the player moves after the warping, stuff keeps happening.

By the way, since I suppose you've been (or will) doing changes to the script, feel free to post the script again (in spoilers, please), 'cause I think the old one is... old, isn't it?
Eh... what's a Level Script?

The only change I made is changins a "message" in to an "org", and changing one of the movements a little bit.
  #206   Link to this post, but load the entire thread.  
Old April 3rd, 2007 (7:41 PM).
Irish Witch's Avatar
Irish Witch Irish Witch is offline
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 42
Gender:
Nature: Lonely
Posts: 147
Quote:
Originally Posted by D-Trogh View Post
This question has been asked before !
Make sure your ROM, script and ScriptED + all it's files are in the same folder..
You can just install the EM Package with all it's tools and put your ROM and script in that folder ..
To clarify, these are the files it needs:
rck.exe
rubikon.dat
rubikon.syn
scripted.exe
std.rbh
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #207   Link to this post, but load the entire thread.  
Old April 4th, 2007 (4:03 AM).
Frozen2's Avatar
Frozen2 Frozen2 is offline
 
Join Date: Mar 2007
Nature: Adamant
Posts: 7
Quote:
Originally Posted by Irish Witch View Post
To clarify, these are the files it needs:
rck.exe
rubikon.dat
rubikon.syn
scripted.exe
std.rbh
Oh, i don't have std.rbh..how can I get that?
I have everything, but not that ^^
  #208   Link to this post, but load the entire thread.  
Old April 4th, 2007 (4:22 PM).
duncanrcook's Avatar
duncanrcook duncanrcook is offline
Excellent!
 
Join Date: Jul 2006
Age: 29
Nature: Relaxed
Posts: 35
i need a script that makes 2 people talk to eachother and when they start talking they jump up. i have no clue how to script...
  #209   Link to this post, but load the entire thread.  
Old April 4th, 2007 (9:52 PM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Frozen View Post
Oh, i don't have std.rbh..how can I get that?
I have everything, but not that ^^
Download Elite Map again and it should have it.

Quote:
Originally Posted by duncanrcook View Post
i need a script that makes 2 people talk to eachother and when they start talking they jump up. i have no clue how to script...
You need to give more information like the index number of the people.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #210   Link to this post, but load the entire thread.  
Old April 6th, 2007 (12:39 AM). Edited April 6th, 2007 by jirachi155.
jirachi155 jirachi155 is offline
 
Join Date: Apr 2004
Gender:
Nature: Adamant
Posts: 8
Hi,
i'm italian..i tried to follow your tutorials but i can't add a wildbattle scritp..
can anyone adjust my script? (when I play the people whit this script... the screen become black and the rom crash)

#org $Startscript
lock
faceplayer
wildbattle 0x196 0x70 0x1
cry 0xA1 0x196
pause 0x28
fadescreen 1
setflag 0x777
setflag 0x861
movesprite 0x11 0xB 0x11
clearflag 0x861
release
end

I use pokescript and scripted but whit the same result...
  #211   Link to this post, but load the entire thread.  
Old April 6th, 2007 (10:50 AM).
HackinJohn's Avatar
HackinJohn HackinJohn is offline
FireRed ROM Hacker
 
Join Date: Mar 2007
Location: Olivine City, Johto
Gender:
Nature: Quirky
Posts: 92
Is there any script to make someone follow you? (PS. I use PokeScript)
__________________
Spoiler:
  #212   Link to this post, but load the entire thread.  
Old April 6th, 2007 (9:44 PM).
zel 2.0's Avatar
zel 2.0 zel 2.0 is offline
Gold Remaker
 
Join Date: Jun 2006
Location: Argentina
Age: 36
Gender: Male
Nature: Quiet
Posts: 1,955
Quote:
Originally Posted by jirachi155 View Post
Hi,
i'm italian..i tried to follow your tutorials but i can't add a wildbattle scritp..
can anyone adjust my script? (when I play the people whit this script... the screen become black and the rom crash)

#org $Startscript
lock
faceplayer
wildbattle 0x196 0x70 0x1
cry 0xA1 0x196
pause 0x28
fadescreen 1
setflag 0x777
setflag 0x861
movesprite 0x11 0xB 0x11
clearflag 0x861
release
end

I use pokescript and scripted but whit the same result...
Well, you are putting the cry command after the wildbattle (I think that works, because I know some commands still execute while the battle is getting prepared, that's why a pause command is needed), but, I think that's not the problem with the script, right? (At least the battle should be executed, I presume)
After that you use a fadescreen... What's the use for that? That will make your screen turn black till you set it on again (I don't remember if it's done by using fadescreen 0), most likely it's not that you rom is crashing, it's just that you "blinded yourself", try removing the fadescreen command and see what happens...

Oh... By the way I think I know what's the deal with the fadescreen thing, you just don't want to show the player when you are executing the movesprite command. Then you will need to unset the fadescreen right after the clearflag command. Anyone knows if just using fadescreen 0 is enough? (I used fadescreen, but since all I did then was warping, I didn't needed to un-fade)
__________________


  #213   Link to this post, but load the entire thread.  
Old April 7th, 2007 (1:41 AM).
stead573 stead573 is offline
 
Join Date: Apr 2007
Gender:
Nature: Adamant
Posts: 31
Hi All! Was just wondering if anyone could help with a script.

How does one go about creating the CUT script, you know, you approach a small tree to be cut, which I've found the correct sprite number (82 in AdvanceMap), interact with it, then get asked to use cut, it dissapears and you can get past it.

I've tried [ctrl] + clicking on the sprite to generate the code in EliteMap but it keeps crashing.

I would MUCH appreciate it if anyone has the time to write me the script, if not, help understanding the code would be useful.

Thanks in advance!

Oh yeah, using scripted, not pokescript.
  #214   Link to this post, but load the entire thread.  
Old April 7th, 2007 (2:33 AM).
Irish Witch's Avatar
Irish Witch Irish Witch is offline
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 42
Gender:
Nature: Lonely
Posts: 147
Quote:
Originally Posted by jirachi155 View Post
Hi,
i'm italian..i tried to follow your tutorials but i can't add a wildbattle scritp..
can anyone adjust my script? (when I play the people whit this script... the screen become black and the rom crash)

#org $Startscript
lock
faceplayer
wildbattle 0x196 0x70 0x1
cry 0xA1 0x196
pause 0x28
fadescreen 1
setflag 0x777
setflag 0x861
movesprite 0x11 0xB 0x11
clearflag 0x861
release
end

I use pokescript and scripted but whit the same result...

Lets see... Pokemon 0x196 is 406 in decimal which on the chart is.... um.... PKMN_RAYQUAZA (Barely made it in there)
and it's at level 0x70 which makes it level 112.... er...
And aparently it's holding a master ball.... So that's all very interesting in the first place....

When I change them back into decimal (no 0x in front) they work fine.... and I get a level 70 espion! (Why it would be holding a Master ball I don't, know but there it is!)

Note: I've just finished blowing away my computer and re-installing dus to a software crash from incompatable drivers. Over the next few days I'll to try to put up the next tutorial or two!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #215   Link to this post, but load the entire thread.  
Old April 7th, 2007 (3:54 AM).
frank$or frank$or is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 91
Hello, i'm trying to make a new gymleader ( with the old badge.. ) and i was wondering, if i want to give the badge after the battle what command i have to use? Because a badge isn't a item, i have no clue what to do. Anyone? It's for DC btw.
  #216   Link to this post, but load the entire thread.  
Old April 7th, 2007 (4:06 AM).
D-Trogh's Avatar
D-Trogh D-Trogh is offline
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 31
Gender: Male
Posts: 439
Why don't u use the search function ?
Quote:
Setflag &H807 /First Badge
Setflag &H808 /Second Badge
Setflag &H809 /Third Badge
Setflag &H80A /Fourth Badge
Setflag &H80B /Fifth Badge
Setflag &H80C /Sixth Badge
Setflag &H80D /Seventh Badge
Setflag &H80E /Eighth Badge

Those ONLY work for Ruby, mabye Sapphire. The Emerald/Fire Red/Leaf Green haven't been documented but you can find them by examining each of the gym leader's scripts.
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #217   Link to this post, but load the entire thread.  
Old April 7th, 2007 (5:19 PM). Edited April 9th, 2007 by jonicito.
jonicito's Avatar
jonicito jonicito is offline
 
Join Date: Jan 2007
Gender: Male
Nature: Adamant
Posts: 83
Is this script right?

'-----------------------
#org 0x163A4E
jingle
msgbox 0x817A8B4
callstd 0x4
#raw 0x68
applymovement APPLYMOVE_PLAYER 0x81A75ED
pause 0x20
msgbox 0x817A970
callstd 0x4
#raw 0x68
applymovement APPLYMOVE_PLAYER 0x81A75DD
pause 0x60
msgbox 0x817A9E1
callstd 0x4
#raw 0x68
end


#raw 2D 'Down4
#raw FE 'Exit

#raw 1C 'StRight1
#raw 1C 'StRight1
#raw 1C 'StRight1
#raw FE 'Exit


Because my game freeze. :( And I not sure which script code is correct.
I'm not a good scriper but i'm good at text.
  #218   Link to this post, but load the entire thread.  
Old April 10th, 2007 (2:07 AM).
Irish Witch's Avatar
Irish Witch Irish Witch is offline
Office Jenny
 
Join Date: Jul 2006
Location: Australia
Age: 42
Gender:
Nature: Lonely
Posts: 147
That script looks like you decompiled it from a rom.. as such:

1. Remove the 8 from the beginning of the pointers or scripted sometimes stuffs them up when it re-compiles.
2. If you've edited it in any way then then the offsets will be wrong. I suggest repointing them.

And 3. don't forget you need offsets for the movement scripts themselves.
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #219   Link to this post, but load the entire thread.  
Old April 10th, 2007 (6:35 AM).
Prof.Redwood's Avatar
Prof.Redwood Prof.Redwood is offline
Researcher
 
Join Date: Mar 2007
Location: Canada
Gender:
Nature: Naughty
Posts: 30
I was just wondering if I did this improperly.. Im getting a white screen in VBA.. I edited a person in RSE's forest to hopefully give you a celebi..
Code:
#org 0x22E210
lock
faceplayer
message 0x22EA0C
givepokemon 0x161 0x46 0x13D
boxset 0x6
release
end

#org 0x22EA0C 
= Temporary Text!
I was editing it with help from Christos' tutorial on PHO
  #220   Link to this post, but load the entire thread.  
Old April 10th, 2007 (9:56 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
hi
i have a problem with scripted

i open it, write me script, click compile and load my rom.
and then it says

Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.

i have my script and rom in a freshly made folder of elite map with all the tools installed and i still get this message.

please please please help
  #221   Link to this post, but load the entire thread.  
Old April 10th, 2007 (2:27 PM).
Zi212's Avatar
Zi212 Zi212 is offline
 
Join Date: Apr 2007
Nature: Adamant
Posts: 26
Trainer Battle script if possible for ruby

6 Trainers

2 Trainers
Kid Trainer is the name
Pokemon: Eeveex2 level 5 both

2 Trainers
Kid Trainer is the name yet again
Pokemon: Pikachu and Vulpix level 7 for both

1 Trainer
Kid Trainer is the name yet again
Pokemon: Bulbasor Charmandar level 10 for both

Trainer Hill Champeons Double Battle is the name
Pokemon: Charmeleon , Butterfree level 15 for both
  #222   Link to this post, but load the entire thread.  
Old April 10th, 2007 (10:02 PM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by linkandzelda View Post
hi
i have a problem with scripted

i open it, write me script, click compile and load my rom.
and then it says

Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.

i have my script and rom in a freshly made folder of elite map with all the tools installed and i still get this message.

please please please help
Make sure the ROM and the script have no spaces in their names.

Quote:
Originally Posted by Zi212 View Post
Trainer Battle script if possible for ruby

6 Trainers

2 Trainers
Kid Trainer is the name
Pokemon: Eeveex2 level 5 both

2 Trainers
Kid Trainer is the name yet again
Pokemon: Pikachu and Vulpix level 7 for both

1 Trainer
Kid Trainer is the name yet again
Pokemon: Bulbasor Charmandar level 10 for both

Trainer Hill Champeons Double Battle is the name
Pokemon: Charmeleon , Butterfree level 15 for both
You can't edit trainers' pokémon with scripts.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #223   Link to this post, but load the entire thread.  
Old April 11th, 2007 (12:11 AM).
jirachi155 jirachi155 is offline
 
Join Date: Apr 2004
Gender:
Nature: Adamant
Posts: 8
ok now my script work.
(#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
setflag 0x861
movesprite 0x2 0xB 0x11
#raw 0x27
clearflag 0x861
release
end) ...thank you to irish and zel

but..now when i finish the battle the pokemon is still there..so i can repeat the event infinity time...i don't want this...i want it disappeared... what i should do????
help meee :D
  #224   Link to this post, but load the entire thread.  
Old April 11th, 2007 (12:42 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by jirachi155 View Post
ok now my script work.
(#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
setflag 0x861
movesprite 0x2 0xB 0x11
#raw 0x27
clearflag 0x861
release
end) ...thank you to irish and zel

but..now when i finish the battle the pokemon is still there..so i can repeat the event infinity time...i don't want this...i want it disappeared... what i should do????
help meee :D
Code:
#org 0x800000
lock
faceplayer
wildbattle 0x196 0x46 0x3
nop
nop
cry PKMN_MEW
pause 0x28
#raw 0xC5
fadescreen 1
setflag 0x767
movesprite 0x2 0xB 0x11
#raw 0x27
release
end
I removed the flag 0x861, it's not needed and I don't know why you want that other flag in the script.
Is the movesprite for the sprite you talk to for the wildbattle? You can make the movesprite take it somewhere off the map so that you won't battle it again.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #225   Link to this post, but load the entire thread.  
Old April 11th, 2007 (1:46 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
i still get the empty command database thing. the name of my rom is green.gba and my script is signpostnbt.rbc
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.