• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Script help thread

Status
Not open for further replies.
Try using pausemove 0 instead of waitmovement.
 
Okay. Well, I've been learning to use XSE (which is a rough switch from PokeScript by the way) but there aren't any comprehensive tutorials for it. I understand that most of the commands are a jump, skip, and a hop away from ScriptED so I was wondering, are the movement commands the same? I haven't been able to find a ScriptED tutorial with the movement commands (Cristos' came close but the file was deleted off the site). If anyone has them, I'd be much appreciated!

Also, I've tried using the movement commands from PokeScript and using "#raw"s but XSE says it's not a registered command.

Code:
Unknown keyword "#raw" at line 52.
I'm not an idiot, I know what it means. If using "#raw" isn't the way to script "applymovement"s in XSE and ScriptED, than how do you?:\
 
I'm having an odd error with a script. For some reason, movements are being skipped. Here's the script

#ORG $begin
checkflag 0x206
if b_true goto $done
applymovement 0xA $julie
pausemove 0
message $iam
boxset 6
setflag 0x82F
playsound 0x110
nop
applymovement 0xFF $towave
applymovement 0xA $follow
pausemove 0
setflag 0x256
clearflag 0x257
message $okay
boxset 6
applymovement 0xFF $tw2
applymovement 0xA $f2
pausemove 0
applymovement 0xFF $tw3
applymovement 0xA $f3
pausemove 0
applymovement 0xFF $tw4
applymovement 0xA $f4
pausemove 0
applymovement 0xFF $tw5
applymovement 0xA $f5
pausemove 0
applymovement 0xFF $tw6
applymovement 0xA $f6
pausemove 0
applymovement 0xFF $tw7
applymovement 0xA $f7
pausemove 0
applymovement 0xFF $tw8
applymovement 0xA $f8
pausemove 0
applymovement 0xFF $odd
pausemove 0
applymovement 0xFF $tw10
pausemove 0
setflag 0x257
clearflag 0x258
message $where
boxset 6
applymovement 0xA $f10
pausemove 0
message $dont
boxset 6
applymovement 0xFF $tw11
applymovement 0xA $f11
pausemove 0
applymovement 0xFF $tw12
applymovement 0xA $f12
pausemove 0
applymovement 0xFF $tw13
applymovement 0xA $f13
pausemove 0
applymovement 0xFF $tw14
applymovement 0xA $f14
pausemove 0
fadesound 0x12C
nop
message $thanks
boxset 6
applymovement 0xA $goingin
pausemove 0
#raw 0xAC 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0xAD 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0x53
#raw 0xA
#raw 0x00
setflag 0x258
clearflag 0x255
setflag 0x206
release
end

#org $done
release
end

#org $julie
$julie 1 ; 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE

#org $iam
$iam 1 = Hi, I'm Julie! I'm heading to\nYewlog Village so I can get to school\pon time. If I don't stop talking,\nI'll be late! Could you take me\pthere? Here, use these Running\nShoes to get there faster.\p\v\h01 obtained the Running Shoes!\pLet's head to Daisy's house fast!

#org $towave
$towave 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0xFE

#org $follow
$follow 1 ; 0x10 0x10 0xFE

#org $okay
$okay 1 = Okay, I'm here.

#org $tw2
$tw2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $f2
$f2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $tw3
$tw3 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $f3
$f3 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $tw4
$tw4 1 ; 0x10 0x13 0x13 0x13 0x13 0x13 0x13 0x10 0xFE

#org $f4
$f4 1 ; 0x10 0x10 0x13 0x13 0x13 0x13 0x13 0x13 0xFE

#org $tw5
$tw5 1 ; 0x10 0x10 0x10 0x12 0x12 0x11 0x11 0x11 0xFE

#org $f5
$f5 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x11 0x11 0xFE

#org $tw6
$tw6 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f6
$f6 1 ; 0x11 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $tw7
$tw7 1 ; 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x12 0xFE

#org $f7
$f7 1 ; 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0xFE

