Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old January 7th, 2008 (02:34 PM).
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Ok well I've just been taking some off of this site. Just so I can know that it's working before I start making scripts. Here they are though:

#org $Showtext
lock
faceplayer
message $Hello
$Hello 1 = How ya going?\pGood? That's awesome!!
boxset 6
release
end
----------
#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end
----------
#org $begin
lock
faceplayer
checkflag 0x232
if B_true goto $gotit
message $q
boxset 6
message $mygod
boxset 6
givepokemon 131 5 0
message $NameCharm
boxset 5
setflag 0x232
setflag 0x828
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = How's your LAPRAS doing?

#org $q
$q 1 = What's that you need\na pokemon. Take this\nLapras. I found it\non the beach. It\nneeds a good\p trainer.

#org $mygod
$mygod 1 = You received the LAPRAS!

message $NameCharm
$NameCharm 1 = Would You like to give \nLAPRAS a name?
boxset 5
compare LASTRESULT 1
if b_False goto $seeya
Namepokemon
setflag 0x203

message $seeya
$seeya 1 = Thanks!
release
end
-----------------
  #52    
Old January 11th, 2008 (02:13 PM).
Himochi
Beginning Trainer
 
Join Date: Nov 2007
Gender:
Okay...I used the tutorial on the Give Pokemon script - but the Pokemon option isn't added to the start menu. Also, it doesn't give me the option to nickname the Pokemon, I just get it and that's it. What am I doing wrong? >_>;;;
  #53    
Old January 11th, 2008 (03:21 PM).
derv1205's Avatar
derv1205
Trade/Battle/Breed/Clone (X,B2,D)
 
Join Date: Dec 2007
Location: Florida, USA
Gender: Male
Nature: Adamant
Quote originally posted by Himochi:
Okay...I used the tutorial on the Give Pokemon script - but the Pokemon option isn't added to the start menu. Also, it doesn't give me the option to nickname the Pokemon, I just get it and that's it. What am I doing wrong? ;;;
For the pokemon menu you have to set the flag 800
and the other thing, the nickname, uhmm, is maybe something you
forgot, show me the script and i can help you
__________________
FC 3DS: 1821 - 8876 - 6418 , Playing Pokemon X & Omega Ruby - Add me and let me know please!
FS: Flying type - Swanna, Doduo, Hawlucha
TSV: 2631 - if needed contact me.

Derv1205's Shop! <- Several IV, Shiny, Legendary, Event Pokemon! Come in take a look

Trader Review thread <- If we've traded a review is much appreciated. Thank you!

"Trade. Breed. Train. Battle."
  #54    
Old January 11th, 2008 (06:51 PM).
Himochi
Beginning Trainer
 
Join Date: Nov 2007
Gender:
Here's the script:
Where do I place the 800 setflag? >_>;

Quote:
#org $begin
lock
faceplayer
checkflag 0x232
if B_true goto $gotit
message $givetyrogue
boxset 6
message $gottyrogue
boxset 6
givepokemon 236 1 0
message $NameTyrogue
boxset5
setflag 0x232
setflag 0x828
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = You can keep that TYROGUE! Really!

#org $givetyrogue
$givetyrogue 1 = Hey, 'haven't seen you around before.\nYou're new to the Kaikon Region?\p................\n................\pNice to meet you! I'm KENNETH!\nYou don't have any Pokémon, do you?\pHere, take this TYROGUE. Use it to get to\nthe next town, where you can buy\pPokéballs to catch your own!

#org $gottyrogue
$gottyrogue 1 = KENNETH gave you a TYROGUE!

message $NameTyrogue
$NameTyrogue 1 = Do you want to give\nthe Tyrogue a nickname?
boxset 5
compare LASTRESULT 1
if b_False goto $seeya
Namepokemon
setflag 0x203

message $seeya
$seeya 1 = Good luck! I'll see you around!
release
end
  #55    
Old January 15th, 2008 (03:35 PM).
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Does anybody know the flag for the ability to surf?
  #56    
Old January 15th, 2008 (03:38 PM).
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 21
Gender:
Nature: Lonely
Send a message via Windows Live Messenger to +Sneasel™
You should ask that in teh script help thread in tehs scrap box.
__________________
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
  #57    
