Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Spenceroone3's Scripting Tutorial

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
 
Thread Tools
  #76    
Old March 17th, 2008 (12:05 PM).
PeregrinFig's Avatar
PeregrinFig PeregrinFig is offline
 
Join Date: Feb 2008
Gender:
Posts: 4
[quote=Jack of Bl♠des;3408488]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?

I've tried it on both, and had no effect. For a person, is it because I have something wrong with an 'Unknown' variable or People ID? And for a sign, I have no clue how it should be.
  #77    
Old May 10th, 2008 (08:45 AM).
kr3shn1k kr3shn1k is offline
 
Join Date: May 2008
Location: I live in the use
Gender:
Nature: Hasty
Posts: 4
THX THIS REALY HELPED!!!!!!!
  #78    
Old May 14th, 2008 (03:27 PM).
NTA's Avatar
NTA NTA is offline
Where?
 
Join Date: Nov 2007
Nature: Adamant
Posts: 265
i have a question about the Unknown: 03 00
Var Number: 50 40

i were to give my character 4 steps instead of three would i have Unknown: 04 00?
__________________

  #79    
Old May 15th, 2008 (05:14 AM).
Hardy Har Har's Avatar
Hardy Har Har Hardy Har Har is offline
Oh dear, oh my...
 
Join Date: Mar 2008
Location: In a Swinub family-free area with Lippy the Lion
Age: 21
Gender:
Nature: Timid
Posts: 258
Send a message via Yahoo to Hardy Har Har Send a message via Skype™ to Hardy Har Har
i compiled the script in my rom but when i talked to the person nothing happens
__________________
This signature has been disabled.
Exceeds signature height limit.
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.
  #80    
Old June 6th, 2008 (08:02 PM).
mattattack's Avatar
mattattack mattattack is offline
Huh, Son?
 
Join Date: Apr 2008
Location: Why would you care?
Nature: Jolly
Posts: 184
excuse me can you help me out every time I talk to the person I put a script in a little box appears in the right upper corner then my game freezes help!
  #81    
