![]() |
Need Help With Script
This Script I Worked For Choosing Your Starter. When You Choose Your Pokemon The Game As Far As I Can See, It Freezes. Its A Person Event & Can Someone Fix It?
Heres The Script: #dynamic 0x80000 #org @start lock faceplayer checkflag 0x201 compare LASTRESULT 0x1 if 0x1 goto @arh msgbox @t1 0x5 compare LASTRESULT 0x1 if 0x1 goto @t2 msgbox @t5 0x6 release end #org @t5 = Thats To Bad. #org @arh msgbox @arh2 0x6 release end #org @arh2 = [black_fr]Pokemon Freak:You All Ready/nGot A Pokemon [player]! #org @t1 = [black_fr]Pokemon Freak:Do You Want A\nPokemon, [red_fr][player][grey_fr]? #org @t2 msgbox @t2-1 0x5 compare LASTRESULT 0x1 if 0x1 goto @t2y msgbox @t3 0x5 compare LASTRESULT 0x1 if 0x1 @t3y msgbox @t4 0x5 compare LASTRESULT 0x1 if 0x1 @t4y msgbox @t5 0x6 release end #org @t2-1 = [black_fr]Pokemon Freak:Do You Want Azurill? #org @t3 = [black_fr]Pokemon Freak:Do You Want Hoppip? #org @t4 = [black_fr]Pokemon Freak:Do You Want Magby? #org @t2y givepokemon 0x350 0x5 0x139 0x0 0x0 0x0 setflag 201 release end #org @t3y givepokemon 0x187 0x5 0x139 0x0 0x0 0x0 setflag 201 release end #org @t4y givepokemon 0x240 0x5 0x139 0x0 0x0 0x0 setflag 0x201 release end |
Quote:
lock faceplayer checkflag 0x201 if 0x1 goto @arh (enabled flag) (disabled flag) ... ... ... |
Thanks, I'm Still New To Scripting
|
It Still Freezes When You Choose A Pokemon, How Do I Fix It?
|
Quote:
Then you can take a look at this tutorial. |
I'm no scripting God myself, but just a two things which seem out of place to me:
- In @t2y and @t3y you've set the flags as 201, in @t4y you've used 0x201. Should all be 0x201, if I'm correct (as your checkflag also points to 0x201). - I'm not quite sure if @t2-1 is a valid name, really. Wouldn't it be easier for yourself if you just named those sequences differently, as you've already used an @t1 and @t2 before. Hope this fixes it. |
Thanks!
|
| All times are GMT -8. The time now is 9:18 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.