Old January 17th, 2008 (10:07 PM).
derv1205's Avatar
derv1205
Trade/Battle/Breed/Clone (X,B2,D)
 
Join Date: Dec 2007
Location: Florida, USA
Gender: Male
Nature: Adamant
Himochi: Here is the script corrected

Spoiler:
#org $begin
lock
faceplayer
checkflag 0x800
if B_true goto $gotit
message $givetyrogue
boxset 6
givepokemon 236 5 0
goto $Next

#org $gotit
message $hi
boxset 6
release
end

#org $Next
lock
message $NameTyr
$NameTyr 1 = Do you want to give\nthe Tyrogue a nickname?
boxset 5
compare LASTRESULT 1
if 1 goto $Namepkmn
setflag 0x800
setflag 0x203
message $seeya
boxset 6
release
end

#org $Namepkmn
fadescreen 0x01
special 0x009E
#raw 0x27
setflag 0x203
setflag 0x800
message $bye
boxset 6
release
end

#org $hi
$hi 1 = You can keep that TYROGUE! Really!

#org $givetyrogue
$givetyrogue 1 = Hey, 'haven't seen you around before.\nYou're new to the Kaikon Region?\p................\n................\pNice to meet you! I'm KENNETH!\nYou don't have any Pokémon, do you?\pHere, take this TYROGUE. Use it to get to\nthe next town, where you can buy\pPokéballs to catch your own!\pKENNETH gave you a TYROGUE!

#org $seeya
$seeya 1 = Good luck! I'll see you around!

#org $bye
$bye 1 = Good luck! I'll see you around!



Look, when you put for eg.

givepokemon 236 5 0
message $NameTyrogue
setflag 0x800
release
end

message $NameTyrogue
$NameTyrogue 1 = etc etc

Thats bad man, you have to put this:

givepokemon 236 5 0
message $NameTyrogue
boxset 5
(6)
setflag 0x800
release
end

#org $NameTyrogue
$NameTyrogue 1 = etc etc

That's why some parts didnt work

And also, in the part of "NamePokemon" put this instead of NamePokemon:
fadescreen 0x01
special 0x009E
#raw 0x27

Is better that way Thanks to thethethethe for telling me that when i need help
in one of my scripts

It must work I had tried it, if something happens, post it here
__________________
FC 3DS: 1821 - 8876 - 6418 , Playing Pokemon X & Omega Ruby - Add me and let me know please!
FS: Flying type - Swanna, Doduo, Hawlucha
TSV: 2631 - if needed contact me.

Derv1205's Shop! <- Several IV, Shiny, Legendary, Event Pokemon! Come in take a look

Trader Review thread <- If we've traded a review is much appreciated. Thank you!

"Trade. Breed. Train. Battle."
  #58    
Old January 18th, 2008 (01:47 PM).
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Can anybody tell me what's wrong with this script it keeps freezing the game whenever I use it.

#org $begin
checkflag 0x198
if B_true goto $done
applymovement 0x02 $mw1
pause 0x10
message $mt1
boxset 6
applymovement 0xFF $mw2
pause 0x10
release
end

#org $done
release
end

#org $mw1
$mw1 ; #binary 0x02 0xFE

#org $mt1
$mt1 1 = We have now departed for\nValencia Island.\pYou may explore the ship.

#ORG $mw2
$mw2 1 ; #binary 0x11 0xFE
  #59    
Old January 18th, 2008 (01:56 PM).
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 21
Gender:
Nature: Lonely
Send a message via Windows Live Messenger to +Sneasel™
Quote originally posted by pokeglitch86:
Can anybody tell me what's wrong with this script it keeps freezing the game whenever I use it.

#org $begin
checkflag 0x198
if B_true goto $done
applymovement 0x02 $mw1
pausemove 0
message $mt1
boxset 6
applymovement 0xFF $mw2
pausemove 0
release
end

#org $done
release
end

#org $mw1
$mw1 1 ; 0x02 0xFE

#org $mt1
$mt1 1 = We have now departed for \nValencia Island. \pYou may explore the ship.

#ORG $mw2
$mw2 1 ; 0x11 0xFE
I edited it in bold, try it!

