The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page [Archive] Script help thread

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
  #276   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:12 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
i noticed the script just then.

This is yours:

Code:
#org $ShowText
Lock 
Faceplayer

$message noCookie
$noCookie = Hi! I haven't got a cookie for you!!!

release
end
It's a bit wrong, actually, alot wrong.
I take it you got it from PokeScript tutorial by Irish Witch?
Well, her tutorial is a bit outdated, i've currently making one and waiting for it in the tutorials section so that should explain it a bit more.

Though a basic message script looks like this:

Code:
#org $begin
lock
faceplayer
message $<Addpointer>
$<Addpointer> 1 =[Message]
boxset 6
release
end
Or:

Code:
#org $begin
lock
faceplayer
message $hey
boxset 6
release
end

#org $hey
= [message]
Add whatever you need to in the specified areas.
Have you tried the idea I put in my previous post though?
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #277   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:20 PM).
Zeturic's Avatar
Zeturic Zeturic is offline
 
Join Date: Mar 2007
Posts: 787
Okay maybe its me or does my script hate me?

Crashink, what it does is mess up the side of the OverWorld for a second or so, before the script ends. No namepokemon display. No vanishing. Its just... Annoying. This script I mean.
  #278   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:21 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Well, thats stands in the option "Log" in Bufrite :

Quote:

#PROCESS: C:\Dokumente und Einstellungen\Dalibor\Desktop\Nintendo Spiele\Spiele\TestScript.txt F:2 for read
----------------------------------------------------------------------------------------------------------
COMMENT BUFFER GRAB:


GRABBING 0 Pointers
BUFFER 0 GRAB: 0 []
|
\- Processed 0 Lines

Wait...I found a file with the name TB.log
I try to put this file in the folder "Pokescript".
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #279   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:21 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Well I don't know then :S
Should the script be in three parts? For each Pokeball?

Otherwise I wouldn't know whats going on, I made a script and it worked :S
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #280   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:25 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Hey!!!!!!
It worked!!!
Now I have the option "Compile Script"!!!
So this was the problem.
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #281   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:26 PM).
Zeturic's Avatar
Zeturic Zeturic is offline
 
Join Date: Mar 2007
Posts: 787
I don't think so. And wouldn't that just take up more room on the ROM?
  #282   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:41 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Okay, everything is okay.
