Thread: [Tutorial] Hack Tutorials: Scripting
View Single Post
  #192    
Old November 13th, 2008 (9:49 PM).
CW-Regret CW-Regret is offline
     
    Join Date: Jan 2008
    Location: San Diego, California
    Gender: Male
    Nature: Adamant
    Posts: 14
    Im Having Scripting issues i did everything in xse and yes i know some stuff different in that. but i want it to be this. B4 Compile.
    reason for random letters was to make sure the pointer wasnt taken.

    #Dynamic 0x71D575

    #org @gafvjjkabvkjzdb
    checkflag 0x899
    if B_True goto @done
    playsong 0x13B 0x0
    #raw 0x33
    applymovement 0x01 @profmove
    pause 0x260
    message @proftalk
    boxset 6
    applymovement 0x01 @profmove2
    applymovement 0xFF @profmove2
    message @pokemonontable
    pause 0x220
    fadesong 0x0
    setflag 0x899
    release
    end

    #org @done
    release
    end

    #org @profmove
    #binary 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0xFe

    #org @proftalk
    = Hey \v\ho1. You Can't Leave.\n You don't have a pokemon.\pCome to my lab with me.

    #org @profmove2
    #binary 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE

    #org @pokemonontable
    = Now go choose a pokemon on the table
    Not sure if that is exactly right because I'm new to scripting.

    but i keep getting this after compiling from that

    '-----------------------
    #org 0x71D6E9
    checkflag 0x899
    if 0x1 goto 0x871D729
    playsong 0x13B 0x0
    playsong 0x14F 0x0
    cmd2C 0x71D7 0x2808
    checktrainerflag 0xF02
    nop
    countpokemon

    '-----------------------
    #org 0x71D729
    release

    can someone walk me through on how to fix this issue please?