Thread: [Tutorial] Hack Tutorials: Scripting
View Single Post
  #34    
Old July 17th, 2007 (2:44 PM).
jack276 jack276 is offline
     
    Join Date: May 2007
    Gender:
    Nature: Adamant
    Posts: 36

    Quote:
    Originally Posted by sumin90210 View Post
    this is what my script looks like. Is this right?

    org $go
    checkflag 0x200
    if B_true goto $done
    applymovement 0x8 $walktoplayer
    pause 0x1
    message $text
    boxset 6
    givepokemon 0x6 35 1
    setflag 0x200
    release
    end

    $walktoplayer 1 ; #binary 0x0A 0xFE

    #org $text
    $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

    __________________