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.
ok... i made the script, to fight with lugia... like legendary pokemons. It work perfectly until when it goes into battle it turns to black screen and never battles
I know the flag works because i have another script that uses it (i have 3 script[this one included] that all work together) so the 1st one sets the flag, the second one changes the map(this one), then the third is just a Hiker that tells you where to go
Here are the first and third script if you dont understand what i am talking about
Spoiler:
the first one
Code:
#Dynamic 0xDE5000
#ORG @begin
lock
faceplayer
checkflag 0x201
if B_true goto @continue
msgbox @oh
boxset 6
giveitem 0x10D 0x1 0x0
msgbox @wish
boxset 6
special 0x1F3
setflag 0x201
release
end
#org @continue
msgbox @please
boxset 6
setflag 0x201
release
end
#org @please
= Please hurry and deliver that\nbriefcase!!!!!
#org @oh
= Oh hi, i am a worker from A.Corp.\nand, i am...well...stuck! You see i\lhad to make an urgent delivery to\lSNOWPORT CITY, and in such a rush i\ljumped over this ledge and now i\lcant get back, i would go and\lfinish the delivery but a mountain\lis blocking the path on ROUTE 3.\lOhhh!!!! i dont know what to do...i\lam gonna get fired. Wait...can you\ldeliver this briefcase for me? It\lneeds to go to Garret's Shipyard in\lSNOWPORT CITY.\lYou will?! GREAT!!!! Here it is.
#org @wish
= I wish there was some way to repay\nyou for getting me out of this\ljam...wait is that a...yes it is,\lits a POKEDEX. Let me see\lit...Hmm...Hmm.....this pokedex is\lin a serious need of an upgrade.\lWait!! I have here A.Corp's latest\lupgrade. It will allow you to keep\ltrack of ALL the POKEMON in the\lCITRINE REGION.\l...inserting data disk\l...\l...processing\l...processing\l...\l...upgrading\l...\l...\lThere we go, all done. I hope you\lenjoy your new pokedex. Now please\lhurry and deliver that briefcase
the third
Code:
#Dynamic 0xDE5002
#ORG @begin
lock
faceplayer
checkflag 0x201
if B_true goto @continue2
checkflag 0x202
if B_true goto @continue
msgbox @Hey
boxset 6
setflag 0x202
release
end
#org @continue
msgbox @hey2
boxset 6
release
end
#org @continue2
msgbox @cleared
boxset 6
release
end
#org @hey
= Hey there m'lad. You see this here\nmountain, 'course ya do your not\lblind Hahahahaha, are you? Haha\ldidn't think so.\lWell i figured i would do a noble\ldeed and clear the path of this\lmountain so people can go to\lSNOWPORT CITY without having to\ltrek all the way up north.\lThis might take a while so come\lback later 'kay!?\l...\l...\l...\lWait just a second...your a POKEMON\lTRAINER, yup you sure are!\lHaha...wait, are you? Haha, thought\lso!\lWell since you are a TRAINER you\lshould go to the POKEMON GYM in\lSNOWBRINK CITY. Give the GYM LEADER\la challenge then come back, i think\li will have the path cleared by\lthen.\lYou know, a man in a green suit\lcame running over here a little\lwhile ago. He was muttering\lsomething about delivering a\lbriefcase. After he saw the\lmountain he said he was going back\lthrough SNOWBRINK to take the\lnorthern route to SNOWPORT. I hope\lhe knows you can't go back north\lthrough SNOWBRINK, there is a\lnasty little ledge separating it\lfrom ROUTE 15. Well better get to\lwork!\lOhhhhhhhhhh!!!!!!!!!!!!!!!!!\lA hikers life is the life for me\lYohoyohoyoho!!!!!!!!!
#org @hey2
= Hey there again m'lad. Still not\ndone workin' on this mountain. Give\lme a little more time. You should\lgo help that man in the green suit.\lOhhhhhhhhhhh!!!!!!!!!!!!!!\lA hikers life is the life for me...
#org @cleared
= Hey there m'lad, nice seein' you\nagain.\l Well i cleared the\lpassageway, so now you can go to\lSNOWPORT.
Back to what i was talking about, when i enter the map the tiles dont change...
I know the flag works because i have another script that uses it (i have 3 script[this one included] that all work together) so the 1st one sets the flag, the second one changes the map(this one), then the third is just a Hiker that tells you where to go
Here are the first and third script if you dont understand what i am talking about
Spoiler:
the first one
Code:
#Dynamic 0xDE5000
#ORG @begin
lock
faceplayer
checkflag 0x201
if B_true goto @continue
msgbox @oh
boxset 6
giveitem 0x10D 0x1 0x0
msgbox @wish
boxset 6
special 0x1F3
setflag 0x201
release
end
#org @continue
msgbox @please
boxset 6
setflag 0x201
release
end
#org @please
= Please hurry and deliver that\nbriefcase!!!!!
#org @oh
= Oh hi, i am a worker from A.Corp.\nand, i am...well...stuck! You see i\lhad to make an urgent delivery to\lSNOWPORT CITY, and in such a rush i\ljumped over this ledge and now i\lcant get back, i would go and\lfinish the delivery but a mountain\lis blocking the path on ROUTE 3.\lOhhh!!!! i dont know what to do...i\lam gonna get fired. Wait...can you\ldeliver this briefcase for me? It\lneeds to go to Garret's Shipyard in\lSNOWPORT CITY.\lYou will?! GREAT!!!! Here it is.
#org @wish
= I wish there was some way to repay\nyou for getting me out of this\ljam...wait is that a...yes it is,\lits a POKEDEX. Let me see\lit...Hmm...Hmm.....this pokedex is\lin a serious need of an upgrade.\lWait!! I have here A.Corp's latest\lupgrade. It will allow you to keep\ltrack of ALL the POKEMON in the\lCITRINE REGION.\l...inserting data disk\l...\l...processing\l...processing\l...\l...upgrading\l...\l...\lThere we go, all done. I hope you\lenjoy your new pokedex. Now please\lhurry and deliver that briefcase
the third
Code:
#Dynamic 0xDE5002
#ORG @begin
lock
faceplayer
checkflag 0x201
if B_true goto @continue2
checkflag 0x202
if B_true goto @continue
msgbox @Hey
boxset 6
setflag 0x202
release
end
#org @continue
msgbox @hey2
boxset 6
release
end
#org @continue2
msgbox @cleared
boxset 6
release
end
#org @hey
= Hey there m'lad. You see this here\nmountain, 'course ya do your not\lblind Hahahahaha, are you? Haha\ldidn't think so.\lWell i figured i would do a noble\ldeed and clear the path of this\lmountain so people can go to\lSNOWPORT CITY without having to\ltrek all the way up north.\lThis might take a while so come\lback later 'kay!?\l...\l...\l...\lWait just a second...your a POKEMON\lTRAINER, yup you sure are!\lHaha...wait, are you? Haha, thought\lso!\lWell since you are a TRAINER you\lshould go to the POKEMON GYM in\lSNOWBRINK CITY. Give the GYM LEADER\la challenge then come back, i think\li will have the path cleared by\lthen.\lYou know, a man in a green suit\lcame running over here a little\lwhile ago. He was muttering\lsomething about delivering a\lbriefcase. After he saw the\lmountain he said he was going back\lthrough SNOWBRINK to take the\lnorthern route to SNOWPORT. I hope\lhe knows you can't go back north\lthrough SNOWBRINK, there is a\lnasty little ledge separating it\lfrom ROUTE 15. Well better get to\lwork!\lOhhhhhhhhhh!!!!!!!!!!!!!!!!!\lA hikers life is the life for me\lYohoyohoyoho!!!!!!!!!
#org @hey2
= Hey there again m'lad. Still not\ndone workin' on this mountain. Give\lme a little more time. You should\lgo help that man in the green suit.\lOhhhhhhhhhhh!!!!!!!!!!!!!!\lA hikers life is the life for me...
#org @cleared
= Hey there m'lad, nice seein' you\nagain.\l Well i cleared the\lpassageway, so now you can go to\lSNOWPORT.
Back to what i was talking about, when i enter the map the tiles dont change...
Yeah, sorry about that. I'll update the first post with how to fix this. You see, Advance map overwrites the values with 'FFFF'. Which is why most level scripts won't work if you do it through advance map. I'll update the first post with how to make a level script through XSE, or for those who don't like XSE, through hex. The only thing you'll need from A-map is the 'Professional Header' and the 'Map script offset' from it.
And i am using XSE and Amap, so is it me or XSE and AMap
And 0x1 and B_true i thought were the same thing, because when i talk to the Hiker(3rd script) he does the correct message that he is supposed to do after flag 201 is set.............but in the meantime i will try it with your change
No.
XSE has more commands so you don't have to learn all the #raw's that Pokescript didn't have.
Also, XSE tells you when there's something wrong with the script BEFORE you compile.
No.
XSE has more commands so you don't have to learn all the #raw's that Pokescript didn't have.
Also, XSE tells you when there's something wrong with the script BEFORE you compile.
No.
XSE has more commands so you don't have to learn all the #raw's that Pokescript didn't have.
Also, XSE tells you when there's something wrong with the script BEFORE you compile.
XSE has more default commands. You can add commands to pokescript.
Pokescrpt does show if you make errors. You just have to look through the log.
The only major difference I've found, is the compiling speeds. XSE has a much faster compilation speed than pokescipt, and a working decompiling function.
I'm trying to make it so when you land on a hole in the ice you disappear, reappear, and then jump around and finally slide out. Whats wrong with it? All it does is freeze.