where does it go wrong? cuz I think the prob is the warp part (not sure) but I think where you have ,warp $oakwarp, youd do this ,warp 0x3 0x4 0x3, hope I helped..;)This is my replacement script for Professor Oak, to make him actually appear in the Lab. I have gone way wrong with this but I have no idea exactly what to do with it (note I've been scripting for only a week).
Spoiler:Code:[FONT=Tahoma][COLOR=Black][SIZE=2]#ORG $begin checkflag 0x500 if B_true goto $done applymovement 0x03 $oakwalk pausemove 0 message $oaktalk boxset 6 warp $oaklab setflag 0x500 release end #org $done release end #org $oakwalk $oakwalk 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE #org $oaktalk $oaktalk 1 = Don't go out there!\pYou'll need a Pokémon,\nespecially in the Ominous\pWoods! Come to the lab. #org $oaklab warp 0x3 0x4 0x3 end[/SIZE][/COLOR][/FONT]
you have to make a people in the lab and put another script in there or just use the one that already is there..When I go back to the lab, Oak stil isn't there.
wich people did you use the oak from outside? with all the same stats? cuz if you have 002C in the people ID it doesnt show oak you have to change that in 0000 then it will show...I'm still having trouble with Prof. Oak, he's not in the lab.
#org $go
trainerbattle 1 0x001 $before $after
message $beaten
boxset 6
release
end
#org $before
$before 1 = Let's battle!
#org $after
$after 1 = I lost...
#org $beaten
$beaten 1 = You already won, why are you\nstill bothering me?!
#org $start
checkflag 0x200
if B_true goto $done
applymovement 0x03 $go
pausemove 0
message $hey
$hey 1 =\c\h01\h06Ramon:Hey,the Professor is going\nto give us a pokemon.\pFirst,lets go to Mt.Waterfall.
boxset 6
applymovement 0x03 $now
applymovement 0xFF $fol
pausemove 0
message $2
$2 1 =\c\h01\h06Ramon:Whoo
boxset 6
applymovement 0x03 $noe
applymovement 0x02 $kick
pausemove 0
message $you
$you 1 =\c\h01\h06???:You guys think you're so bossy.\nNext time don't come near my house.\pRamon:I cannot take something like that.
boxset 6
applymovement 0x03 $6
pausemove 0
message $1
$1 =\c\h01\h06Ramon:Who's that
boxset 6
applymovement 0x03 $ok
applymovement 0x02 $fin
pausemove 0
message $that
$that 1 =\c\h01\h06Ramon:I guess I scared him off\nLets keep going.
boxset 6
applymovement 0x03 $leave
pausemove 0
setflag 0x200
release
end
#org $done
release
end
#org $go
$go 1 ; #binary 0x13 0x13 0x10 0x10 0xFE
#org $now
$now 1 ; #binary 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x01 0xFE
#org $ok
$ok 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x62 0xFE
#org $fol
$fol 1 ; #binary 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE
#org $6
$6 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x62 0xFE
#org $kick
$kick 1 ; #binary 0x10 0x10 0x10 0x10 0x10 0xFE
#org $noe
$noe 1 ; #binary 0x15 0x62 0x62 0x62 0x62 0x62 0xFE
#org $fin
$fin 1 ; #binary 0x62 0x15 0x13 0x13 0x13 0x13 0x13 0x11 0x11 0x11 0x11 0x11 0x1E 0x60 0xFE
#org $leave
$leave 1 ; #binary 0x11 0x11 0x13 0x13 0x13 0x60 0xFE
.......Code:#org $start checkflag 0x200 if B_true goto $done applymovement 0x03 $go pausemove 0 message $hey $hey 1 =\c\h01\h06Ramon:Hey,the Professor is going\nto give us a pokemon.\pFirst,lets go to Mt.Waterfall. boxset 6 applymovement 0x03 $now applymovement 0xFF $fol pausemove 0 message $2 $2 1 =\c\h01\h06Ramon:Whoo boxset 6 applymovement 0x03 $noe applymovement 0x02 $kick pausemove 0 message $you $you 1 =\c\h01\h06???:You guys think you're so bossy.\nNext time don't come near my house.\pRamon:I cannot take something like that. boxset 6 applymovement 0x03 $6 pausemove 0 message $1 $1 =\c\h01\h06Ramon:Who's that boxset 6 applymovement 0x03 $ok applymovement 0x02 $fin pausemove 0 message $that $that 1 =\c\h01\h06Ramon:I guess I scared him off\nLets keep going. boxset 6 applymovement 0x03 $leave pausemove 0 setflag 0x200 release end #org $done release end #org $go $go 1 ; #binary 0x13 0x13 0x10 0x10 0xFE #org $now $now 1 ; #binary 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x01 0xFE #org $ok $ok 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x62 0xFE #org $fol $fol 1 ; #binary 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0xFE #org $6 $6 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x62 0xFE #org $kick $kick 1 ; #binary 0x10 0x10 0x10 0x10 0x10 0xFE #org $noe $noe 1 ; #binary 0x15 0x62 0x62 0x62 0x62 0x62 0xFE #org $fin $fin 1 ; #binary 0x62 0x15 0x13 0x13 0x13 0x13 0x13 0x11 0x11 0x11 0x11 0x11 0x1E 0x60 0xFE #org $leave $leave 1 ; #binary 0x11 0x11 0x13 0x13 0x13 0x60 0xFE
Why doesnt this script work,I step on the tile and nothing happens
This is my replacement script for Professor Oak, to make him actually appear in the Lab. I have gone way wrong with this but I have no idea exactly what to do with it (note I've been scripting for only a week).
Spoiler:Code:[FONT=Tahoma][COLOR=Black][SIZE=2]#ORG $begin checkflag 0x500 if B_true goto $done applymovement 0x03 $oakwalk pausemove 0 message $oaktalk boxset 6 warp 0x3 0x4 0x3 setflag 0x500 release end #org $done release end #org $oakwalk $oakwalk 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE #org $oaktalk $oaktalk 1 = Don't go out there!\pYou'll need a Pokémon,\nespecially in the Ominous\pWoods! Come to the lab. [/SIZE][/COLOR][/FONT]
#org $begin
checkflag 0x219
giveitem 0xD 1
checkflag 0x219
release
end
I need help with one script.
I need to know how to make a script of a item you find somewhere.
E.g. [PLAYER] found a PokeBall. [Player] putted it on the bag.
And the pokeball of the item disappears
Or something like that. Please.
thanks ^_^
#org $start
checkflag 0x200
if 1 goto $done
giveitem 0x4 1
#raw 53
#raw 01 (the people number)
#raw 00
setflag 0x200
release
end
#org $done
release
end
#raw 53
#raw <people nr>
#raw 00
setflag 0x<number>
that will make the pokeball dissapear.. in a script it would be like this:
Code:#org $start checkflag 0x200 if 1 goto $done giveitem 0x4 1 #raw 53 #raw 01 (the people number) #raw 00 setflag 0x200 release end #org $done release end
Actually the game does that through a callstd function.
Remember this: the best answers are found in the original scripts from the game, not in the board. View them before asking
Lol little mistake bud, corrections in bold.This is for a pokeball item, like the ones laying around, it works fine but won't dissapear.
I set the id to 219 in advancemap, maybe theres something wrong with the script?
Code:#org $begin checkflag 0x219 giveitem 0xD 1 [B]setflag[/B] 0x219 release end
Can someone please take a look at it?
Sure, but it's an easier way.ahh, didn't know that..but it works with the Raws too ;b