View Single Post
  #6240    
Old November 11th, 2011, 10:40 PM
eratez
Unbeatable trainer
 
Join Date: Nov 2011
Location: California
Gender: Male
Nature: Mild
This script runs fine, but if I leave the room after talking to him, he disappears and won't come back. Can someone help me

Base:Ruby
Type: person
Editor: Pokescript
Script:
#org $prof
lock
faceplayer
checkflag 0x1216
if 0x01 goto $getpoke
message $You
$You 1 = Did you come for a pokémon.\nI will tell you what,\pif you promise to be good\nI will give you one.\lI have them right
boxset 6
applymovement 0x01 $move
message $omg
$omg 1 = ...\n...\p...\lThey're gone!!!
boxset 6
applymovement 0x01 $move2
fanfare 0x13E
message $ring
$ring 1 = That's my ringtone.
boxset 6
waitfanfare
message $answer
$answer 1 = Hello\n...\pOk.\n... ahem.\pOk, thanks, see you soon.\p\v\h01, they found my pokémon in\nNew Day.\pPlease go get a pokémon from\lmy aide to guide us there.
boxset 6
setflag 0x1216
release end
#org $move
#raw 0x03 0xFE
#org $move2
#raw 0x00 0xFE
#org $getpoke
checkflag 0x1212
if 0x01 goto $leave
message $getit
$getit 1 = Go to my aide and get a pokémon.
boxset 6
release
end
#org $leave
checkflag 0x1200
if 0x01 goto $danger
message $meet
$meet 1 = Meet me outside
boxset 6
fadescreen 1
#raw 0x53 0x01 0x00
pause 0x30
fadescreen 0
release
end
#org $danger
message $train
checkflag 0x1217
if 0x01 goto $luck
$train 1 = What happened to you\n...\pWhat, wow.\nYou must begin training to\pbe ready to fight when\lit comes
boxset 6
setflag 0x1217
release
end
#org $luck
message $goodl
$goodl 1 = Good luck on your training.
boxset 6
end
#org $check
checkflag 0x1200
if 0x01 gosub $appear
release
end
#org $appear
checkflag 0x1220
if 0x01 goto $script
#raw 0x55 0x01 0x00
return
#org $script
release
end