Megiddo-san
Barium - Summer '12 Return?
- 1,308
- Posts
- 17
- Years
- Age 33
- Where you least expect it
- Seen Feb 15, 2016
Try using pausemove 0 instead of waitmovement.
Unknown keyword "#raw" at line 52.
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.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 having an odd error with a script. For some reason, movements are being skipped. Here's the script
Here's a vid of what goes wrong. https://s255.photobucket.com/albums/hh139/oddigem/?action=view¤t=julie-0.flvCode:#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
#org $follow
$follow 1 ; 0x10 0x10 0xFE
...
#org $follow
#raw 0x10 0x10 0xFE
...
...
#org $follow
#raw 0x10
#raw 0x10
#raw 0xFE
...
#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
Spoiler:#ORG $begin
checkflag 0x202
if B_true goto $done
applymovement 0x01 $momwalk
applymovement 0xFF $playerturn
pausemove 0
message $momtalk
boxset 6
givepokemon 133 5 0
fanfare 0x13E
applymovement 0x01 $momwalkback
pausemove 0
setflag 0x828
setflag 0x202
release
end
#org $done
release
end
#org $momwalk
#raw 0x13 0xFE
#org $playerturn
#raw 0x02 0xFE
#org $momtalk
$momtalk 1 =\v\h01, it's dangerous outside \nwithout a POKEMON. \pI'll give you one to keep you safe. \nTake good care of it!
#org $momwalkback
#raw 0x12 0xFE
#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
Could it be where you have two spaces in between some of the movement commands? If not than I have absolutely no clue. :\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...
Spoiler: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¤t=julie-0.flv
#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.
'-----------------------
#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.