Old June 13th, 2008 (03:16 PM).
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Send a message via Windows Live Messenger to spenceroone3
Quote originally posted by mattattack:
excuse me can you help me out every time I talk to the person I put a script in a little box appears in the right upper corner then my game freezes help!
Happy birthday to me, happy birthday to me. Since it's my birthday, I'll give you some help if you show me the script.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #82    
Old June 13th, 2008 (04:00 PM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
Silver Tier
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Posts: 1,150
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote originally posted by mattattack:
excuse me can you help me out every time I talk to the person I put a script in a little box appears in the right upper corner then my game freezes help!
That's what happens when you use Pokescript. Geez, if you only knew how many mistakes are in pokescript...This never happened with XSE before.
Quote originally posted by spenceroone3:
Happy birthday to me, happy birthday to me. Since it's my birthday, I'll give you some help if you show me the script.
No need, just use XSE and "it'll script for you"
__________________

  #83    
Old June 17th, 2008 (08:38 PM).
Pikmin_7890's Avatar
Pikmin_7890 Pikmin_7890 is offline
Elite Water Master, Demyx
 
Join Date: Jun 2008
Location: Lompoc, Ca
Gender:
Nature: Modest
Posts: 5
Can you make a tut on how to make other characters leave the room? Or maybe a tut on editing a trainer's script? Or a tut on making you follow the character somewhere(like you do when you meet wally in emerald)? Or a tut where the character takes care of your pokemon like a daycare.

Can you make a "Movement Script" where you move backwards?

Oh, and I have a problem. I can only get one person to have the "give Item" or "Give Pokemon" scripts. Everyone else with these scripts won't speak when I test the game. For example, I made a clefairy doll give you a masterball and a Ho-oh give you a masterball, but when I test the game, only clefairy gives you the masterball, and vice-versa. HELP, please.

(If you want to see some sprites I made like my Torterra, just e-mail me at [email protected] )
__________________

  #84    
Old June 21st, 2008 (03:27 PM). Edited June 24th, 2008 by spenceroone3.
spenceroone3's Avatar
spenceroone3 spenceroone3 is offline
<he eats lots of burgers.
 
Join Date: Aug 2007
Location: In your closet
Gender:
Nature: Hasty
Posts: 215
Send a message via Windows Live Messenger to spenceroone3
I've looked back at my tutorial and now I feel like an idiot...
I'm going to go and fix all of it, and do some next bits.

Pikmin:

Making characters dissapear from a room: Just look through my commands list, you find everything you need there.

Move backwards: Again, look through my commands list.

Your giveitem problem: I have a feeling you used setflag 0x200 for both of them. For one of them, have the flag 0x201 and I think it should work fine.
__________________
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
  #85    
Old June 22nd, 2008 (09:22 AM).
lief981 lief981 is offline
Don't know what I'm doing here
 
Join Date: Feb 2008
Gender:
Posts: 1
Does this still work on pksv english version?
__________________



I support all these hackz!!!
  #86    
Old August 25th, 2008 (07:16 AM).
M O M U S U's Avatar
M O M U S U M O M U S U is offline
Fail-safe
 
Join Date: May 2008
Location: Twinleaf Town
Age: 21
Nature: Quiet
Posts: 108
Ok, I'm doing a simple talking script.

Now, it didn't work for me. Am I doing something wrong?

I did exactly what it said, but when I put the offset in advance map
and talked to the character, it just froze the game.
__________________

R o x a s
No one would miss me.

  #87    
Old August 25th, 2008 (07:41 AM).
Binary's Avatar
Binary Binary is offline
え?
 
Join Date: Aug 2007
Age: 20
Posts: 3,994
Quote originally posted by silversea_rainbowsky:
Ok, I'm doing a simple talking script.

Now, it didn't work for me. Am I doing something wrong?

I did exactly what it said, but when I put the offset in advance map
and talked to the character, it just froze the game.
It maybe some problem with the script. Or did you enter the offset in the "script offset" section on the side-menu when you press on the person?
__________________
  #88    
Old August 25th, 2008 (09:19 AM).
GTAPlayer's Avatar
GTAPlayer GTAPlayer is offline
Six Star Evasion
 
Join Date: Jul 2008
Location: Escobar International
Gender:
Nature: Adamant
Posts: 28
How do I make a legendary sprite disappear when the battle is over?
  #89    
Old August 27th, 2008 (06:10 AM).
Zephiel Zephiel is offline
 
Join Date: Feb 2007
Nature: Adamant
Posts: 42
I'm still not understanding flags. I have a trainer who should leave after I leave the area he's in, and it doesn't work. Like let's say he's flag 0x90. I have:

Spoiler:
trainerbattle
special2 (don't know what that means)
setflag 0x80
compare LASTRESULT 0x1 (that either)
if 0x1 jump 0x81A946C ' Equal To
msgbox 0x818351C ' [text]
trainerbattle 0x5 0x69 0x0 0x81C147A 0x8183509
msgbox 0x818351C ' [text]
clearflag 0x80
callstd MSG_NORMAL ' Normal msg
end

#org 0x81A946C
'-----------------------------------
trainerbattle 0x5 0x69 0x0 0x81C147A 0x8183509
msgbox 0x818351C ' [text]
clearflag 0x80
callstd MSG_NORMAL ' Normal msg
end


What am I doing wrong?
  #90    
Old August 31st, 2008 (12:05 AM). Edited August 31st, 2008 by Pokeplayer50.
Pokeplayer50's Avatar
Pokeplayer50 Pokeplayer50 is offline
 
Join Date: Aug 2008
Location: USA
Gender:
Posts: 11
I once did a code and copied your talking script then just edited it with what i wanted. Then when I talked to the guy I put it on, it locked me to him but he wouldn't talk so the game was stuck.

oh and i'd like it if you put a tutorial for trainer scripts in this forum
  #91    
Old September 5th, 2008 (07:23 AM).
NTA's Avatar
NTA NTA is offline
Where?
 
Join Date: Nov 2007
Nature: Adamant
Posts: 265
#org $Wildbattle
lock
faceplayer
cry 5
message $mewcry
$mewcry 1 = Mew: Lalalala!
boxset 6
checkflag 0x500
if 0x1 goto $Wildbattle
release
end

#org $Wildbattle
lock
wildbattle 151 30 0
release
setflag 0x500
#raw 53
fadescreen 0
end

has this script been fixed yet?
__________________

  #92    
Old September 5th, 2008 (08:18 AM).
Binary's Avatar
Binary Binary is offline
え?
 
Join Date: Aug 2007
Age: 20
Posts: 3,994
Quote originally posted by Nine-Tailed Assassin:
#org $Wildbattle
lock
faceplayer
cry 5
message $mewcry
$mewcry 1 = Mew: Lalalala!
boxset 6
checkflag 0x500
if 0x1 goto $Wildbattle
release
end

#org $Wildbattle
lock
wildbattle 151 30 0
release
setflag 0x500
#raw 53
fadescreen 0
end

has this script been fixed yet?
No it hasn't. You should read 4the's tutorial.

Quote originally posted by Nine-Tailed Assassin:
i have a question about the Unknown: 03 00
Var Number: 50 40

i were to give my character 4 steps instead of three would i have Unknown: 04 00?
No of course not. The same "var no." and "unknown" applies for every movement script, not matter how many the steps.
__________________
  #93    
Old September 24th, 2008 (11:21 PM).
luigi-guy's Avatar
luigi-guy luigi-guy is offline
 
Join Date: Jun 2008
Posts: 55
I tryed to insert a script into the game,pokescript came up with this:

__________________
I'm a BETA tester, need help testing your hacking? Just pm me.
  #94    
Old September 25th, 2008 (04:22 AM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
Quote originally posted by luigi-guy:
I tryed to insert a script into the game,pokescript came up with this:

Do you mind posting your script?
Thank you.
  #95    
Old September 25th, 2008 (04:28 AM).
thethethethe thethethethe is offline
 
Join Date: Jun 2007
Location: Melbourne, Australia
Gender: Male
Posts: 1,104
Quote originally posted by luigi-guy:
I tryed to insert a script into the game,pokescript came up with this:

See the 'invalid commands' that are being returned. That means that these commands are not listed in the database, and since they're extremely common commands that are used in almost every scripting tool, you're missing the pkmadv files. Download them and place them in the folder in which pokescript is installed.
__________________
Gone.
  #96    
Old January 9th, 2009 (10:08 AM).
gago9876's Avatar
gago9876 gago9876 is offline
notMakingaHack com.jacked up
 
Join Date: Oct 2008
Location: somewhere in your house jk no really
Gender:
Nature: Hasty
Posts: 2
where can i download the tool ive looked everywhere
__________________
my picture is sexy....

ps3 ID gago98
  #97    
Old January 9th, 2009 (11:28 AM).
Ivysaur's Avatar
Ivysaur Ivysaur is online now
Grass dinosaur extraordinaire
Crystal Tier
 
Join Date: Mar 2007
Location: Madrid
Age: 24
Gender: Male
Posts: 19,264
Send a message via Skype™ to Ivysaur
Please do not revive threads that haven't been posted in for longer than a month.

~Closed
__________________
He sleeps alone
He needs no army where he's headed
'Cause he knows
That they're just ghosts
And they can't hurt him
If he can't see them, oh



Formerly a super mod
Closed Thread
Quick Reply

Sponsored Links

You may also like.. (Beta)
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 -8. The time now is 01:38 PM.