View Single Post
  #7471    
Old December 7th, 2012 (02:22 PM).
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote originally posted by DarkFire7777:
Changed the event to 1001, but now the guy won't give the item even though he says statement1.

Now I feel really stupid.
Didn't you read my post? Anyways I'll just fix your script.

Quote:
#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @done
msgbox @hey 0x6
checkitemroom 0xB8 0x0
compare 0x800D 0x0
if 0x1 goto @full
giveitem 0xB8 0x1 0x0
setflag 0x200
release
end

#org @done
msgbox @func 0x6
release
end

#org @full
msgbox @fullbag 0x6
release
end

#org @hey
= Hey, you're my first visitor!\pI'm so happy.\pHere, please take this item as a\nreward.\pI don't really have any use for\nit.

#org @func
= The Soothe Bell raises a Pokémon's\nHappiness.\pSome Pokémon will even evolve when\nthey max their happiness towards\lyou.

#org @fullbag
= Too Bad!\pYour BAG is full.
This script works perfectly the problems in your script are what's with callstd? You don't really need that. Also Why have a decision script without the checkitemroom command? Oh and the third statement doesn't have a pointer.

Hope this helps... :3
__________________