Also, fill this out in advance map for the script.
Unknown= 03 00
Var= 52 40

Leave the rest blank
__________________
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
  #60    
Old January 18th, 2008 (02:56 PM).
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Thank you very much! It works!
  #61    
Old January 31st, 2008 (07:16 PM).
hayvan999's Avatar
hayvan999
Psychic power!
 
Join Date: Jan 2008
Gender:
Nature: Calm
Send a message via Windows Live Messenger to hayvan999 Send a message via Yahoo to hayvan999
ok i have a small problem. whenever i insert this:

#org $begin
lock
faceplayer
checkflag 0x232
if B_true goto $gotit
message $q
boxset 6
message $mygod
boxset 6
givepokemon 4 5 0
message $NameCharm
boxset 5
setflag 0x232
setflag 0x828
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = How's my old CHARMANDER?

#org $q
$q 1 = To get past here, you'll\nneed a pokemon.\pTake this CHARMANDER.

#org $mygod
$mygod 1 = You received the CHARMANDER!

message $NameCharm
$NameCharm 1 = Would You like to give \nCHARMANDER a name?
boxset 5
compare LASTRESULT 1
if b_False goto $seeya
Namepokemon
setflag 0x203

message $seeya
$seeya 1 = Thanks!
release
end


the person that i am talking is still moving when i talk! how can i fix it
__________________





Want to make money online for free and get cool prizes? Click the picture above to get started now. Don't wait another second!
  #62    
Old February 4th, 2008 (06:11 PM).
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 22
Gender:
Send a message via AIM to Jack of Bl♠des
Okay, I'm trying to get this whole scripting thing down. After I write once, save it as an .rbc, open it in Bufrite, and burn it to a ROM, how/where do I find the Offset. All I see after clicking burn is

Quote:
sega.$showtext (800024)
sega.$hello (800030)
The script was what was used in the first post of this thread.

But to my knowledge, an outset is supposed to be marked like $XXXXXX, the X's representign numbers, right. (sega was the name of my file btw)
  #63    
Old February 4th, 2008 (06:17 PM).
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 21
Gender:
Nature: Lonely
Send a message via Windows Live Messenger to +Sneasel™
Quote originally posted by hayvan999:
ok i have a small problem. whenever i insert this:

#org $begin
checkflag 0x232
lock
faceplayer
if B_true goto $gotit
message $q
boxset 6
message $mygod
boxset 6
givepokemon 4 5 0
message $NameCharm
boxset 5
setflag 0x828
setflag 0x232
release
end

#org $gotit
message $hi
boxset 6
release
end

#org $hi
$hi 1 = How's my old CHARMANDER?

#org $q
$q 1 = To get past here, you'll\nneed a pokemon.\pTake this CHARMANDER.

#org $mygod
$mygod 1 = You received the CHARMANDER!

message $NameCharm
$NameCharm 1 = Would You like to give \nCHARMANDER a name?
boxset 5
compare LASTRESULT 1
if b_False goto $seeya
Namepokemon
setflag 0x203

message $seeya
$seeya 1 = Thanks!



the person that i am talking is still moving when i talk! how can i fix it
try it now, i may have fixed it!
__________________
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
  #64    
Old February 4th, 2008 (07:06 PM).
kyle2386
Beginning Trainer
 
Join Date: Feb 2008
Gender:
um soz but my problem is wen i right click on my RBC file then compile script it comes up with an error or something

does any1 no the answer to my question? heres my questino againo,

#org $begin
lock
faceplayer
checkflag 0x200
if b_true goto $alreadygotone
message $wantpoke
$wantpoke 1 =Hey,\nI Grats on graduating!\pHere is your \ngraduatin pokemon, \pWant it now?
boxset 5
compare LASTRESULT 1
if 1 goto $getseviper
message $toobad
$toobad 1 =Oh, well you will \nneed it.
boxset 6
release
end
#org $getseviper
lock
message $getone
$getone 1 =Ok go see \nyour home room teacher, \pshe chose this pokemon for you! \n Remember just to the left.
boxset 6
givepokemon 0x7B 0x5 0x0
message $received
$received 1 =PLAYER received Seviper!
boxset 6
setflag 0x200
release
end
#org $alreadygotone
lock
faceplayer
message $howsit
$howsit 1 =I Know your the one \p\v\h01 What the hell? \ndo you mean? \p Um Do not worry.
boxset 6
release
end