I burned the script into a rom.
I will try the rom.
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #283   Link to this post, but load the entire thread.  
Old January 19th, 2008 (4:58 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Crashink, look what happened! O.O
Man, what a weird rom...

I think the problem is that I didn't wrote the script in the correct version like you said, right?

Quote:
Today 01:12 PM
Crashink

i noticed the script just then.

This is yours:

Quote:
#org $ShowText
Lock
Faceplayer

$message noCookie
$noCookie = Hi! I haven't got a cookie for you!!!

release
end
It's a bit wrong, actually, alot wrong.
I take it you got it from PokeScript tutorial by Irish Witch?
Well, her tutorial is a bit outdated, i've currently making one and waiting for it in the tutorials section so that should explain it a bit more.

Though a basic message script looks like this:

Quote:
#org $begin
lock
faceplayer
message $<Addpointer>
$<Addpointer> 1 =[Message]
boxset 6
release
end
Or:

Quote:
#org $begin
lock
faceplayer
message $hey
boxset 6
release
end

#org $hey
= [message]
Add whatever you need to in the specified areas.
Have you tried the idea I put in my previous post though?
Well, here is the video :
Attached Files
File Type: avi clip0033.avi‎ (4.84 MB, 9 views) (Save to Dropbox)
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #284   Link to this post, but load the entire thread.  
Old January 19th, 2008 (5:01 PM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 28
Gender: Male
Posts: 2,707
The script Crashink gave you is in Fire red format.
__________________
--I'm a creepin'..
  #285   Link to this post, but load the entire thread.  
Old January 19th, 2008 (5:07 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Aha.
But I'm hacking Ruby.
So, my version is the correct version, right?
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #286   Link to this post, but load the entire thread.  
Old January 19th, 2008 (5:12 PM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 28
Gender: Male
Posts: 2,707
Quote:
Originally Posted by Piplup-Trainer View Post
Aha.
But I'm hacking Ruby.
So, my version is the correct version, right?
Crashink Made that into A Fire Red formatted script.
That kind of script does not work with a Ruby ROM.
__________________
--I'm a creepin'..
  #287   Link to this post, but load the entire thread.  
Old January 19th, 2008 (5:22 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Okay, thank you for the information.
Thanks to Crashink too with helping me with BufRite.
I go to bed (it's 02:22 AM --> I have the time UTC +1, because I live in Europe).
Good night.
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
  #288   Link to this post, but load the entire thread.  
Old January 19th, 2008 (7:51 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Actually no, the first script I made can be inserted into Ruby and FireRed, it is format in both. It doesn't really matter how you make it, because PokeScript will compile it the same way anyway. So theres no real problem in the scripts.

It might just be your Rom, or something with your PokeScript.

Otherwise use ScriptEd.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #289   Link to this post, but load the entire thread.  
Old January 20th, 2008 (4:07 AM).
Larsie13
Guest
 
Posts: n/a
When I try to compile a script with PokéScript, it gets a run-time error 5. What's that?
  #290   Link to this post, but load the entire thread.  
Old January 20th, 2008 (6:07 AM).
+Sneasel™'s Avatar
+Sneasel™ +Sneasel™ is offline
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 29
Gender:
Nature: Lonely
Posts: 1,032
Quote:
Originally Posted by Larsie13 View Post
When I try to compile a script with PokéScript, it gets a run-time error 5. What's that?
Theres a guide on how to do this in the documents/tutorials section, heres the link:

http://www.pokecommunity.com/showthread.php?t=112157

Sorry, i would answer myself, but i have no clue why, so this guide will hopefully show you what to do.
__________________
Intentions that were pure have turned obscure,
Seconds into hours, minutes into years.
Don't ask me why,
PLEASE DON'T CRY!
I can't tell you lies...

Don't click this!

PPH - A great hacking forum :)
  #291   Link to this post, but load the entire thread.  
Old January 20th, 2008 (8:54 AM).
pokeglitch86 pokeglitch86 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 28
If you hve a run-time error I would suggest you download all the files again and proofread you script. By the way has anyone figured out how to be able to use surf.
  #292   Link to this post, but load the entire thread.  
Old January 20th, 2008 (1:22 PM).
Megiddo-san's Avatar
Megiddo-san Megiddo-san is offline
Barium - Summer '12 Return?
 
Join Date: Dec 2007
Location: Where you least expect it
Age: 31
Gender: Male
Nature: Relaxed
Posts: 1,308
what pointer leads to oak's level script that prevents you from leaving Pallet Town?
__________________

Hashire! Asu e tsudzuku shinka no micha wa
  #293   Link to this post, but load the entire thread.  
Old January 20th, 2008 (3:53 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
I need help with this script, from someone who knows raws and specials ;P

Code:
#org $begin
lock
faceplayer
message $hey
$hey 1 =Hey!\nWe've been waiting...
boxset 6
#raw 0x25 0x01 0x36
applymovement 0x8 $amazed
pausemove 0
message $whatwas
$whatwas 1 =Hey!\nWhat was that?\pI'm going to go\nand check it out!
boxset 6
#raw 0x97 0x05
applymovement 0x8 $goaway
pausemove 0
#raw 0x53
#raw 0x8
#raw 0x00
#raw 0x53
#raw 0x9
#raw 0x00
release
end

#org $amazed
#raw 0x62
#raw 0xFE

#org $goaway
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0xFE
I've changed it quite a few times with the same results hapenning, no eathquake, no movements and no fadescreen.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #294   Link to this post, but load the entire thread.  
Old January 20th, 2008 (4:19 PM).
Hellsing's Avatar
Hellsing Hellsing is offline
The bird of Hermes is my name
 
Join Date: Aug 2007
Location: Canada
Gender:
Nature: Rash
Posts: 121
I'm not sure if I'm supposed to ask here, but when I try to compile my script, when bufrite first opens up it says file not found or user cancel. I ignored it, and continued..but then when I go to burn it it doesn't ask me for the offset and doesn't compile. What did I do? If I'm not supposed to post this here, sorry.
  #295   Link to this post, but load the entire thread.  
Old January 21st, 2008 (6:44 AM).
pokeglitch86 pokeglitch86 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 28
Redownload everything and have your scripts in the same folder as bufrite. You might just wanna try putting them in the same file first.
  #296   Link to this post, but load the entire thread.  
Old January 21st, 2008 (7:08 AM).
Mitchman Mitchman is offline
Banned
 
Join Date: Dec 2007
Location: Southern Europe
Age: 30
Gender: Male
Nature: Hasty
Posts: 7,482
wait for a script do you need a special program or can you just use notepad
  #297   Link to this post, but load the entire thread.  
Old January 21st, 2008 (7:41 AM).
Binary's Avatar
Binary Binary is offline
え?
 
Join Date: Aug 2007
Age: 28
Posts: 3,977
Quote:
Originally Posted by pokeglitch86 View Post
If you hve a run-time error I would suggest you download all the files again and proofread you script. By the way has anyone figured out how to be able to use surf.
special 0x80B
should do the trick,
It makes you have the fifth badge though :/


Quote:
Originally Posted by Crashink View Post
I need help with this script, from someone who knows raws and specials ;P

Code:
#org $begin
lock
faceplayer
message $hey
$hey 1 =Hey!\nWe've been waiting...
boxset 6
#raw 0x25 0x01 0x36
applymovement 0x8 $amazed
pausemove 0
message $whatwas
$whatwas 1 =Hey!\nWhat was that?\pI'm going to go\nand check it out!
boxset 6
#raw 0x97 0x05
applymovement 0x8 $goaway
pausemove 0
#raw 0x53
#raw 0x8
#raw 0x00
#raw 0x53
#raw 0x9
#raw 0x00
release
end

#org $amazed
#raw 0x62
#raw 0xFE

#org $goaway
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0x08
#raw 0xFE
I've changed it quite a few times with the same results hapenning, no eathquake, no movements and no fadescreen.
Ummm,
for the earthquake you should use special 0x136
And for the movements, I think you can use the simple binary stuff,
And fadescreen should make the screen fade.
(Even I don't know what I'm talking about, but hope it helps)

~C3LEBI
__________________
  #298   Link to this post, but load the entire thread.  
Old January 21st, 2008 (8:05 AM).
Larsie13
Guest
 
Posts: n/a
When I use my own script to recieve my starter, the script works normally, until I press START. I do have the POKéDEX and POKéMON menus, but in the upper left corner it shows Safari Zone stuff:
?25 / 600
0 BALLS

What can be the cause?
  #299   Link to this post, but load the entire thread.  
Old January 21st, 2008 (10:02 AM). Edited January 21st, 2008 by pokeglitch86.
pokeglitch86 pokeglitch86 is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 28
Quote:
Originally Posted by C3LEBI♥ View Post
special 0x80B
should do the trick,
It makes you have the fifth badge though :/



Ummm,
for the earthquake you should use special 0x136
And for the movements, I think you can use the simple binary stuff,
And fadescreen should make the screen fade.
(Even I don't know what I'm talking about, but hope it helps)

~C3LEBI
Thank you very much for the surf special I'll try it now.

EDIT: It made my game freeze
  #300   Link to this post, but load the entire thread.  
Old January 21st, 2008 (10:17 PM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote:
Originally Posted by Crashink View Post
I need help with this script, from someone who knows raws and specials ;P

[code]
I've changed it quite a few times with the same results hapenning, no eathquake, no movements and no fadescreen.
#raw 0x25 0x01 0x36 = special 0x3601
#raw 0x25 0x36 0x01 = special 0x136
You need to reverse things that involve more than one byte.

and what's fadescreen 5 supposed to do. I've never tried it before.


Quote:
Originally Posted by Larsie13 View Post
When I use my own script to recieve my starter, the script works normally, until I press START. I do have the POKéDEX and POKéMON menus, but in the upper left corner it shows Safari Zone stuff:
?25 / 600
0 BALLS

What can be the cause?
IF you're using Fire Red or leaf green, I'd assume you used setflag 0x800, somewhere in the script. Just change it to setflag 0x828.
__________________
Gone.
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:24 AM.