- 3
- Posts
- 10
- Years
- Seen Jul 20, 2015
Hey guys, I am so sorry if there is already a question like this in the forum but I didn't find anything specific about it that helped me.
I am looking forward a command that removes a sprite after I interact with it. Everbody knows the little pokéballs that are potions or ethers and when you click "A" next to them you receive the item and the sprite(pokéball) disappears. I have the "receive-item-part" covered but the sprite won't go away. I tested the "removesprite + person no."-command in different combinations but the pokéball still blocks my way (if I don't mess up completly and the game crashes because I messed up the script too much^^).
Can someone please give me a script which I can copy for this event? Or tell me what I am doing wrong?
My script atm:
#org $begin
lock
removesprite 10
checkflag 0x210
if b_true goto $alreadygot
message $getitem
$getitem 1 =
giveitem 0x22 0x1
setflag 0x210
release
end
#org $alreadygot
lock
faceplayer
message $onlyone
$onlyone 1 =
release
end
I am looking forward a command that removes a sprite after I interact with it. Everbody knows the little pokéballs that are potions or ethers and when you click "A" next to them you receive the item and the sprite(pokéball) disappears. I have the "receive-item-part" covered but the sprite won't go away. I tested the "removesprite + person no."-command in different combinations but the pokéball still blocks my way (if I don't mess up completly and the game crashes because I messed up the script too much^^).
Can someone please give me a script which I can copy for this event? Or tell me what I am doing wrong?
My script atm:
#org $begin
lock
removesprite 10
checkflag 0x210
if b_true goto $alreadygot
message $getitem
$getitem 1 =
giveitem 0x22 0x1
setflag 0x210
release
end
#org $alreadygot
lock
faceplayer
message $onlyone
$onlyone 1 =
release
end