#org $tw8
$tw8 1 ; 0x12 0x16 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $f8
$f8 1 ; 0x12 0x12 0x16 0x11 0xFE

#org $odd
$odd 1 ; 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0xFE

#org $tw10
$tw10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $where
$where 1 = Did I lose her?

#org $f10
$f10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $dont
$dont 1 = Don't worry, I'm here!

#org $tw11
$tw11 1 ; 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0x10 0xFE

#org $f11
$f11 1 ; 0x12 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0xFE

#org $tw12
$tw12 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x10 0xFE

#org $f12
$f12 1 ; 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0xFE

#org $tw13
$tw13 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f13
$f13 1 ; 0x10 0x12 0x12 0x12 0x12 0x12 0x10 0x12 0xFE

#org $tw14
$tw14 1 ; 0x00 0xFE

#org $f14
$f14 1 ; 0x01 0xFE

#org $thanks
$thanks 1 = Thanks for taking me to school.\nAs a reward, you can keep those Running\pShoes. I'll explain to my daddy\nwhy I gave them away. \pThanks again!

#org $goingin
$goingin 1 ; 0x12 0x11 0x11 0xFE

Here's a vid of what goes wrong. https://s255.photobucket.com/albums/hh139/oddigem/?action=view&current=julie-0.flv
 
Use a setflag AND the hidesprite AND make sure the flag you set is the flag assigned to the sprite in the map (aka People ID).
You could just assign 828 to the pokeball and use the hidesprite, but only if you don't plan to remove the pokemon option in the menu in the rest of the game.
I'm sorry Teh Baro but I really don't understand what your saying. Can you help me edit my script so it has the changes you advised? I'm more of a visual learner so it will really help me to see how it's done and then yea.
 
I'm having an odd error with a script. For some reason, movements are being skipped. Here's the script

Code:
 #ORG $begin
checkflag 0x206
if b_true goto $done
applymovement 0xA $julie
pausemove 0
message $iam
boxset 6
setflag 0x82F
playsound 0x110
nop
applymovement 0xFF $towave
applymovement 0xA $follow
pausemove 0
setflag 0x256
clearflag 0x257
message $okay
boxset 6
applymovement 0xFF $tw2
applymovement 0xA $f2
pausemove 0
applymovement 0xFF $tw3
applymovement 0xA $f3
pausemove 0
applymovement 0xFF $tw4
applymovement 0xA $f4
pausemove 0
applymovement 0xFF $tw5
applymovement 0xA $f5
pausemove 0
applymovement 0xFF $tw6
applymovement 0xA $f6
pausemove 0
applymovement 0xFF $tw7
applymovement 0xA $f7
pausemove 0
applymovement 0xFF $tw8
applymovement 0xA $f8
pausemove 0
applymovement 0xFF $odd
pausemove 0
applymovement 0xFF $tw10
pausemove 0
setflag 0x257
clearflag 0x258
message $where
boxset 6
applymovement 0xA $f10
pausemove 0
message $dont
boxset 6
applymovement 0xFF $tw11
applymovement 0xA  $f11
pausemove 0
applymovement 0xFF $tw12
applymovement 0xA  $f12
pausemove 0
applymovement 0xFF $tw13
applymovement 0xA $f13
pausemove 0
applymovement 0xFF $tw14
applymovement 0xA $f14
pausemove 0
fadesound 0x12C
nop
message $thanks
boxset 6
applymovement 0xA $goingin
pausemove 0
#raw 0xAC 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0xAD 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0x53
#raw 0xA
#raw 0x00
setflag 0x258
clearflag 0x255
setflag 0x206
release 
end

#org $done
release
end

#org $julie
$julie 1 ; 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE

#org $iam
$iam 1 = Hi, I'm Julie! I'm heading to\nYewlog Village so I can get to school\pon time. If I don't stop talking,\nI'll be late! Could you take me\pthere? Here, use these Running\nShoes to get there faster.\p\v\h01 obtained the Running Shoes!\pLet's head to Daisy's house fast!

#org $towave
$towave 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0xFE

#org $follow
$follow 1 ; 0x10 0x10  0xFE

#org $okay
$okay 1 = Okay, I'm here.

#org $tw2
$tw2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $f2
$f2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $tw3
$tw3 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $f3
$f3 1 ;  0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $tw4
$tw4 1 ;   0x10 0x13 0x13 0x13 0x13 0x13 0x13 0x10 0xFE

#org $f4
$f4 1 ; 0x10 0x10 0x13 0x13 0x13 0x13 0x13 0x13  0xFE

#org $tw5
$tw5 1 ; 0x10 0x10 0x10 0x12 0x12 0x11 0x11 0x11 0xFE

#org $f5
$f5 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x11 0x11  0xFE

#org $tw6
$tw6 1 ;  0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f6
$f6 1 ; 0x11  0x12 0x12 0x12 0x12 0x12 0x12 0x12  0xFE

#org $tw7
$tw7 1 ; 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x12 0xFE

#org $f7
$f7 1 ; 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0xFE

#org $tw8
$tw8 1 ; 0x12 0x16 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $f8
$f8 1 ; 0x12 0x12 0x16  0x11  0xFE

#org $odd
$odd 1 ; 0x11 0x11 0x11 0x11  0x12 0x12 0x12 0xFE

#org $tw10
$tw10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $where
$where 1 = Did I lose her?

#org $f10
$f10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $dont
$dont 1 = Don't worry, I'm here!

#org $tw11
$tw11 1 ; 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0x10 0xFE

#org $f11
$f11 1 ; 0x12 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0xFE 

#org $tw12
$tw12 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x10 0xFE

#org $f12
$f12 1 ; 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0xFE

#org $tw13
$tw13 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f13
$f13 1 ; 0x10 0x12 0x12 0x12 0x12 0x12 0x10 0x12 0xFE

#org $tw14
$tw14 1 ; 0x00 0xFE

#org $f14
$f14 1 ; 0x01 0xFE

#org $thanks 
$thanks 1 =  Thanks for taking me to school.\nAs a reward, you can keep those Running\pShoes. I'll explain to my daddy\nwhy I gave them away. \pThanks again!

#org $goingin 
$goingin 1 ; 0x12 0x11 0x11 0xFE
Here's a vid of what goes wrong. https://s255.photobucket.com/albums/hh139/oddigem/?action=view&current=julie-0.flv

Well, I know that when I did "applymovement"s on PokeScript, I always did them as "#raw"s. For example:
Turn this:
Code:
#org $follow
 $follow 1 ; 0x10 0x10  0xFE
Into this:
Code:
...
#org $follow
#raw 0x10 0x10 0xFE
...
Or:
Code:
...
#org $follow
#raw 0x10
#raw 0x10
#raw 0xFE
...

I hope it helps! :classic:
 
Need Help with this Script
#Dynamic 0x26DC31

#org @start
lock
checkflag 0x200
if b_true goto @letsgo
textcolor 0x0
msgbox @speak1
cry 0xA1 1
callstd 0x4
closeonkeypress
applymovement MOVE_PLAYER @move1
waitmovement 0x0
applymovement 0x03 @move2
waitmovement 0x0
msgbox @speak2
release
end

#org @move1
#raw 63
#raw E
#raw E
#raw 2
#raw FE

#org @speak1
= ???: Char..\l[player]: Huh?

#org @speak2
= ???: Char.. Char..

#org @move2
#raw 9
#raw B
#raw B
#raw 55
#raw 55
#raw 66
#raw FE

#org @letsgo
release
end

speak 2 wont go after the move 2

please help me
 
I'm kind of screwed with this script...
Spoiler:

She only moves up to me and talks then moves back...
What's wrong with my givepokemon?
BTW. It's on PoketScript
 
Spoiler:

Try that ;). The setflag 0x828 is for activate the pokemon thingy in the menu.
 
X-Buster:

Code:
#Dynamic 0x26DC31

