View Single Post
  #5987    
Old August 4th, 2011 (6:42 PM).
HACKERXIDE's Avatar
HACKERXIDE HACKERXIDE is offline
     
    Join Date: Mar 2010
    Location: Pallet Town
    Gender: Male
    Nature: Calm
    Posts: 20
    ok i fixed my script, and now when i step on the script tile, my player gets the exclamation mark and faces down like i want, but the game freezes after that, so the applymovement for the other sprite, aka the one that is supposed to battle me does not move towards me. Is there any scripting to be done for the sprite itself?

    Spoiler:
    #Dynamic 0x71A3B0

    #ORG @Main
    Lockall
    showsprite 0x3
    applymovement 0xFF @move
    waitmovement 0x0
    applymovement 0x3 @move1
    waitmovement 0x0
    trainerbattle 0x0 0x001 0x0 @before @defeat
    Message @test
    Boxset 0x6
    hidesprite 0x3
    setvar 0x4099 0x1
    releaseall
    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 @before
    = hey lets battle!

    #org @defeat
    = You taught me!

    #org @test
    = Well I have to go!
    __________________