- 36
- Posts
- 3
- Years
- Seen Jun 22, 2022
please could someone help my?
im trying to get this script to work so that you get to choose a pokemon but if you have 6 pokemon in your party it says you have to many pokemon in your party. however the script works perfectly except if you do have 6 pokemon in your party the script just ends and doesn't tell you the reason?
heres the script (im using XSE)
#dynamic 0x818863
#org @start
lock
faceplayer
setflag 0x828
msgbox @t1 0x6
countpokemon
compare 0x800D 0x6
if 0x1 goto @t8 <<<<<<<< for some reason it doesnt go to the @t8 (down at the bottom) and even when i put it into XSE it seems to delete the @t8 from the script
Multichioce 0x0 0x0 0x01 0x1
compare 0x800D 0x0
if 0x1 goto @eevee
compare 0x800D 0x1
if 0x1 goto @vaporeon
compare 0x800D 0x2
if 0x1 goto @jolteon
compare 0x800D 0x3
if 0x1 goto @flareon
msgbox @t2 0x6
release
end
#org @eevee
givepokemon 0x85 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t3 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @vaporeon
givepokemon 0x86 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t4 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @jolteon
givepokemon 0x87 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t5 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @flareon
givepokemon 0x88 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t6 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @nickname
countpokemon
subvar 0x800D 0x1
copyvar 0x8004 0x800D
msgbox @t7 0x5
compare 0x800D 0x1
if 0x1 goto @yes
release
end
#org @yes
fadescreen 0x1
special 0x9E
waitstate
release
end
<<<<<<<<<<<<all this gets deleted
#org @t8
=Your party is full.\nPlease deposit one\to make room.
release
end
<<<<<<<<<<<<<to here
#org @t7
=[black_fr]Give it a nickname?
#org @t3
= [black-fr][player] received an Eevee
#org @t4
= [black-fr][player] received an Vaporeon
#org @t5
= [black-fr][player] received an Jolteon
#org @t6
= [black-fr][player] received an Flareon
#org @t2
= [black_fr]That's okay\ngood luck finding someone else.
#org @t1
= [black_fr]Want an Eeveelution?
im trying to get this script to work so that you get to choose a pokemon but if you have 6 pokemon in your party it says you have to many pokemon in your party. however the script works perfectly except if you do have 6 pokemon in your party the script just ends and doesn't tell you the reason?
heres the script (im using XSE)
#dynamic 0x818863
#org @start
lock
faceplayer
setflag 0x828
msgbox @t1 0x6
countpokemon
compare 0x800D 0x6
if 0x1 goto @t8 <<<<<<<< for some reason it doesnt go to the @t8 (down at the bottom) and even when i put it into XSE it seems to delete the @t8 from the script
Multichioce 0x0 0x0 0x01 0x1
compare 0x800D 0x0
if 0x1 goto @eevee
compare 0x800D 0x1
if 0x1 goto @vaporeon
compare 0x800D 0x2
if 0x1 goto @jolteon
compare 0x800D 0x3
if 0x1 goto @flareon
msgbox @t2 0x6
release
end
#org @eevee
givepokemon 0x85 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t3 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @vaporeon
givepokemon 0x86 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t4 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @jolteon
givepokemon 0x87 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t5 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @flareon
givepokemon 0x88 0xA 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @t6 0x4
waitfanfare
closeonkeypress
goto @nickname
#org @nickname
countpokemon
subvar 0x800D 0x1
copyvar 0x8004 0x800D
msgbox @t7 0x5
compare 0x800D 0x1
if 0x1 goto @yes
release
end
#org @yes
fadescreen 0x1
special 0x9E
waitstate
release
end
<<<<<<<<<<<<all this gets deleted
#org @t8
=Your party is full.\nPlease deposit one\to make room.
release
end
<<<<<<<<<<<<<to here
#org @t7
=[black_fr]Give it a nickname?
#org @t3
= [black-fr][player] received an Eevee
#org @t4
= [black-fr][player] received an Vaporeon
#org @t5
= [black-fr][player] received an Jolteon
#org @t6
= [black-fr][player] received an Flareon
#org @t2
= [black_fr]That's okay\ngood luck finding someone else.
#org @t1
= [black_fr]Want an Eeveelution?