#org @start
lock
checkflag 0x200
if b_true goto @letsgo
textcolor 0x0
msgbox @speak1
cry 0xA1 1
callstd 0x4
closeonkeypress
applymovement MOVE_PLAYER @move1
waitmovement 0x0
applymovement 0x03 @move2
waitmovement 0x0
msgbox @speak2
[B]boxset 0x6/callstd 0x6[/B]
release
end

[B]#org @speak1
= ???: Char..\l[player]: Huh?

#org @speak2
= ???: Char.. Char..[/B]

#org @move1
#raw 63
#raw E
#raw E
#raw 2
#raw FE

#org @move2
#raw 9
#raw B
#raw B
#raw 55
#raw 55
#raw 66
#raw FE

#org @letsgo
release
end

You forgot the boxset/callstd 0x6.
And message always come before movements.
 
Code:
#ORG $begin
checkflag 0x206
if b_true goto $done
applymovement 0xA $julie
pausemove 0
message $iam
boxset 6
setflag 0x82F
playsound 0x110
nop
applymovement 0xFF $towave
applymovement 0xA $follow
pausemove 0
setflag 0x256
clearflag 0x257
message $okay
boxset 6
applymovement 0xFF $tw2
applymovement 0xA $f2
pausemove 0
applymovement 0xFF $tw3
applymovement 0xA $f3
pausemove 0
applymovement 0xFF $tw4
applymovement 0xA $f4
pausemove 0
applymovement 0xFF $tw5
applymovement 0xA $f5
pausemove 0
applymovement 0xFF $tw6
applymovement 0xA $f6
pausemove 0
applymovement 0xFF $tw7
applymovement 0xA $f7
pausemove 0
applymovement 0xFF $tw8
applymovement 0xA $f8
pausemove 0
applymovement 0xFF $odd
pausemove 0
applymovement 0xFF $tw10
pausemove 0
setflag 0x257
clearflag 0x258
message $where
boxset 6
applymovement 0xA $f10
pausemove 0
message $dont
boxset 6
applymovement 0xFF $tw11
applymovement 0xA  $f11
pausemove 0
applymovement 0xFF $tw12
applymovement 0xA  $f12
pausemove 0
applymovement 0xFF $tw13
applymovement 0xA $f13
pausemove 0
applymovement 0xFF $tw14
applymovement 0xA $f14
pausemove 0
fadesound 0x12C
nop
message $thanks
boxset 6
applymovement 0xA $goingin
pausemove 0
#raw 0xAC 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0xAD 0x03 0x00 0x11 0x00
#raw 0xAE
#raw 0x53
#raw 0xA
#raw 0x00
setflag 0x258
clearflag 0x255
setflag 0x206
release 
end

#org $done
release
end

#org $julie
$julie 1 ; 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE

#org $iam
$iam 1 = Hi, I'm Julie! I'm heading to\nYewlog Village so I can get to school\pon time. If I don't stop talking,\nI'll be late! Could you take me\pthere? Here, use these Running\nShoes to get there faster.\p\v\h01 obtained the Running Shoes!\pLet's head to Daisy's house fast!

#org $towave
$towave 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0xFE

#org $follow
$follow 1 ; 0x10 0x10  0xFE

#org $okay
$okay 1 = Okay, I'm here.

#org $tw2
$tw2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $f2
$f2 1 ; 0x13 0x13 0x10 0x10 0x10 0x10 0x10 0x10 0xFE

#org $tw3
$tw3 1 ; 0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $f3
$f3 1 ;  0x10 0x10 0x10 0x10 0x10 0x13 0x13 0x10 0xFE

#org $tw4
$tw4 1 ;   0x10 0x13 0x13 0x13 0x13 0x13 0x13 0x10 0xFE

#org $f4
$f4 1 ; 0x10 0x10 0x13 0x13 0x13 0x13 0x13 0x13  0xFE

#org $tw5
$tw5 1 ; 0x10 0x10 0x10 0x12 0x12 0x11 0x11 0x11 0xFE

#org $f5
$f5 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x11 0x11  0xFE

#org $tw6
$tw6 1 ;  0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f6
$f6 1 ; 0x11  0x12 0x12 0x12 0x12 0x12 0x12 0x12  0xFE

