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
  #2626   Link to this post, but load the entire thread.  
Old December 16th, 2008 (12:52 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by KillerSnipe21 View Post
Ok for days ive been trying to find out how to make a script so that when you first talk to oak he will let you chose the pokemon you want but I cant find out what I need to put in my script to make it work and I tryed looking at the normal one off the normal rom but I cant find it can anyone please help me and I know this isnt the right place to put this but I dont know anywhere else.
Try the simpe questions thread, or, if you have XSE, you can decompile the script in the game.
  #2627   Link to this post, but load the entire thread.  
Old December 16th, 2008 (1:18 PM).
in009's Avatar
in009 in009 is offline
Rawr =)
 
Join Date: Dec 2008
Gender:
Posts: 9
Can some give me a link or something to a good scripting tutorial. I realy want to make my own pokemon game but i know very little about scripting.
Thanks
  #2628   Link to this post, but load the entire thread.  
Old December 16th, 2008 (3:35 PM).
Thrace's Avatar
Thrace Thrace is offline
@tion
 
Join Date: Jun 2007
Age: 32
Gender: Male
Posts: 1,048
Quote:
Originally Posted by in009 View Post
Can some give me a link or something to a good scripting tutorial. I realy want to make my own pokemon game but i know very little about scripting.
Thanks
Theres many good tutorials in the Documents and Tutorials Forum. It depends on the script editor you are using but I always recommend thethethethe's Scripting Tutorial just because its got information on more commands than any other scripting tutorial.
__________________
  #2629   Link to this post, but load the entire thread.  
Old December 16th, 2008 (5:02 PM).
KillerSnipe21 KillerSnipe21 is offline
 
Join Date: Dec 2008
Gender:
Posts: 14
Ok I got the script now but when I try using it it crashes the game here it is.

Spoiler:

#dynamic 0x800724

#org @start
lock
faceplayer
checkflag 0x2
if 0x1 goto 0x8169600
compare 0x4055 0x9
if 0x1 goto 0x8169903
compare 0x4055 0x8
if 0x1 goto 0x8169A6E
checkflag 0x82C
if 0x1 goto 0x81699CE
compare 0x4052 0x1
if 0x1 goto 0x8169903
compare 0x4055 0x6
if 0x1 goto 0x81698D6
compare 0x4057 0x1
if 0x4 goto 0x816961E
compare 0x4055 0x4
if 0x1 goto 0x8169614
compare 0x4055 0x3
if 0x1 goto 0x816960A
msgbox 0x818E116 '"OAK: Now, [player].\pInside those t..."
callstd 0x4
release
end


I just started a few days ago so I can bet I messed something up help is much appreciated.
  #2630   Link to this post, but load the entire thread.  
Old December 16th, 2008 (5:27 PM). Edited December 16th, 2008 by Vrai.
Vrai's Avatar
Vrai Vrai is offline
can you feel my heart?
 
Join Date: Jun 2008
Age: 28
Gender: Male
Nature: Adamant
Posts: 2,896
Quote:
Originally Posted by KillerSnipe21 View Post
Ok I got the script now but when I try using it it crashes the game here it is.

Spoiler:

#dynamic 0x800724

#org @start
lock
faceplayer
checkflag 0x2
if 0x1 goto 0x8169600
compare 0x4055 0x9
if 0x1 goto 0x8169903
compare 0x4055 0x8
if 0x1 goto 0x8169A6E
checkflag 0x82C
if 0x1 goto 0x81699CE
compare 0x4052 0x1
if 0x1 goto 0x8169903
compare 0x4055 0x6
if 0x1 goto 0x81698D6
compare 0x4057 0x1
if 0x4 goto 0x816961E
compare 0x4055 0x4
if 0x1 goto 0x8169614
compare 0x4055 0x3
if 0x1 goto 0x816960A
msgbox 0x818E116 '"OAK: Now, [player].\pInside those t..."
callstd 0x4
release
end


I just started a few days ago so I can bet I messed something up help is much appreciated.
Maybe you could post the whole script? From there, it looks like you only put up part of it. ~_~
__________________
  #2631   Link to this post, but load the entire thread.  
