- 2
- Posts
- 5
- Years
- Seen Aug 16, 2020
i need help with giving pokemon. every time i use the give pokemon command it doesnt work even though everything else in the script does
here is the script.
#dynamic 0x800000
#org @start
lock
checkflag 0x204
if 0x1 goto @alreadyChoseAPokemon
checkflag 0x201
if 0x1 goto @alreadyChoseAPokemon
showpokepic 0x30A 0xA 0x3
pause 0x30
msgbox @t1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
hidepokepic
release
end
#org @yes
hidepokepic
hidesprite 0x4
fanfare 0x13E
givepokemon 0x30A 0x5 0xD 0x0 0x0 0x0
waitfanfare
setflag 0x202
release
end
#org @alreadyChoseAPokemon
msgbox @t2 0x6
release
end
#org @t2
= [black_fr]You can not take another!
#org @t1
= [black_fr]Choose [green_fr]Popplio[black_fr]?
here is the script.
#dynamic 0x800000
#org @start
lock
checkflag 0x204
if 0x1 goto @alreadyChoseAPokemon
checkflag 0x201
if 0x1 goto @alreadyChoseAPokemon
showpokepic 0x30A 0xA 0x3
pause 0x30
msgbox @t1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
hidepokepic
release
end
#org @yes
hidepokepic
hidesprite 0x4
fanfare 0x13E
givepokemon 0x30A 0x5 0xD 0x0 0x0 0x0
waitfanfare
setflag 0x202
release
end
#org @alreadyChoseAPokemon
msgbox @t2 0x6
release
end
#org @t2
= [black_fr]You can not take another!
#org @t1
= [black_fr]Choose [green_fr]Popplio[black_fr]?