and here is the error log

Logging started5/02/2008 12:29:03 PM
#PROCESS: base\Includes.psh F:2 for Input
/----------------------------------------
|
\- Processed 0 Lines

#PROCESS: pkmadv\includes.psh F:2 for Input
/------------------------------------------
|1: fulllog False
|#PROCESS: pkmAdv/Commands.psh F:3 for Input
|/------------------------------------------
||Duplicate Entry: if
||Duplicate Entry: gosub
||Duplicate Entry: jump
||Duplicate Entry: callstd
||Duplicate Entry: textra
||Duplicate Entry: message $1
||Duplicate Entry: if $1 jump $2
||Duplicate Entry: if $1 gosub $2
||Duplicate Entry: tif $1
||Duplicate Entry: fif $1
||Duplicate Entry: compare var $1 val $2
||Duplicate Entry: compare var $1 int $2
||Duplicate Entry: compare var $1 pointer $2
||Duplicate Entry: compare pointer $1 var $2
||Duplicate Entry: compare pointer $1 byte $2
||Duplicate Entry: compare pointer $1 pointer $2
||
|\- Processed 0 Lines
|
|#PROCESS: pkmAdv/texttable.psh F:3 for Input
|/-------------------------------------------
||
|\- Processed 0 Lines
|
|#PROCESS: pkmAdv/items.psh F:3 for Input
|/---------------------------------------
||
|\- Processed 0 Lines
|
|#PROCESS: pkmAdv/stdpoke.psh F:3 for Input
|/-----------------------------------------
||
|\- Processed 0 Lines
|
|71: Autobank True
|74: fulllog True
|
\- Processed 820 Lines

so wats wrong? ty in advance

no answers? reallY ? why does no one know? plz im desperate, ps it does the same thing on every1 elses aswell this is wat it sais ,....

i click compile on my script then it says runtime error 5, in valid procedure call or arguement wat is this and how do i fix this
  #65    
Old February 6th, 2008 (03:28 AM).
Fendaril
Novice Mario 64 hacker.
 
Join Date: Feb 2008
you guys make fun of all the newbies lol
  #66    
Old February 6th, 2008 (12:38 PM).
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 22
Gender:
Send a message via AIM to Jack of Bl♠des
Nevermind, I seem have found the solution to my problem....I forgot to put the "$" when I put the offset in Advance Map ;
__________________
Hey guys, I'm still alive. Not really sure if I want to continue Twisted Path though.
  #67    
Old February 9th, 2008 (01:48 PM). Edited February 9th, 2008 by Jack of Bl♠des.
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 22
Gender:
Send a message via AIM to Jack of Bl♠des
Your Yes/No script has a minor error. Instead of "B_TRUE" you just need to put in "1". Otherwise you'll get the same result regardless of what you pick.
__________________
Hey guys, I'm still alive. Not really sure if I want to continue Twisted Path though.
  #68    
Old March 13th, 2008 (11:10 AM).
adamb241's Avatar
adamb241
Pokémon Raging Fury
 
Join Date: Jan 2008
Location: New York
Age: 21
Nature: Brave
When I compile the script and hit burn and everything, I put the offsets into A map and then when I go to talk to the guy......The game freezes....What did I do wrong?

Here is my script



#org $showtext
lock
fackplayer
message $Welcome
$Welcome 1 = Welcome, hope you enjoy\pyour stay
boxset 6
release
end
__________________

\-Pokémon Raging Fury-/
+A new project from Dark Steel Productions+
  #69    
Old March 13th, 2008 (03:04 PM).
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 22
Gender:
Send a message via AIM to Jack of Bl♠des
Quote originally posted by adamb241:
When I compile the script and hit burn and everything, I put the offsets into A map and then when I go to talk to the guy......The game freezes....What did I do wrong?

Here is my script



#org $showtext
lock
fackplayer
message $Welcome
$Welcome 1 = Welcome, hope you enjoy\pyour stay
boxset 6
release
end
you put "fackplayer" instead of "faceplayer"
__________________
Hey guys, I'm still alive. Not really sure if I want to continue Twisted Path though.
  #70    