#org $tw7
$tw7 1 ; 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x12 0xFE

#org $f7
$f7 1 ; 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0xFE

#org $tw8
$tw8 1 ; 0x12 0x16 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $f8
$f8 1 ; 0x12 0x12 0x16  0x11  0xFE

#org $odd
$odd 1 ; 0x11 0x11 0x11 0x11  0x12 0x12 0x12 0xFE

#org $tw10
$tw10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $where
$where 1 = Did I lose her?

#org $f10
$f10 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $dont
$dont 1 = Don't worry, I'm here!

#org $tw11
$tw11 1 ; 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0x10 0xFE

#org $f11
$f11 1 ; 0x12 0x12 0x12 0x12 0x10 0x12 0x12 0x10 0xFE 

#org $tw12
$tw12 1 ; 0x10 0x10 0x10 0x10 0x12 0x12 0x10 0xFE

#org $f12
$f12 1 ; 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0xFE

#org $tw13
$tw13 1 ; 0x12 0x12 0x12 0x12 0x12 0x12 0xFE

#org $f13
$f13 1 ; 0x10 0x12 0x12 0x12 0x12 0x12 0x10 0x12 0xFE

#org $tw14
$tw14 1 ; 0x00 0xFE

#org $f14
$f14 1 ; 0x01 0xFE

#org $thanks 
$thanks 1 =  Thanks for taking me to school.\nAs a reward, you can keep those Running\pShoes. I'll explain to my daddy\nwhy I gave them away. \pThanks again!

#org $goingin...
Could it be where you have two spaces in between some of the movement commands? If not than I have absolutely no clue. :\
 
Spoiler:

On your movement pointers, this part :

#org $f14
$f14 1 ; 0x01 0xFE

Your missing "#binary"
It should be

#org $f14
$f14 1 ; #binary 0x01 0xFE
 
I rarely use binary and rarely have a problem when I don't. Thanks for the playsound thing. It works though. The reason I clear and set the same flags is to make people appear, then disappear. It goes over 3 maps.
 
Hey, can anyone help me with this script?
It keeps freezing after $hey2

Code:
#org $start
lock
faceplayer
checkflag 0x203
if b_true goto $done
#raw 0x53
#raw 0x2B
#raw 0x00
end

#org $done
#raw 0x55
#raw 0x2B
#raw 0x00
applymovement 0xFF $move
applymovement 0x08 $gary
pausemove 0
message $hey
boxset 6
applymovement 0xFF $face
pausemove 0
message $hey2
boxset 6
applymovement 0xFF $face2
pausemove 0
message $poke
boxset 6
applymovement 0x04 $dex
pausemove 0
#raw 0x53
#raw 0x3A
#raw 0x00
applymovement 0x04 $dex2
pausemove 0
#raw 0x53
#raw 0x3B
#raw 0x00
applymovement 0x04 $give
pausemove 0
message $hereyougo
boxset 6
applymovement 0xFF $happy
applymovement 0x08 $happy2
pausemove 0
message $garypoke
boxset 6
applymovement 0xFF $hello
applymovement 0x08 $hello2
pausemove 0
trainerbattle 1 0x001 $before $after $later
end


#org $after
$after 1 = I guess your better than me.\nWe'll battle again soon.\lI promise

#org $before
$before 1 = Hey \v\h01,\ncan't beleive that we got\lPokedex's. Thats so cool! We should\lhave a battle to see\pwho has the better Pokemon. 

#org $hello
#raw 0x02 0xFE

#org $hello2
#raw 0x03 0xFE

#org $happy
#raw 0x66 0xFE

#org $happy2
#raw 0x66 0xFE

#org $give
#raw 0x13 0x13 0x10 0xFE

#org $dex2
#raw 0x12 0x01 0xFE

#org $dex
#raw 0x11 0x12 0x01 0xFE

#org $face2
#raw 0x01 0xFE

#org $face
#raw 0x02 0xFE

#org $move
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

#org $gary
#raw 0x03 0xFE

