- 54
- Posts
- 16
- Years
- Seen May 21, 2011
Hey guys,
Really nooby question here but...
My Hidesprite command doesn't work. The sprite vanishes, then as soon as I walk in a direction it reappears. Here's the script if anyone could help me out.
Thanks in advance for any help.
Really nooby question here but...
My Hidesprite command doesn't work. The sprite vanishes, then as soon as I walk in a direction it reappears. Here's the script if anyone could help me out.
Spoiler:
#dynamic 0x8033A1
#org @start
checkflag 0x828
if 0x1 goto @end
showpokepic 0x4 0x3 0x3
msgbox @char 0x5
compare 0x800D 0x1
if 0x0 goto @end
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @rec 0x4
waitfanfare
closeonkeypress
msgbox @nick 0x5
compare 0x800D 0x1
if 0x1 gosub @name
hidesprite 0x08
hidepokepic
closeonkeypress
setflag 0x828
end
#org @char
= Redwood: So you choose the\nCharmander then? A worthy choice\lfor a worthy trainer!
#org @end
closeonkeypress
hidepokepic
end
#org @rec
= [player] received the Charmander!
#org @name
call 0x1A74EB
return
#org @nick
= Would you like to give a\nnickname to Charmander?
#org @start
checkflag 0x828
if 0x1 goto @end
showpokepic 0x4 0x3 0x3
msgbox @char 0x5
compare 0x800D 0x1
if 0x0 goto @end
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @rec 0x4
waitfanfare
closeonkeypress
msgbox @nick 0x5
compare 0x800D 0x1
if 0x1 gosub @name
hidesprite 0x08
hidepokepic
closeonkeypress
setflag 0x828
end
#org @char
= Redwood: So you choose the\nCharmander then? A worthy choice\lfor a worthy trainer!
#org @end
closeonkeypress
hidepokepic
end
#org @rec
= [player] received the Charmander!
#org @name
call 0x1A74EB
return
#org @nick
= Would you like to give a\nnickname to Charmander?
Thanks in advance for any help.
Last edited: