View Single Post
  #5989    
Old August 4th, 2011 (7:58 PM).
HACKERXIDE's Avatar
HACKERXIDE HACKERXIDE is offline
     
    Join Date: Mar 2010
    Location: Pallet Town
    Gender: Male
    Nature: Calm
    Posts: 20

    Quote:
    Originally Posted by hinkage View Post
    You reference @move1 but the org is @move2.

    That's all I've got. It looks fine besides that, the @move1 you reference must be blank data, since you never defined it.

    Ok yea i saw that and fixed it since my last post, but im glad to say i now got the script to work where the trainer comes to me when i step on the script tile, he battles me but after he is supposed to say a line and walk away. He does not say anything and is just facing me, can't talk to him, only can walk away and back onto the script tile then he says see ya later and walks away..

    Is there anyway to fix this new problem....im almost there!

    My new script!
    Spoiler:

    #Dynamic 0x71A3B0

    #ORG @Main
    Lockall
    showsprite 0x3
    applymovement 0xFF @move
    waitmovement 0x0
    applymovement 0x3 @move2
    waitmovement 0x0
    trainerbattle 0x0 0x001 0x0 @before @defeat
    checkflag 0x1008
    if 0x1 goto @Main2
    setflag 0x1008
    releaseall
    end

    #Org @Main2
    lock
    faceplayer
    Message @test
    Boxset 0x2
    applymovement 0x3 @move3
    waitmovement 0x0
    hidesprite 0x3
    setvar 0x4099 0x1
    release
    end

    #org @move
    #raw 0x62
    #raw 0x0
    #raw 0xFE

    #org @move2
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1F
    #raw 0x1
    #raw 0x1E
    #raw 0xFE

    #org @move3
    #raw 0x20
    #raw 0x20
    #raw 0x20
    #raw 0xFE

    #org @before
    = hey lets battle!

    #org @defeat
    = You taught me!

    #org @test
    = Well I have to go!


    __________________