#org$garypoke
$garypoke 1 = Jeanne: Happy Birthday \v\h01!\nAnyways, \v\h06, heres a Pokemon\lfor you. \v\h06 received ????\p\v\h06: Thanks Proffesor!\pJeanne: Alright, you guys can\nleave now.

#org $hereyougo
$hereyougo 1 = Here you go, there are Pokedex's.\nThey store data of Pokemon that\lyou've seen and caught.\p\v\h01: Thanks!\n\v\h06: Thanks Proffesor!

#org $poke
$poke 1 = Jeanne: Hey guys, I told your\nmoms to tell you guys to come\lover here because I wanted you\pguys to have these.

#org $hey
$hey 1 = \v\h01: Hey Professor.

#org $hey2
$hey2 1 = \v\01: Hey \v\h06.

Nvm, lol i forgot the h in \v\h01
 
Last edited:
#org 0x8801000
'-----------------------------------
lock
faceplayer
checkflag 0x232
if 0x1 jump 0x880404A ' Equal To
msgbox 0x88040A6 ' To get past here, you'll\nneed a pokemon.\pTake this CHARMANDER.
callstd MSG_NORMAL ' Normal msg
msgbox 0x88040E5 ' You received the CHARMANDER!
callstd MSG_NORMAL ' Normal msg
copyvar 0x8004 0x800D
addpokemon 0x4 0x5 0x0
storepokemon 0x1 0x19
msgbox 0x8804102 ' Would You like to give \nCHARMANDER a name?
callstd MSG_YESNO ' Yes/No msg
setflag 0x232
setflag 0x828
release
end

#org 0x880404A
'-----------------------------------
msgbox 0x880408D ' How's my old CHARMANDER?
callstd MSG_NORMAL ' Normal msg
release
end


#org 0x88040A6
= To get past here, you'll\nneed a pokemon.\pTake this CHARMANDER.

#org 0x88040E5
= You received the CHARMANDER!

#org 0x8804102
= Would You like to give \nCHARMANDER a name?

#org 0x880408D
= How's my old CHARMANDER?

wat's wrong with this script it causes the game to freeze after is says You received the CHARMANDER!
 
I'm lost lol -_-
Code:
'-----------------------
#org 0x71A794
lock
faceplayer
msgbox 0x871A7B7 '"Would you like a Pikachu?"
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x871A7D2
compare LASTRESULT 0x0
if 0x1 goto 0x871A7EC
release
end

'-----------------------
#org 0x71A7D2
msgbox 0x871A7F7 '"Here is a Pikachu!"
callstd 0x6
givepokemon 0x19 0xA 0x0 0x0 0x0 0x0
release
end

'-----------------------
#org 0x71A7EC
msgbox 0x871A80B '"Oh, Ok then."
callstd 0x6
release
end


'---------
' Strings
'---------
#org 0x71A7B7
= Would you like a Pikachu?

#org 0x71A7F7
= Here is a Pikachu!

#org 0x71A80B
= Oh, Ok then.

It works 100% lol :P
I'm not doing flags yeh, so yeh anyway...
This is in pallet town, you can talk to him before you get your pokemon from prof Oak. There's a reason for that...I'm trying to make it so instead of Oak giving you the choice, you start off with a Pikachu (Or something, haven't really thought about the details like that :P) And your rival starts with something else...(For the sake of this let's say a Houndour)

How do I make it so when you get the Pikachu from that script you get the Pokemon option in the pause menu?

Another thing...How would I go about deleting the parts of Oak's scripts so you don't have to choose a Pokemon and you get a pokedex from the get go? The without the [buffer] stuff, how would I determine the Pokemon your Rival recieves?

If this is counted as big and ment to have it's own thread my bad :P Iono what's big n whats not lol

But yeh thanks if anyone helps.
Commands for the pokedex and pokemon in the start menu will be fine (And for recieving the pokedex) I'll experiment with putting em in. But the editing Oak's script yeh I'm 100% stumped lol...
 
Status
Not open for further replies.
Back
Top