The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.



Closed Thread
Thread Tools
  #51  
Unread January 7th, 2008, 10: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  
Unread January 11th, 2008, 10: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  
Unread January 11th, 2008, 11:21 PM
derv1205's Avatar
derv1205
Rom Hacker
 
Join Date: Dec 2007
Location: Lima - Peru
Age: 19
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to derv1205
Quote:
Originally Posted by Himochi View Post
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
__________________
Looking for a person to help me in my hack. Send a PM. Looking for Tiler and tile Inserter, Spriter, Mapper, Some good ideas and some more.

Derv1205
♦ Rom Hacker - Spriter, Scripter, Mapper, Graphic Editor.
Current Hacks:
Pokemon Versax - Only missing change tiles and some minisprites and sprites for Beta 1.0

Hope to get in a Hacking Team...

  #54  
Unread January 12th, 2008, 02:51 AM
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  
Unread January 15th, 2008, 11:35 PM
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Does anybody know the flag for the ability to surf?
  #56  
Unread January 15th, 2008, 11:38 PM
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 19
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  
Unread January 18th, 2008, 06:07 AM
derv1205's Avatar
derv1205
Rom Hacker
 
Join Date: Dec 2007
Location: Lima - Peru
Age: 19
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to derv1205
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
__________________
Looking for a person to help me in my hack. Send a PM. Looking for Tiler and tile Inserter, Spriter, Mapper, Some good ideas and some more.

Derv1205
♦ Rom Hacker - Spriter, Scripter, Mapper, Graphic Editor.
Current Hacks:
Pokemon Versax - Only missing change tiles and some minisprites and sprites for Beta 1.0

Hope to get in a Hacking Team...

  #58  
Unread January 18th, 2008, 09: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  
Unread January 18th, 2008, 09:56 PM
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 19
Gender:
Nature: Lonely
Send a message via Windows Live Messenger to +Sneasel™
Quote:
Originally Posted by pokeglitch86 View Post
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  
Unread January 18th, 2008, 10:56 PM
pokeglitch86
Beginning Trainer
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Thank you very much! It works!
  #61  
Unread February 1st, 2008, 03:16 AM
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  
Unread February 5th, 2008, 02:11 AM
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 20
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  
Unread February 5th, 2008, 02:17 AM
+Sneasel™'s Avatar
+Sneasel™
It's a meeee, itman!
 
Join Date: May 2007
Location: None of your business!
Age: 19
Gender:
Nature: Lonely
Send a message via Windows Live Messenger to +Sneasel™
Quote:
Originally Posted by hayvan999 View Post
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  
Unread February 5th, 2008, 03:06 AM
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  
Unread February 6th, 2008, 11:28 AM
Fendaril
Novice Mario 64 hacker.
 
Join Date: Feb 2008
you guys make fun of all the newbies lol
  #66  
Unread February 6th, 2008, 08:38 PM
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 20
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  
Unread February 9th, 2008, 09:48 PM
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 20
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.

Last edited by Jack of Bl♠des; February 9th, 2008 at 11:08 PM.
  #68  
Unread March 13th, 2008, 07:10 PM
adamb241's Avatar
adamb241
Pokémon Raging Fury
 
Join Date: Jan 2008
Location: New York
Age: 19
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  
Unread March 13th, 2008, 11:04 PM
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 20
Gender:
Send a message via AIM to Jack of Bl♠des
Quote:
Originally Posted by adamb241 View Post
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  
Unread March 14th, 2008, 12:55 PM
iPredator's Avatar
iPredator
"Every Self Will Taste Death"
 
Join Date: Jul 2007
Location: London, UK
Age: 22
Gender: Male
Nature: Modest
Send a message via Windows Live Messenger to iPredator
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 HeartGold Team
iPredator's PokePet

Blaze the level 64 Typhlosion!
To Get

  #71  
Unread March 15th, 2008, 08: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  
Unread March 15th, 2008, 09: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  
Unread March 15th, 2008, 03:39 PM
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!

Last edited by PeregrinFig; March 16th, 2008 at 09:10 PM.
  #74  
Unread March 15th, 2008, 09: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  
Unread March 17th, 2008, 04:12 AM
Jack of Bl♠des's Avatar
Jack of Bl♠des
Former goderator
 
Join Date: Jan 2008
Location: Temin-ni-Gru
Age: 20
Gender:
Send a message via AIM to Jack of Bl♠des
Quote:
Originally Posted by PeregrinFig View Post
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 View Post
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

Forum Jump


All times are UTC. The time now is 03:52 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User posts belong to the user.