Old December 16th, 2008 (5:44 PM).
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL 0m3GA ARS3NAL is offline
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 30
Gender: Male
Nature: Gentle
Posts: 1,816
I have finally hit a stump in my scripting prowess... I need help using a level script... is there a tutorial on how to use them? A special way to insert them? I can never get them to work... please help me! ^_^
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #2632   Link to this post, but load the entire thread.  
Old December 16th, 2008 (5:58 PM).
Surf's Avatar
Surf Surf is offline
...
 
Join Date: Jul 2008
Location: Rust
Age: 28
Gender: Male
Nature: Relaxed
Posts: 1,196
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
I have finally hit a stump in my scripting prowess... I need help using a level script... is there a tutorial on how to use them? A special way to insert them? I can never get them to work... please help me! ^_^
Try this omega
I can finally help you ^_^
Cooles Movecamera\Level Script tut!
__________________
I'm looking for some good (When I say good,
I mean you can hold your own by yourself)
N**i Zombies players, to form a team or even a
clan, to play with casually.
Send me a PM with your Highest Level and your PSN,
and I'll get back to you.
  #2633   Link to this post, but load the entire thread.  
Old December 16th, 2008 (7:22 PM).
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL 0m3GA ARS3NAL is offline
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 30
Gender: Male
Nature: Gentle
Posts: 1,816
Quote:
Originally Posted by Mac_Mini View Post
Try this omega
I can finally help you ^_^
Cooles Movecamera\Level Script tut!
Ahh, Thank you Mini_Mac...
One more question though... How can I edit the Boat in Fire Red? The cut-scene where you ride the boat to/from the SevII Islands... I want it to be different... any Idea how?
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #2634   Link to this post, but load the entire thread.  
Old December 16th, 2008 (7:27 PM).
Vrai's Avatar
Vrai Vrai is offline
can you feel my heart?
 
Join Date: Jun 2008
Age: 28
Gender: Male
Nature: Adamant
Posts: 2,896
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
Ahh, Thank you Mini_Mac...
One more question though... How can I edit the Boat in Fire Red? The cut-scene where you ride the boat to/from the SevII Islands... I want it to be different... any Idea how?
The image, the locations, what?

The image can probably be edited with UNLZ-gba., if you take the time to find it. I believe Thrace put something up about changing the locations in one of the ROM Hacking newsletters. Not sure which one, though.
__________________
  #2635   Link to this post, but load the entire thread.  
Old December 16th, 2008 (7:36 PM). Edited December 17th, 2008 by -GiЯ.
-GiЯ -GiЯ is offline
Banned
 
