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
  #76   Link to this post, but load the entire thread.  
Old March 6th, 2007 (11:17 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by foofatron View Post
I had the same problem Cristos answered it.

I'm quite aware that there is a script command for CheckItem but I was wondering whether there is a command for CheckPokemon. The idea behind this is say for example you picked the fire type pokemon at the start of the game then a certain event would occur however if you picked another then a different event would occur.
There's not a command like that but you can use different flags for each pokemon you choose to make the events.

Quote:
Originally Posted by Dragonspy View Post
Not sure if this is the place to post this but.
I'm stuck on how to insert (or whatever you need to do) a script into the game.
can someone help me?
Your ROM and script must be saved in the same folder as ScriptED with no spaces in the name. Then open your script with ScriptED, choose compile and select your ROM.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #77   Link to this post, but load the entire thread.  
Old March 6th, 2007 (2:19 PM).
Dragonspy Dragonspy is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 4
Ok thanks i'll try right now...

got a error message:
Code:
Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.
maybe my script which is:
Code:
#org 0x800000
message 0x800100
boxset 0x02
end
#org 0x800100
= Hello World!
  #78   Link to this post, but load the entire thread.  
Old March 6th, 2007 (3:00 PM).
Hyunbin's Avatar
Hyunbin Hyunbin is offline
w00t!~
 
Join Date: Jun 2006
Location: new york
Age: 33
Gender:
Nature: Naughty
Posts: 166
this is my first script
i used irish witch's give script and modified it a bit
it goes in fine but when i try to open it in elite map it says the rom is not supported but i can edit it anyway and when i try to play it on vba all i get is a white screen
what's wrong with it?:

Code:
#org $Startscript
lock
faceplayer
checkflag 0x200
if 1 goto $Gotit
message $AskMe
$AskMe 1 = Hey, you're a trainer right?
boxset 5
compare LASTRESULT 1
if 1 goto $Asktogive
message $No
$No 1 = Oh... alright...
boxset 6
release
end

#org $Gotit
message $Howis
$Howis 1 = How's that CHIKORITA doing?
boxset 6
release
end

#org $Asktogive
message $Ask
$Ask 1 = A CHIKORITA wandered into my backyard... but I don't think I can raise it. Will you take it?
boxset 5
compare LASTRESULT 1
if 1 goto $Givechikorita
message $Nono
$Nono 1 = Oh... but who can I get to take care of it?
boxset 6
release
end

#org $Givechikorita
message $Give
$Give 1 = Recieved the CHIKORITA!
boxset 6
givepokemon 0x152 5 0
release
setflag 0x200
end
i also want to put a message before "Recieved the CHIKORITA!"
"Oh... thank you!"
  #79   Link to this post, but load the entire thread.  
Old March 7th, 2007 (10:09 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Dragonspy View Post
Ok thanks i'll try right now...

got a error message:
Code:
Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.
maybe my script which is:
Code:
#org 0x800000
message 0x800100
boxset 0x02
end
#org 0x800100
= Hello World!
Did you see my answer before? Follow my instructions in that post and this won't happen.

Quote:
Originally Posted by Traces3Roms View Post
Questions~

1. What does org and raw exactly do?

2. How do I find offsets for scripts?(Noob question, I know :P )
The "org" is for the script's offset when you start a script and the "raw" is another command mostly used for the "applymovement" command.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #80   Link to this post, but load the entire thread.  
Old March 7th, 2007 (10:36 AM).
Dragonspy Dragonspy is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 4
Quote:
Originally Posted by Christos View Post
Did you see my answer before? Follow my instructions in that post and this won't happen.
I did follow the instructions and i keep getting the same error.
  #81   Link to this post, but load the entire thread.  
Old March 7th, 2007 (10:38 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Are you sure your script is saved in EM's folder with no spaces in the name and the ROM you compile the script to?
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
  #82   Link to this post, but load the entire thread.  
Old March 7th, 2007 (1:22 PM).
Dragonspy Dragonspy is offline
 
Join Date: Feb 2007
Gender:
Nature: Adamant
Posts: 4
Oh, I tried again and it worked.
Now how do I make someone say something with the script?
  #83   Link to this post, but load the entire thread.  
Old March 7th, 2007 (2:08 PM).
foofatron foofatron is offline
Banned
 
Join Date: Jan 2007
Age: 21
Gender:
Nature: Adamant
Posts: 309
Does anyone acuratly read his totoral?This should work for you Dragonspy since you wanted the person to talk.

#org 0x800000
message 0x800100
boxset 0x6
release
end

#org 0x800100
= Hello world

This was at the top of the totoral you didn't have a release in it.
  #84   Link to this post, but load the entire thread.  
Old March 8th, 2007 (8:01 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 Hyunbin View Post
this is my first script
i used irish witch's give script and modified it a bit
it goes in fine but when i try to open it in elite map it says the rom is not supported but i can edit it anyway and when i try to play it on vba all i get is a white screen
what's wrong with it?:
That's an impressive script btw. I can't see anything wrong with it as such, it sound like it's not a script issue but a burn issue. If you're using the search function in bufrite (the book) then make sure you click an offset before assigning or if you enter an offset manually then make sure it has an &h in front if your offset looks like this &h800100.

*scratches head* I'm not sure whether 0x is used everywhere in bufrite so &h is your best bet.
..... I'll have to check up on that. if I didn't then I'll make sure to fix it with my next update.

If you're still having trouble then PM me with the logs from pokescript and bufrite. You can find complete logs under c: \pokewitch\logs (sorted by date, time and program)


You may also want to look a couple of pages back in this thread for the 'professional' givepokemon script that checks if you have room in your party and lets you name the pokemon. Show me the results cause this script look more than just a simple cut & paste job!


:13: C'mon. Feed me ego just a little, please?
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #85   Link to this post, but load the entire thread.  
Old March 8th, 2007 (11:31 AM).
Pokerealm Pokerealm is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 6
How do you make a normal talking script in PokeScript?
  #86   Link to this post, but load the entire thread.  
Old March 8th, 2007 (12:25 PM).
D-Trogh's Avatar
D-Trogh D-Trogh is offline
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 31
Gender: Male
Posts: 439
Err.. This should work.. when it doesn't.. well.. I'm trying to write as short as possible :P

#org $test
faceplayer
lock
message $msg
$msg 1 =W00T !\nI can talk !
callstd 6
release
end
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #87   Link to this post, but load the entire thread.  
Old March 8th, 2007 (1:27 PM).
Hedgehogger's Avatar
Hedgehogger Hedgehogger is offline
Learning ASM, but struggling
 
Join Date: Feb 2007
Location: Somewhere near a box.
Gender: Male
Nature: Quiet
Posts: 204
Okay, I've got a couple questions...

1. Whenever I use ScriptED to open my Script, nothing appears and the compile button isn't able to be clicked on. Do ScriptED and the Rom have to be in EliteMap's folder?

2. Is it possible to put a script at an offset of free space in the Rom?
  #88   Link to this post, but load the entire thread.  
Old March 8th, 2007 (9:03 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
Hyunbin: I don't know if you're dealing with FR, but usually a white screen happens when you don't set the Emulator's Save Type to 128k (Options -> Emulator -> SaveType -> Flash 128K), that's the only white screen I know of...
And, on a side note, I don't know about PokeScript, but in Scripted the command "givepokemon" must be the last command in the script, since it usually crashes the rest of the script. Be careful with it.

Hedgehogger: 1. Yes, everything should be at the same folder; 2. In fact, that's the whole deal in this! O.O (I think PokeScript gives you a lot of options for using free space, but I'm used to the old Scripted+HexEditor combo... :P)
__________________


  #89   Link to this post, but load the entire thread.  
Old March 9th, 2007 (3:24 AM).
foofatron foofatron is offline
Banned
 
Join Date: Jan 2007
Age: 21
Gender:
Nature: Adamant
Posts: 309
Cristos what verson of script I do the give pokemon scripted did you write your giude for.I have the old verson and when give pokemon scripts the game crashes.
  #90   Link to this post, but load the entire thread.  
Old March 9th, 2007 (7:10 AM).
Quil Quil is offline
Me
 
Join Date: Dec 2006
Age: 27
Nature: Sassy
Posts: 67
I need really ALL raw commando's of applymovement, i really need it!
__________________


  #91   Link to this post, but load the entire thread.  
Old March 9th, 2007 (11:52 AM).
Pokerealm Pokerealm is offline
 
Join Date: Nov 2006
Gender:
Nature: Adamant
Posts: 6
I need a script to get the national dex for PokeScript
  #92   Link to this post, but load the entire thread.  
Old March 9th, 2007 (12:00 PM). Edited March 9th, 2007 by peirau.
peirau's Avatar
peirau peirau is offline
........
 
Join Date: Oct 2006
Age: 27
Nature: Naive
Posts: 53
Me too.
Its for PokeScript.
  #93   Link to this post, but load the entire thread.  
Old March 9th, 2007 (9:35 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 zel View Post
I think PokeScript gives you a lot of options for using free space, but I'm used to the old Scripted+HexEditor combo... :P)
Actually, the whole reason for my creation of Pokescript was cause I was sick of having to use a hex-editor to make sure I didn't overwrite stuff accidentally. That's the point of bufrite. When you burn your compiled script you get to tell it where you want the script put and the offsets are calculated automatically.

That said, because the program is 100x more complicated than scripted it's taking what seams like a lifetime of debugging to make sure it works the way it's meant to. So as I said in my tutorial and the thread in the toolbox if you have trouble, then PM me scripts, logs etc so I can do a run through and (if it's a bug in my program) then fix it!
__________________
PokeScript Assembler C pokewitch inc

PokeWitch's PokePets

Smitten the level 25 Kirlia! :: Myrial the Level 22 Pidgeotto
  #94   Link to this post, but load the entire thread.  
Old March 9th, 2007 (10:32 PM). Edited March 10th, 2007 by zel 2.0.
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 lightbayleef View Post
I need really ALL raw commando's of applymovement, i really need it!
I posted my list of hex values for the raws of applymovement back at page 1. Those are only for FR/LG. However, why bother using #raw commands when using #binary makes everything easier?

applymovement 0xSprite 0xMovement

#org 0xMovement
#binary hex hex hex ... hex FE


Quote:
Originally Posted by Pokerealm View Post
I need a script to get the national dex for PokeScript
If PokeScript allows the use of "special" commands, then Scizz already posted a thread for that matter, as long as you use FR/LG or Emerald (keep in mind that it's not known how to enable it on R/S)
http://www.pokecommunity.com/showthread.php?t=79817

And, Irish Witch... We could debate about things all day... Better not... XD
__________________


  #95   Link to this post, but load the entire thread.  
Old March 10th, 2007 (7:58 AM).
DracoMalfoy88's Avatar
DracoMalfoy88 DracoMalfoy88 is offline
Sailor Moon Fan!!!
 
Join Date: Dec 2006
Location: Italy
Age: 34
Gender:
Nature: Gentle
Posts: 42
People pls help me, I'm a new user and I search the script for the national pokédex for Ruby version... pls help me

-DracoMalfoy88-
__________________
Sailor all'attacco!!!

Mamoru (Marzio) Chiba
  #96   Link to this post, but load the entire thread.  
Old March 10th, 2007 (8:02 AM).
peirau's Avatar
peirau peirau is offline
........
 
Join Date: Oct 2006
Age: 27
Nature: Naive
Posts: 53
Quote:
Originally Posted by DracoMalfoy88 View Post
People pls help me, I'm a new user and I search the script for the national pokédex for Ruby version... pls help me

-DracoMalfoy88-
I got one for pokescript...
Pokerealm gived it to me =).

#org 0x800000
lock
faceplayer
checkflag 0x10A
if 1 jump 0x800050
special 0x16F
setflag 0x10A
fanfare 0x13E
msgbox 0x800100
callstd 0x6
waitfanfare
release
end

#org 0x800050
msgbox 0x800070
callstd 0x6
release
end

#org 0x800070
= Like your new POKéDEX?

#org 0x800100
= Your POKéDEX was upgraded!
  #97   Link to this post, but load the entire thread.  
Old March 10th, 2007 (8:07 AM).
Pazuzu's Avatar
Pazuzu Pazuzu is offline
Flushing Meadows
 
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
Posts: 5,448
Quote:
Originally Posted by peirau View Post
I got one for pokescript...
Pokerealm gived it to me =).

#org 0x800000
lock
faceplayer
checkflag 0x10A
if 1 jump 0x800050
special 0x16F
setflag 0x10A
fanfare 0x13E
msgbox 0x800100
callstd 0x6
waitfanfare
release
end

#org 0x800050
msgbox 0x800070
callstd 0x6
release
end

#org 0x800070
= Like your new POKéDEX?

#org 0x800100
= Your POKéDEX was upgraded!
Very nice, except that this script only works for Fire-Red/Leaf-Green, and not Ruby/Sapphire as it was requested, which you can see here.


Draco, the code that activates the Dex in R/S has not been found yet.
__________________
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

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

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #98   Link to this post, but load the entire thread.  
Old March 10th, 2007 (8:18 AM).
DracoMalfoy88's Avatar
DracoMalfoy88 DracoMalfoy88 is offline
Sailor Moon Fan!!!
 
Join Date: Dec 2006
Location: Italy
Age: 34
Gender:
Nature: Gentle
Posts: 42
but in pokemon naranja an hack of ruby i received from prof. oak the national pokédex...
__________________
Sailor all'attacco!!!

Mamoru (Marzio) Chiba
  #99   Link to this post, but load the entire thread.  
Old March 10th, 2007 (8:28 AM).
foofatron foofatron is offline
Banned
 
Join Date: Jan 2007
Age: 21
Gender:
Nature: Adamant
Posts: 309
That was a cheat and I've played it and you don't need a pokedex thing because you get the full pokedex in the begging.

Whats the command that makes people dissapear so if I wanted a guy to fall in the lava he would fall in there?

Also Is it possable for a script to let you go on a pokemon and ride on it while the pokemon does boat movements then warp somewhere?
  #100   Link to this post, but load the entire thread.  
Old March 10th, 2007 (11:10 AM).
Haile Selassie IV's Avatar
Haile Selassie IV Haile Selassie IV is offline
.
 
Join Date: Mar 2007
Location: Aker, Amsterdam, Noord-Holland, The Netherlands, Europe, The Earth.
Age: 29
Nature: Modest
Posts: 82
Well, my scripts are far from good(I think) but these are for PokéScript, are they correct?

Code:
SCRIPTS:

Ho-oh:

#org $ho-oh
cry PKMN_HO-OH
message $msg
$msg 1 = Gyaaoh!
wildbattle 0x250 0x45 0x3
end

Mew:

#org $mew
cry PKMN_MEW
message $msg
$msg 1 = Memeww..! MEW !
wildbattle 0x151 0x25 0x3
end

Raikou:

#org $raikou
cry PKMN_RAIKOU
message $msg
$msg 1 = Rai... KOU!
wildbattle 0x243 0x40 0x3

Scuicune:

#org $suicune
cry PKMN_SUICUNE
message $msg
$msg 1 = Cune?
wildbattle 0x244 0x40 0x3

Entei:

#org $entei
cry PKMN_ENTEI
message $msg
$msg 1 = Grrrraw....
wildbattle 0x245 0x40 0x3

Celebi:

#org $celebi
cry PKMN_CELEBI
message $msg
$msg 1 = Srii?
wildbattle 0x251 0x23 0x3
__________________
Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.
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
Thread Tools

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

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

Forum Jump


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