Satoshi Sugimori
Hermit
- 860
- Posts
- 18
- Years
- Age 32
- Tokyo, Japan
- Seen Jul 6, 2023
Heey does anyone have or knows how to make a pokemon center script? I would really appreciate it...
Thanks in advance..
Thanks in advance..
#org $StartMarket
lock
faceplayer
if B_TRUE goto $yes
message $buy
$buy 1 =Do you want to buy anything?
boxset 5
if B_False goto $no
release
end
#org $yes
$yes 1 =Alright this is what I got.
pokemart $marketValues
message $nice
$nice 1 =Thanks!\nHave a nice day!
#org $no
lock
faceplayer
message $no1
$no1 1 =Alright see you next time!
boxset 6
release
end
#org $marketValues
#binary int 0x4 0xD 0x11 0x12 0xE 0x56 0x1B 0x22
#org $begin
checkflag 0x342
if B_true goto $done
applymovement 0x1 $aha
pausemove 0
message $meowthtalk
$meowthtalk 1 =Hey it's the little brat again!\nYou wait there!\pI'm gonna call Jessy and James.\nYou won't survive!
boxset 6
applymovement 0x1 $jump
pausemove 0
applymovement 0xFF $jumpback
pausemove 0
applymovement 0x2 $jamesrun
pausemove 0
applymovement 0x2 $jamesrun3
pausemove 0
applymovement 0x3 $jessyrun
pausemove 0
applymovement 0x3 $jessyrun3
pausemove 0
message $trap
$trap 1 =HA!\nOur trap has worked!\pWe will fight you and take your pokémon!\nLet's battle!
boxset 6
trainerbattle 0 161 $rocketchall $rocketdefeat
$rocketchall 1 =We are Team Rocket!\nWe are unbeatable!
$rocketdefeat 1 =James...\nMeowth...\pYes Jessy?\n...\p...\nRuuuunn!!
boxset 6
applymovement 0x1 $meowthrun
pausemove 0
applymovement 0x3 $jessyrun2
pausemove 0
applymovement 0x2 $jamesrun2
pausemove 0
release
end
#org $aha
$aha 1 ; #binary 0x62 0xFE
#org $jump
$jump 1 ; #binary 0x16 0xFE
#org $jumpback
$jumpback 1 ; #binary 0x50 0xFE
#org $jamesrun
$jamesrun 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
#org $jamesrun3
$jamesrun3 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x09 0x04 0xFE
#org $jessyrun
$jessyrun 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
#org $jessyrun3
$jessyrun3 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
#org $meowthrun
$meowthrun 1 ; #binary 0x1E 0x1E 0x1E 0x1E 0x1F 0x1F 0x1E 0x1F 0x1E 0x1E 0x20 0x20 0x20 0x60 0xFE
#org $jessyrun2
$jessyrun2 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
#org $jamesrun2
$jamesrun2 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
#org $done
release
end
Can anyone check this it doesn't work properly it's a yes/no script with a pokemart script but when I choose yes or no it days the same...
Code:#org $StartMarket lock faceplayer if B_TRUE goto $yes message $buy $buy 1 =Do you want to buy anything? boxset 5 if B_False goto $no release end #org $yes $yes 1 =Alright this is what I got. pokemart $marketValues message $nice $nice 1 =Thanks!\nHave a nice day! #org $no lock faceplayer message $no1 $no1 1 =Alright see you next time! boxset 6 release end #org $marketValues #binary int 0x4 0xD 0x11 0x12 0xE 0x56 0x1B 0x22
Lots of mistakes.
#org $StartMarket
lock
faceplayer
message $buy
$buy 1 =Do you want to buy anything?
boxset 5
compare lastresult 1
if B_TRUE goto $yes
message $no
$no 1 =Alright see you next time!
boxset 6
release
end
#org $yes
message $yesmes
$yesmes 1 =Alright this is what I got.
boxset 6
pokemart $marketValues
message $nice
$nice 1 =Thanks!\nHave a nice day!
boxset 6
release
end
#org $marketValues
#binary int 0x4 0xD 0x11 0x12 0xE 0x56 0x1B 0x22
#org $begin
checkflag 0x200
if B_true goto $done
message $it
boxset 6
release
end
#org $it
$it 1 = It's a pokeball.
#org $done
message $do
boxset 5
compare LASTRESULT 1
if B_true goto $end
givepoke 280 5 0
setflag 0x828
setflag 0x203
message $gotpoke
boxset 6
message $namepoke
boxset 5
compare LASTRESULT 1
if B_true goto $continue
goto $namepoked
#org $namepoked
namepokemon
goto $continue
#org $end
message $putback
boxset 6
release
end
#org $putback
$putback 1 = You put the pokeball back.
#org $do
$do 1 = Do you want to take\nthe Chick Pokemon Torchic?
#org $gotpoke
$gotpoke 1 = You obtained a Torchic!
#org $namepoke
$namepoke 1 = Would you like to nickname Torchic?
#org $continue
applymovement 8 $mw1
pausemove 0
setflag 0x204
message $finally
boxset 6
clearflag 0x206
applymovement 1 $mw2
pausemove 0
message $mine
boxset 6
setflag 0x205
message $who
boxset 6
message $thanks
boxset 6
applymovement 1 $mw3
pausemove 0
setflag 0x206
message $wait
boxset 6
applymovement 8 $mw4
applymovement 0xFF $mw4
pausemove 0
message $now
boxset 6
applymovement 4 $mw5
pausemove 0
setflag 0x207
applymovement 4 $mw6
pausemove 0
setflag 0x829
message $pokedex
boxset 6
release
end
#org $mw1
$mw1 1 ; #binary 0x13 0x13 0x10 0x10 0x13 0x13 0x11 0x11 0xFE
#org $finally
$finally 1 = Finally I get my pokemon!\nI'll take this one,\pIt has to be stronger.
#org $mw2
$mw2 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x13 0x13 0x13 0x11 0xFE
#org $mine
$mine 1 = ????: Ok, then this one is mine!
#org $who
$who 1 = PROF. MAGNOLIA: You must\nbe the other trainer\pthat I was expecting.\nYou're finally here.\pYou can have that pokemon,\nfor it is the only one left.
#org $thanks
$thanks 1 = ????: Thanks, now I gotta go! Bye!
#org $mw3
$mw3 1 ; #binary 0x10 0x10 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE
#org $wait
$wait 1 = PROF. MAGNOLIA: Wait!\n..Oh nevermind.\pYou two, come here.
#org $mw4
$mw4 1 ; #binary 0x12 0x12 0x11 0x11 0xFE
#org $now
$now 1 = Now, there's one thing that I\nhave to give the two of you.
#org $mw5
$mw5 1 ; #binary 0x12 0x11 0xFE
#org $mw6
$mw6 1 ; #binary 0x10 0x13 0x4A 0xFE
#org $pokedex
$pokedex 1 = You got the Pokedex!
Lots of mistakes.
#org $StartMarket
lock
faceplayer
message $buy
$buy 1 =Do you want to buy anything?
boxset 5
compare lastresult 1
if B_TRUE goto $yes
message $no
$no 1 =Alright see you next time!
boxset 6
release
end
#org $yes
message $yesmes
$yesmes 1 =Alright this is what I got.
boxset 6
pokemart $marketValues
message $nice
$nice 1 =Thanks!\nHave a nice day!
boxset 6
release
end
#org $marketValues
#binary int 0x4 0xD 0x11 0x12 0xE 0x56 0x1B 0x22 0x0
#org $CantGo
message $CantGo
$WCantGo 1 = You need a Pokemon\nto go in there!\nHere, take this Absol!
boxset 6
givepokemon 359 5 0
jingle
message $GotAbsol
$GotChick 1 = You Recieved a Absol
boxset 6
message $NameAbsol
$NameChick 1 = Would You like to give Absol a name?
boxset 5
compare LASTRESULT 1
if b_False goto $GiveDex
Namepokemon
setflag 0x203
goto $GiveDex
#org $GiveDex
setflag 0x800
setflag 0x801
message $Pokedex
$Pokedex 1 = I hope you like it!
boxset 6
jingle
message $GotDex
$Gotdex 1 = You got the Pokedex!
boxset 6
end
Is it allright? All it need some changes?Code:#org $CantGo message $CantGo [B]$CantGo [/B]1 = You need a Pokemon\nto go in there!\[B]l[/B]Here, take this Absol! boxset 6 givepokemon 359 5 0 jingle message $GotAbsol [B]$GotAbsol[b] 1 = You Recieved a[b]n[/b] Absol boxset 6 message $NameAbsol [b]$NameAbsol[/b] 1 = Would You like to give Absol a name? boxset 5 compare LASTRESULT 1 if b_False goto $GiveDex Namepokemon setflag 0x203 goto $GiveDex #org $GiveDex setflag 0x800 setflag 0x801 message $Pokedex $Pokedex 1 = I hope you like it! boxset 6 jingle message $GotDex $Gotdex 1 = You got the Pokedex! boxset 6 end
#org $script
compare 0x4099 0x0
if 1 goto $normal
compare 0x4099 0x1
if 1 goto $clouds
compare 0x4099 0x2
if 1 goto $snow
compare 0x4099 0x3
if 1 goto $rain
compare 0x4099 0x4
if 1 goto $Dark
compare 0x4099 0x5
if 1 goto $thunder
compare 0x4099 0x6
if 1 goto $Fog
compare 0x4099 0x7
if 1 goto $flakes
compare 0x4099 0x8
if 1 goto $thunder2
end
#org $normal
#raw 0xA4 0x02 0x00
#raw 0xA5
goto $random
#org $clouds
#raw 0xA4 0x01 0x00
#raw 0xA5
goto $random
#org $rain
#raw 0xA4 0x03 0x00
#raw 0xA5
goto $random
#org $flakes
#raw 0xA4 0x04 0x00
#raw 0xA5
goto $random
#org $thunder
#raw 0xA4 0x05 0x00
#raw 0xA5
goto $random
#org $Fog
#raw 0xA4 0x06 0x00
#raw 0xA5
goto $random
#org $snow
#raw 0xA4 0x07 0x00
#raw 0xA5
goto $random
#org $dark
#raw 0xA4 0x0B 0x00
#raw 0xA5
goto $random
#org $thunder2
#raw 0xA4 0x0D 0x00
#raw 0xA5
goto $random
#org $random
#raw 0x8F 0x10 0x00
compare 0x800D 0x0
if 1 goto $cnormal
compare 0x800D 0x1
if 1 goto $cclouds
compare 0x800D 0x2
if 1 goto $csnow
compare 0x800D 0x3
if 1 goto $cnormal
compare 0x800D 0x4
if 1 goto $cclouds
compare 0x800D 0x5
if 1 goto $cnormal
compare 0x800D 0x6
if 1 goto $crain
compare 0x800D 0x7
if 1 goto $cnormal
compare 0x800D 0x8
if 1 goto $csnow
compare 0x800D 0x9
if 1 goto $cDark
compare 0x800D 0xA
if 1 goto $cthunder
compare 0x800D 0xB
if 1 goto $cnormal
compare 0x800D 0xC
if 1 goto $cFog
compare 0x800D 0xD
if 1 goto $cflakes
compare 0x800D 0xE
if 1 goto $cdark
compare 0x800D 0xF
if 1 goto $cnormal
compare 0x800D 0x10
if 1 goto $cthunder2
end
#org $cnormal
setvar 0x4099 0x0
end
#org $cclouds
setvar 0x4099 0x1
end
#org $crain
setvar 0x4099 0x3
end
#org $cflakes
setvar 0x4099 0x7
end
#org $cthunder
setvar 0x4099 0x5
end
#org $cFog
setvar 0x4099 0x6
end
#org $csnow
setvar 0x4099 0x2
end
#org $cdark
setvar 0x4099 0x4
end
#org $cthunder2
setvar 0x4099 0x8
end
could someone please help me with this please i really need some help!!!!OK, i really suck at scripting so if someone could, could they explain how to use it for noobs and where do i get script ed?? if someone could tell me then thank you sooooooooooo much.(they'll become my new bestfriend)
For your tools, go here: https://www.pkmncommunity.com/forumdisplay.php?f=66could someone please help me with this please i really need some help!!!!
thethethethe:
You'll have to ask Teh Baro, not many of us know many level scripts.
Sometimes the simplest answer is a typo, I really don't know.
Try looking through the whole thing over.
I just tried this script for FireRed and 2 things happened. When you click yes for the first Question, It acts as no and when you click no, it acts as yes but the screen goes red. Anyone know why?
Code:#org $begin checkflag 0x200 if B_true goto $done message $it boxset 6 release end #org $it $it 1 = It's a pokeball. #org $done message $do boxset 5 compare LASTRESULT 1 if B_true goto $end givepoke 280 5 0 setflag 0x828 setflag 0x203 message $gotpoke boxset 6 message $namepoke boxset 5 compare LASTRESULT 1 if B_true goto $continue goto $namepoked #org $namepoked namepokemon goto $continue #org $end message $putback boxset 6 release end #org $putback $putback 1 = You put the pokeball back. #org $do $do 1 = Do you want to take\nthe Chick Pokemon Torchic? #org $gotpoke $gotpoke 1 = You obtained a Torchic! #org $namepoke $namepoke 1 = Would you like to nickname Torchic? #org $continue applymovement 8 $mw1 pausemove 0 setflag 0x204 message $finally boxset 6 clearflag 0x206 applymovement 1 $mw2 pausemove 0 message $mine boxset 6 setflag 0x205 message $who boxset 6 message $thanks boxset 6 applymovement 1 $mw3 pausemove 0 setflag 0x206 message $wait boxset 6 applymovement 8 $mw4 applymovement 0xFF $mw4 pausemove 0 message $now boxset 6 applymovement 4 $mw5 pausemove 0 setflag 0x207 applymovement 4 $mw6 pausemove 0 setflag 0x829 message $pokedex boxset 6 release end #org $mw1 $mw1 1 ; #binary 0x13 0x13 0x10 0x10 0x13 0x13 0x11 0x11 0xFE #org $finally $finally 1 = Finally I get my pokemon!\nI'll take this one,\pIt has to be stronger. #org $mw2 $mw2 1 ; #binary 0x11 0x11 0x11 0x11 0x11 0x13 0x13 0x13 0x11 0xFE #org $mine $mine 1 = ????: Ok, then this one is mine! #org $who $who 1 = PROF. MAGNOLIA: You must\nbe the other trainer\pthat I was expecting.\nYou're finally here.\pYou can have that pokemon,\nfor it is the only one left. #org $thanks $thanks 1 = ????: Thanks, now I gotta go! Bye! #org $mw3 $mw3 1 ; #binary 0x10 0x10 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE #org $wait $wait 1 = PROF. MAGNOLIA: Wait!\n..Oh nevermind.\pYou two, come here. #org $mw4 $mw4 1 ; #binary 0x12 0x12 0x11 0x11 0xFE #org $now $now 1 = Now, there's one thing that I\nhave to give the two of you. #org $mw5 $mw5 1 ; #binary 0x12 0x11 0xFE #org $mw6 $mw6 1 ; #binary 0x10 0x13 0x4A 0xFE #org $pokedex $pokedex 1 = You got the Pokedex!
Well, that worked...Sorta. It works like that, but first of all, the pokeball doesn't disappear, even though I put Setflag and the number of the flag.
Now I'll list all of the errors in the script and I don't know how to fix them.
-The pokeball doesn't disappear
-If you nickname it, the script won't continue
-The Rival goes 1 step too farFixed
-The person with the flag 206 in their ID doesn't appear, even after I cleared the flag.
-None of the pokeballs disappear
-You and your rival move one step too farFixed
-The pokedexes don't disappear
-The script keeps happening even after it ends. You can get infinate Pokemon because of that.