Join Date: Jun 2008
Location: Earth
Age: 31
Gender: Male
Nature: Bold
Posts: 119
HackMew has done it, fixed my script and then some. just letting everone know so no one trys a bunch of stuff for me. After about an hour, HackMew made my (well HackMew's) script work, and even made it 10000x better, HackMew is the BESTEST, HackMew had to take control of my desktop and everything with a awsome program, and it was fixed in no time,now all that left for me to do is change the text and get my steps perfect.

Anyone has mine and HackMew's permission to use this script were it says though you have to put your steps and your own text.
this is with XSE by the way

Spoiler:

#dynamic 0x2D50FC
#org @start
lock
checkflag 0x1000
if b_true goto @released
applymovement 0x01 @moveexclam
waitmovement 0
applymovement 0xFF @moveexclam
waitmovement 0
applymovement 0x01 @walktome
waitmovement 0
applymovement 0x01 @finishwalk
waitmovement 0
message @yourawake
boxset 6
applymovement 0x01 @computerroom
waitmovement 0
applymovement 0xFF @computerroom
waitmovement 0
message @pokemon
boxset 6
fanfare 0x13E
setflag 0x828
setflag 0x1001
hidesprite 0x2
givepokemon Pokemon No. SPACE Pokemon Lvl 0 0 0 0
waitfanfare
message @11
boxset 2
fanfare 0x13E
message @22
boxset 6
setflag 0x829
setflag 0x1002
hidesprite 0x3
special 0x16F
waitfanfare
message @goodluck
boxset 6
setflag 0x1000
release
end

#org @released
release
end

#org @11
= Oh, and he also left this for you.

#org @22
= You received a PokéDex!

#org @moveexclam
#raw 0x63 0x62 0xFE

#org @walktome
#raw YOUR STEPS 0x10=DOWN 0x11=UP 0x12=LEFT 0x13=RIGHT 0xFE

#org @finishwalk
#raw YOUR 2nd SET OF STEPS 0xFE

#org @computerroom
#raw AND YOUR LAST SET OF STEPS 0xFE

#org @yourawake
= YOUR TEXT
#org @pokemon
= Here \v\h01! this is your 1st POKEMON\nYour DAD wanted you to have it\lYou can start your journey now. YOUR TEXT

#org @goodluck
= YOUR TEXT


THANKS AGIAN TO THE AMAZING ONE AND ONLY HackMew
Hope You enjoy getting rid of OAK as much as i did, you get pokemon of your choice and both pokedex's YAAAA!!!
  #2636   Link to this post, but load the entire thread.  
Old December 17th, 2008 (9:04 AM).
пзо пзо is offline
zzirRusty
 
Join Date: Dec 2008
Nature: Quiet
Posts: 223
The Player Dont walk up to you. the writing conmes up overlaping eachother, and it all messed up. However, the Trainer battle works. that part is ok, whats wrong with it?


Script

'-----------------------
#org 0x800B8C
checkflag 0x2000
if 0x1 goto 0x8800D0C
applymovement 0x3 0x8800D0C
waitmovement 0x0
msgbox 0x8800C02 '"???: You're not a trainer, are yYou..."
callstd 0x2
trainerbattle 0x1 0x1 0x0 0x8800C22 0x8800C41 0x6C020029
applymovement 0x3 0x8800BC5
waitmovement 0x0
end

'-----------------------
#org 0x800D0C
comparefarbytetovar 0x201E1E1E 0x1E
comparefarbytetovar 0x1F1F1F1E 0x1E
comparefarbytetovar 0x800D261F 0x8
if 0x1 goto 0x8800D7C
end

'-----------------------
#org 0x800D7C
release
end


'-----------
' Movements
'-----------
#org 0x800D0C
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 20 'Step Right (Fast)
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1E 'Step Up (Fast)
#raw 1E 'Step Up (Fast)
#raw 1F 'Step Left (Fast)
#raw 26 'Step on the Spot Up (Faster)
#raw D 'Step Up (Slow)
#raw 80 'mov80
#raw 8 'Step Down (Very Slow)
#raw 6 'Face Left (Faster)
#raw 1 'Face Up
#raw 7C 'mov7C
#raw D 'Step Up (Slow)
#raw 80 'mov80
#raw 8 'Step Down (Very Slow)
#raw 2 'Face Left

#org 0x800BC5
#raw 6C 'mov6C
#raw 2 'Face Left


'---------
' Strings
'---------
#org 0x800C02
= ???: You're not a trainer, are yYou don't even look like one!

#org 0x800C22
= You don't even look like one!

#org 0x800C41
= ???: I didn't think you'd\nbe so good...
__________________
| Pokémon Obsidian | Pokémon Mystical Glacier |
Yeah, I said it, Pokémon Mystical Glacier..
Its comming back.. Better than ever.
Along side Pokémon Obsidian.
  #2637   Link to this post, but load the entire thread.  
Old December 17th, 2008 (9:33 AM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
Neo.. You forgot #raw 0xFE at the end of the movements(It should be there). I will check if there's anything wrong.
  #2638   Link to this post, but load the entire thread.  
Old December 17th, 2008 (11:22 AM).
Dr Gregory House's Avatar
Dr Gregory House Dr Gregory House is offline
 
Join Date: Apr 2008
Location: Brisbane, Australia
Age: 30
Gender: Male
Nature: Gentle
Posts: 824
i guess i should use this thread...
here's a script im working on...


#Dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x828
if b_true goto @done
Message @givepoke
boxset 6
closeonkeypress
givepokemon 0x4 0x5 0xD7 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
Message @receivepoke
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @pokeballs
boxset 6
closeonkeypress
applymovement 0x4 @exclamationmark
waitmovement 0
Message @whataboutme2
boxset 6
closeonkeypress
applymovement 0xFF @whataboutme
waitmovement 0
applymovement 0x4 @move
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @okokok
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @rivalreceive
boxset 6
closeonkeypress
applymovement 0x4 @battlestance1
waitmovement 0
applymovement 0xFF @battlestance2
waitmovement 0
call @trainer
applymovement 0x4 @reface
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @timetogo
boxset 6
closeonkeypress
playsong 0x13B 0x0
Message @rivalgo
boxset 6
closeonkeypress
applymovement 0x4 @runoutdoor
waitmovement 0
fadedefault
hidesprite 0x4
setflag 0x1001
setflag 0x828
release
end

#org @done
Message @alreadygave
boxset 6
closeonkeypress
release
end

#org @trainer
trainerbattle 0 0x05A 0x0 @battleme @oh
return

#org @givepoke
= Hello \v\h01, my name is Bard and\nI am the Pokémon Professor here.\pI have a Pokémon here for you.\nHere you go!

#org @receivepoke
= \v\h01 received the Charmander.\n... ... ...\pYou can nickname it later.\nI also have these for you.

#org @pokeballs
= \v\h01 received 10 Pokéballs to use\nlater.\pYou can use those to catch Pokémon!

#org @alreadygave
= I've already given you your Pokémon,\nnow get going \v\h01!

#org @whataboutme2
= Gareth: MY TURN!

#org @okokok
= Bard: Ok \v\h06, here you go.\nBe patient next time!

#org @rivalreceive
= Gareth received the Mudkip.\n... ... ...

#org @battleme
= \v\h01, battle me now!!

#org @oh
= Gareth: Darn, I lost...

#org @timetogo
= Well, it seems that it's time for\nyou to go. Your goal is to\pbecome the strongest trainers\never! I'm counting on you!

#org @rivalgo
= Gareth: I will be better than you\n \v\h01! It'll be easy! \pYou'll see!\nSmell ya later!

#org @exclamationmark
#raw 0x62
#raw 0xFE

#org @whataboutme
#raw 0x20
#raw 0x02
#raw 0xFE

#org @move
#raw 0x20
#raw 0x01
#raw 0xFE

#org @reface
#raw 0x01
#raw 0xFE

#org @battlestance1
#raw 0x03
#raw 0xFE

#org @battlestance2
#raw 0x02
#raw 0xFE

#org @runoutdoor
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE


problem ive got is that after the trainerbattle nothing happens and i have to exit the building, come back in, and the script restarts but instead without trainerbattle and finishes normally.
can anyone help with this?
cheers
__________________
  #2639   Link to this post, but load the entire thread.  
Old December 17th, 2008 (12:07 PM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
 
Join Date: Jun 2006
Posts: 1,314
Quote:
Originally Posted by Kunoichi.King. View Post
i guess i should use this thread...
here's a script im working on...

Spoiler:

#Dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x828
if b_true goto @done
Message @givepoke
boxset 6
closeonkeypress
givepokemon 0x4 0x5 0xD7 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
Message @receivepoke
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @pokeballs
boxset 6
closeonkeypress
applymovement 0x4 @exclamationmark
waitmovement 0
Message @whataboutme2
boxset 6
closeonkeypress
applymovement 0xFF @whataboutme
waitmovement 0
applymovement 0x4 @move
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @okokok
boxset 6
closeonkeypress
fanfare 0x13E
waitfanfare
Message @rivalreceive
boxset 6
closeonkeypress
applymovement 0x4 @battlestance1
waitmovement 0
applymovement 0xFF @battlestance2
waitmovement 0
call @trainer
applymovement 0x4 @reface
waitmovement 0
applymovement 0xFF @reface
waitmovement 0
Message @timetogo
boxset 6
closeonkeypress
playsong 0x13B 0x0
Message @rivalgo
boxset 6
closeonkeypress
applymovement 0x4 @runoutdoor
waitmovement 0
fadedefault
hidesprite 0x4
setflag 0x1001
setflag 0x828
release
end

#org @done
Message @alreadygave
boxset 6
closeonkeypress
release
end

#org @trainer
trainerbattle 0 0x05A 0x0 @battleme @oh
return

#org @givepoke
= Hello \v\h01, my name is Bard and\nI am the Pokémon Professor here.\pI have a Pokémon here for you.\nHere you go!

#org @receivepoke
= \v\h01 received the Charmander.\n... ... ...\pYou can nickname it later.\nI also have these for you.

#org @pokeballs
= \v\h01 received 10 Pokéballs to use\nlater.\pYou can use those to catch Pokémon!

#org @alreadygave
= I've already given you your Pokémon,\nnow get going \v\h01!

#org @whataboutme2
= Gareth: MY TURN!

#org @okokok
= Bard: Ok \v\h06, here you go.\nBe patient next time!

#org @rivalreceive
= Gareth received the Mudkip.\n... ... ...

#org @battleme
= \v\h01, battle me now!!

#org @oh
= Gareth: Darn, I lost...

#org @timetogo
= Well, it seems that it's time for\nyou to go. Your goal is to\pbecome the strongest trainers\never! I'm counting on you!

#org @rivalgo
= Gareth: I will be better than you\n \v\h01! It'll be easy! \pYou'll see!\nSmell ya later!

#org @exclamationmark
#raw 0x62
#raw 0xFE

#org @whataboutme
#raw 0x20
#raw 0x02
#raw 0xFE

#org @move
#raw 0x20
#raw 0x01
#raw 0xFE

#org @reface
#raw 0x01
#raw 0xFE

#org @battlestance1
#raw 0x03
#raw 0xFE

#org @battlestance2
#raw 0x02
#raw 0xFE

#org @runoutdoor
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE


problem ive got is that after the trainerbattle nothing happens and i have to exit the building, come back in, and the script restarts but instead without trainerbattle and finishes normally.
can anyone help with this?
cheers
See the fixed script carefully. I've adjusted some other things as well:

Spoiler:

#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x828
if b_true goto @done
fanfare 0x13E
message @givepoke
boxset 6
waitfanfare
givepokemon 0x4 0x5 0xD7 0x0 0x0 0x0
fanfare 0x13E
message @receivepoke
boxset 6
waitfanfare
message @pokeballs
boxset 6
applymovement 0x4 @exclamationmark
waitmovement 0
message @whataboutme2
boxset 6
applymovement 0xFF @whataboutme
applymovement 0x4 @move
applymovement 0xFF @reface
waitmovement 0
message @okokok
boxset 6
fanfare 0x13E
message @rivalreceive
boxset 6
waitfanfare
spriteface 0x4 FACE_RIGHT
spriteface 0x4 FACE_LEFT
trainerbattle 1 0x05A 0x0 @battleme @oh @continue
end

#org @continue
spriteface 0x4 FACE_UP
spriteface 0xFF FACE_UP
message @timetogo
boxset 6
playsong 0x13B 0x0
message @rivalgo
boxset 6
applymovement 0x4 @runoutdoor
waitmovement 0
hidesprite 0x4
sound 0x9
fadedefault
setflag 0x828
setflag 0x1001
release
end

#org @done
message @alreadygave
boxset 6
release
end

#org @givepoke
= Hello \v\h01, my name is Bard and\nI am the Pokémon Professor here.\pI have a Pokémon here for you.\nHere you go!

#org @receivepoke
= \v\h01 received the Charmander.\n... ... ...\pYou can nickname it later.\nI also have these for you.

#org @pokeballs
= \v\h01 received 10 Pokéballs to use\nlater.\pYou can use those to catch Pokémon!

#org @alreadygave
= I've already given you your Pokémon,\nnow get going \v\h01!

#org @whataboutme2
= Gareth: MY TURN!

#org @okokok
= Bard: Ok \v\h06, here you go.\nBe patient next time!

#org @rivalreceive
= Gareth received the Mudkip.\n... ... ...

#org @battleme
= \v\h01, battle me now!!

#org @oh
= Gareth: Darn, I lost...

#org @timetogo
= Well, it seems that it's time for\nyou to go. Your goal is to\pbecome the strongest trainers\never! I'm counting on you!

#org @rivalgo
= Gareth: I will be better than you\n \v\h01! It'll be easy! \pYou'll see!\nSmell ya later!

#org @exclamationmark
#raw 0x62
#raw 0xFE

#org @whataboutme
#raw 0x20
#raw 0x02
#raw 0xFE

#org @move
#raw 0x20
#raw 0x01
#raw 0xFE

#org @runoutdoor
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE


If you have any questions, just ask. Look close, okay?
__________________
  #2640   Link to this post, but load the entire thread.  
Old December 18th, 2008 (3:51 AM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 776
hey hackmew and other scripters. i have a question. can i give a pokemon with a selected move i want them to know when they are given? for example, giving a charmander that knows high jump kick LOL. also maybe the same with and egg.

thanks in advance
link
__________________
  #2641   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:51 AM).
Hiche.. Hiche.. is offline
 
 
Join Date: Apr 2008
Posts: 979
It has been a long time since I asked a question here. Here it goes.

Is it possible to make the person talk while he is moving? I don't know if it's easy, or impossible.
  #2642   Link to this post, but load the entire thread.  
Old December 18th, 2008 (8:14 AM).
-GiЯ -GiЯ is offline
Banned
 
Join Date: Jun 2008
Location: Earth
Age: 31
Gender: Male
Nature: Bold
Posts: 119
what can i delete from this script, i want to get rid of the part that says all boys/girls leave home somrday.
and the part were she says you should take a quick rest i want it to player lock where do i add that??

Spoiler:

'-----------------------
#org 0x168C4A
lock
faceplayer
checkflag 0x258
if 0x1 goto 0x8168C4A
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x8168C38
compare LASTRESULT 0x1
if 0x1 call 0x8168C41
closeonkeypress
applymovement 0x1 0x81A75E5
waitmovement 0x0
release
end

'-----------------------
#org 0x168C4A
msgbox 0x818D3D1 '"MOM: [player]!\nYou should take a q..."
callstd 0x4
closeonkeypress
call 0x81A6C26
msgbox 0x818D3F8 '"MOM: Oh, good! You and your\nPOKéMO..."
callstd 0x4
release
end

'-----------------------
#org 0x168C38
msgbox 0x818D2F0 '"MOM: [.]Right.\nAll boys leave home..."
callstd 0x4
return

'-----------------------
#org 0x168C41
msgbox 0x818D360 '"MOM: [.]Right.\nAll girls dream of ..."
callstd 0x4
return

'-----------------------
#org 0x1A6C26
fadescreen 0x1
fanfare 0x100
waitfanfare
special 0x0
fadescreen 0x0
return


'-----------
' Movements
'-----------
#org 0x1A75E5
#raw 5A 'mov5A
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x18D3D1
= MOM: [player]!\nYou should take a quick rest.

#org 0x18D3F8
= MOM: Oh, good! You and your\nPOKéMON are looking great.\lTake care now!

#org 0x18D2F0
= MOM: [.]Right.\nAll boys leave home someday.\lIt said so on TV.\pOh, yes. PROF. OAK, next door, was\nlooking for you.

#org 0x18D360
= MOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. OAK, next door, was\nlooking for you.
  #2643   Link to this post, but load the entire thread.  
Old December 18th, 2008 (8:33 AM).
Likewise Likewise is offline
Bye.
 
Join Date: Mar 2008
Location: Twilight Town
Posts: 724
Quote:
Originally Posted by Hiche View Post
It has been a long time since I asked a question here. Here it goes.

Is it possible to make the person talk while he is moving? I don't know if it's easy, or impossible.
yeah, just put the "waitmovement 0x0" under the msgbox, example:
dynamic 0x

#org @start
faceplayer
applymovement 0xFF @movey
msgbox @text
boxset 0x6
waitmovement 0x0
end



Not a good script but an example, try it out, I might be wrong.
__________________
Bye.
I'm sick of all the prepubecent n00bs running around.
It's like no one has anymore morals anymore.
Bye to all my friends, I'll still be talking to you on msn.
  #2644   Link to this post, but load the entire thread.  
Old December 18th, 2008 (1:53 PM).
machomuu's Avatar
machomuu machomuu is offline
Stuck in Hot Girl Summer
 
Join Date: Apr 2008
Location: Take a left, turn right at the next stop, bear left for a few mil
Gender: Female
Nature: Relaxed
Posts: 10,505
Quote:
Originally Posted by .Phones View Post
yeah, just put the "waitmovement 0x0" under the msgbox, example:
dynamic 0x

#org @start
faceplayer
applymovement 0xFF @movey
msgbox @text
boxset 0x6
waitmovement 0x0
end



Not a good script but an example, try it out, I might be wrong.
??? So that can make a guy talk and walk at the same time?
  #2645   Link to this post, but load the entire thread.  
Old December 18th, 2008 (3:08 PM).
shane2243's Avatar
shane2243 shane2243 is offline
Dragonite Lover
 
Join Date: Jan 2008
Location: Croydon
Gender:
Nature: Naughty
Posts: 94
is there a way to edit what Birch says at the beginning of the sapphire using A-map and XSE?

i'd also like to edit what the character's mom says upon exiting the moving truck?


thanks in advance
  #2646   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:08 PM).
Vrai's Avatar
Vrai Vrai is offline
can you feel my heart?
 
Join Date: Jun 2008
Age: 28
Gender: Male
Nature: Adamant
Posts: 2,896
Quote:
Originally Posted by shane2243 View Post
is there a way to edit what Birch says at the beginning of the sapphire using A-map and XSE?

i'd also like to edit what the character's mom says upon exiting the moving truck?


thanks in advance
That's about the only thing A-Text is good for. Look it up in the Tools section, it should be around there somewhere.
__________________
  #2647   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:17 PM).
Likewise Likewise is offline
Bye.
 
Join Date: Mar 2008
Location: Twilight Town
Posts: 724
Quote:
Originally Posted by machomuu View Post
??? So that can make a guy talk and walk at the same time?
That script wont, just follow my example.
__________________
Bye.
I'm sick of all the prepubecent n00bs running around.
It's like no one has anymore morals anymore.
Bye to all my friends, I'll still be talking to you on msn.
  #2648   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:21 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 .Phones View Post
That script wont, just follow my example.
I think he was actually quoting your post, in which case, yes you can make him talk at the same time he's walking. You can also make him walk a little, then start talking while continuing to walk at the same time, and many more variations of that simple idea.
__________________
--I'm a creepin'..
  #2649   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:21 PM).
shane2243's Avatar
shane2243 shane2243 is offline
Dragonite Lover
 
Join Date: Jan 2008
Location: Croydon
Gender:
Nature: Naughty
Posts: 94
Quote:
Originally Posted by Vrai View Post
That's about the only thing A-Text is good for. Look it up in the Tools section, it should be around there somewhere.

damn, i was hoping you wouldnt say that, i cant use a-text, cos my comp wont let me add the .ocx files.


thanks anyway
  #2650   Link to this post, but load the entire thread.  
Old December 18th, 2008 (5:25 PM).
Vrai's Avatar
Vrai Vrai is offline
can you feel my heart?
 
Join Date: Jun 2008
Age: 28
Gender: Male
Nature: Adamant
Posts: 2,896
Quote:
Originally Posted by shane2243 View Post
damn, i was hoping you wouldnt say that, i cant use a-text, cos my comp wont let me add the .ocx files.


thanks anyway
It won't let you add them?

All you have to do is search the .ocx file name on google, download it, and put it in the A-Text folder...
__________________
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.