Shiny Quagsire
I'm Still Alive, Elsewhere
- 697
- Posts
- 15
- Years
- Age 27
- Hoenn Safari Zone
- Seen Aug 8, 2020
I need help with this script, it's suppose to check to make sure the pokemon you pick is a certain pokemon and if you pick the wrong one it stops you and takes you to the back of that string. What happens is that when I'm supposed to pick Venusaur it let's me pick any pokemon without stopping me. Then when I'm suppose to pick Onix and I go to pick another pokemon or when I try to go back (which you aren't suppose to be able to do at that point) it takes me to my @Goback string. This is just a little bit of my script, but everything else in the script works perfect except this part. Please take a look.
Spoiler:
#org @Combinevenusaurwithonix
msgbox @Billshousechoosevenusaur 0x6
call @Menu
setvar 0x8004 0x3
compare 0x8004 0x6
if 0x4 goto @Goback
special2 0x8005 0xBA
comparevars 0x8005 0x8004
if 0x0 goto @Billshousethatsnotavenusaur
goto @Billshouseremovevenasaur
#org @Billshousepickonix
msgbox @Billshousechooseonix 0x6
call @Menu
setvar 0x8004 0x5F
special2 0x8005 0xBA
comparevars 0x8005 0x8004
if 0x0 goto @Billshousethatsnotaonix
goto @Billshouseremoveonix
#org @Billshousethatsnotavenusaur
msgbox @Billshousevenusaur 0x6
goto @Combinevenusaurwithonix
#org @Billshousethatsnotaonix
msgbox @Billshouseonix 0x6
goto @Billshousepickonix
#org @Menu
special 0x9F
waitstate
lock
faceplayer
copyvar 0x800A 0x8004
return
#org @Goback
msgbox @Billshouseyoudontwanttomixpokemon 0x6
goto @Billshousereadytocombinepokemon
#org @Billshouseremovevenasaur
special 0x176
cmdc3 0x2F
goto @Billshousepickonix
#org @Billshouseremoveonix
special 0x176
cmdc3 0x2F
goto @Billshousegivebcreation2
I don't know if you meant to do this, but you set variable 8004 to 800A, then when you returned you set 8004 to 0x3. :\