#dynamic 0x2DD0F8
#org @start
lock
Faceplayer
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end
#org @take
checkflag 0x829
if 0x0 goto @pokedex
msgbox @after 0x6
cry 0x32 0x0
wildbattle 0x32 0x5 0x0
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end
#org @pokedex
setflag 0x829
setflag 0x82F
setflag 0x828
givepokemon 0x32 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
special 0x16F
msgbox @3 0x6
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x201
release
end
#org @3
= You obtained a Pokedex,\nNidoran(m), and\lrunning shoes!
#org @2
= Everything was left\nthe way it was
#org @1
= There is a pokeball with\nNidoran(m) and other stuff\lTake it?
#org @after
= Nidoran(m) appeared from\nthe pokeball\lHe appears to be\nangry.
This is my first script and i compiled it but when i go to the item i get a diglett and i have another one with nidoran female and it gives me a zubat. Also when it fades out it fades but when i walk over where it was, it reappears. anyone know whats wrong?
O and ^post, you need to have free space finder in the same folder as xse, and your rom ran out of space. Try a Rom expander?