Old March 14th, 2008 (04:55 AM).
Vegeta™'s Avatar
Vegeta™
 
Join Date: Jul 2007
Location: London, UK
Age: 24
Gender: Male
Nature: Adamant
hey when i compile the mew wildbattle script it say runtime error "457"

"the key is already associated with an element of this collection"

what should i do?
__________________
My Pokemon Y Team:


My Pokemon Alpha Sapphire Team:
  #71    
Old March 15th, 2008 (12:07 AM).
a new killer, ramoteh
u ****ing people misunderstand
 
Join Date: Feb 2008
Knight,this tutorial isn't trustful
Also,as Night_Black said,go to thetheththe's tutorial!!!!
It has a perfectly working one there
  #72    
Old March 15th, 2008 (01:15 AM).
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Your not supposed to take scripts from tutorials, your supposed to learn how to script :l
If your not going to learn how to script, simply don't. Copying scripts wont get you anywhere.
__________________
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.
  #73    
Old March 15th, 2008 (07:39 AM). Edited March 16th, 2008 by PeregrinFig.
PeregrinFig's Avatar
PeregrinFig
Beginning Trainer
 
Join Date: Feb 2008
Gender:
I tried creating a script, and when I put it into my LeafGreen rom and checked the sign, I got a boxset 5-type text box with choice of 'FRESH WATER' or 'EXIT', then when I picked one, regardless of which, I got a yes/no box with no options (just a blank space) and when I pressed A everything froze. The same thing happened when I put it on a person, except without the fresh water part. This is my script, can you tell me what's wrong, thanks:
Quote:
#org $Showtext
lock
faceplayer
message $sign
$sign 1 = OUTSET TOWN\nThe starting point of power
boxset 6
release
end
EDIT: I also tested this on a clean FireRed and Ruby ROM, then a ROM of Pokemon Marble, Quartz, and Mystical Glacier, and it failed on all of them. Is it possible I'm compiling the script wrong? I right-click and choose compile, then when Buf-Rite comes up, I click the bok and select my .gba file, then clcik the searchlight and choose the first offset, then copy the offset code next to $Showtext into A Map. Please help, I really want to know what's wrong here!
  #74    
Old March 15th, 2008 (01:33 PM).
Umbreon 27alpha
Beginning Trainer
 
Join Date: Mar 2008
Gender:
Nature: Lonely
Send a message via Yahoo to Umbreon 27alpha
Quick question please, for a give item script, what do i assign an offset to? all four of them? or just the first? or what what? Please help! Thanks in advance.
  #75    
Old March 16th, 2008 (08:12 PM).
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 22
Gender:
Send a message via AIM to Jack of Bl♠des
Quote originally posted by PeregrinFig:
I tried creating a script, and when I put it into my LeafGreen rom and checked the sign, I got a boxset 5-type text box with choice of 'FRESH WATER' or 'EXIT', then when I picked one, regardless of which, I got a yes/no box with no options (just a blank space) and when I pressed A everything froze. The same thing happened when I put it on a person, except without the fresh water part. This is my script, can you tell me what's wrong, thanks:

EDIT: I also tested this on a clean FireRed and Ruby ROM, then a ROM of Pokemon Marble, Quartz, and Mystical Glacier, and it failed on all of them. Is it possible I'm compiling the script wrong? I right-click and choose compile, then when Buf-Rite comes up, I click the bok and select my .gba file, then clcik the searchlight and choose the first offset, then copy the offset code next to $Showtext into A Map. Please help, I really want to know what's wrong here!
Are you making sure to burn the script to your ROM? The script you showed seems perfectly fine. If you are, then I need to know what you're burning it to. Is it a signpost or a person?


Quote originally posted by Umbreon 27alpha:
Quick question please, for a give item script, what do i assign an offset to? all four of them? or just the first? or what what? Please help! Thanks in advance.
It depends i guess. Are the items all going to be in one script?
__________________
Hey guys, I'm still alive. Not really sure if I want to continue Twisted Path though.
Closed Thread
Quick Reply

Sponsored Links
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:46 PM.