I'm trying to write a script in which a man will say "statement 1", give an item (in this case a Soothe Bell), and say "statement 2", but I followed the tutorials and got this. The man just straight off gives the Soothe Bell without saying Stmt 1 directly before and Stmt 2 directly after (though he does say Stmt 2 if you talk to him again).
if 0x1 goto @nomore
msgbox @talk1 0x6
giveitem 0xB8 0x1 0x0
msgbox @talk2 0x6
= Hey, you're my first visitor! I'm\nso happy. Here, please take this\litem as a reward. I don't really\lhave any use for it.
= The Soothe Bell raises a pokemon's\nhappiness. Some pokemon will even\levolve when they max their\lhappiness towards you.
Please help out if you can find any errors. I'm a total noob at this.