if B_true goto $done
applymovement 0x8 $walktoplayer
givepokemon 0x6 35 1
$walktoplayer 1 ; #binary 0x0A 0xFE
$text 1= Hey before u go take this.
I am not to sure but I think you need to add a #org $done "script" at the end as you told the script to goto $done after the checkflag