View Single Post
  #1469    
Old June 20th, 2009 (6:43 PM).
liuyanghejerry's Avatar
liuyanghejerry liuyanghejerry is offline
     
    Join Date: Jan 2008
    Location: China,Xi'an
    Nature: Calm
    Posts: 219
    Quote:
    Originally Posted by Spherical Ice View Post
    Script Type: Trainerbattle, Applymovement, Giveitem
    Script:
    Spoiler:
    '---------------
    #org 0x8041A8
    lock
    checkflag 0x835
    if 0x1 goto 0x880468D
    msgbox 0x880426B MSG_NORMAL '"[green_fr]???: Hey! You! Wait up!"
    applymovement 0xFE 0x880464B
    waitmovement 0x0
    showsprite 0x1
    applymovement 0x1 0x880464E
    waitmovement 0x0
    trainerbattle 0x0 0x1 0x0 0x8804293 0x88043A8
    applymovement 0x1 0x8804659
    waitmovement 0x0
    msgbox 0x88043C9 MSG_NORMAL '"[green_fr]CLOVIS: You're good...\n..."
    applymovement 0x1 0x880465C
    waitmovement 0x0
    hidesprite 0x1
    showsprite 0x0
    applymovement 0x0 0x8804669
    waitmovement 0x0
    checkgender
    if 0x0 goto 0x8804404
    if 0x1 goto 0x88044DD
    applymovement 0xFE 0x8804676
    waitmovement 0x0
    msgbox 0x88045B6 MSG_NORMAL '"[blue_fr][rival]: Goodbye!"
    applymovement 0x0 0x880467D
    waitmovement 0x0
    hidesprite 0x0
    msgbox 0x88045C8 MSG_NORMAL '"[black_fr][player] opened the pack..."
    giveitem 0x4 0x5 MSG_OBTAIN
    giveitem 0xD 0xA MSG_OBTAIN
    setflag 0x82F
    setflag 0x829
    msgbox 0x88045E6 MSG_NORMAL '"[black_fr][player] received a pair..."
    setflag 0x835
    release
    end

    '---------------
    #org 0x80468D
    release
    end

    '---------------
    #org 0x804404
    '---------------
    #org 0x8044DD

    '---------
    ' Strings
    '---------
    #org 0x80426B
    = [green_fr]???: Hey! You! Wait up!

    #org 0x804293
    = [green_fr]CLOVIS: Hi. My name is Clovis. I saw\nyou come\nout from the Copihue Woodlands\pearlier.\pYou're from Camp Copihue, aren't\nyou?\pMy grandad taught the Scout Master\neverything that he knows.\pWell, lemme see how well the Scout\nMaster's taught you in the\part of Pokémon Battling!

    #org 0x8043A8
    = Wow... He's taught you well...

    #org 0x8043C9
    = [green_fr]CLOVIS: You're good...\nVery good indeed...

    #org 0x8045B6
    = [blue_fr][rival]: Goodbye!

    #org 0x8045C8
    = [black_fr][player] opened the package...

    #org 0x8045E6
    = [black_fr][player] received a pair\nof Running Shoes!\p[player] received a Pokémon\nEncyclopedia - the renowned Pokédex!


    '-----------
    ' Movements
    '-----------
    #org 0x80464B
    #raw 0x62 'Exclamation Mark (!)
    #raw 0xFE 'End of Movements

    #org 0x80464E
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xFE 'End of Movements

    #org 0x804659
    #raw 0x1 'Face Up
    #raw 0x62 'Exclamation Mark (!)
    #raw 0xFE 'End of Movements

    #org 0x80465C
    #raw 0x1 'Face Up
    #raw 0x9 'Step Up (Very Slow)
    #raw 0x0 'Face Down
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0x1E 'Step Up (Fast)
    #raw 0xFE 'End of Movements

    #org 0x804669
    #raw 0xA 'Step Left (Very Slow)
    #raw 0x0 'Face Down
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xC 'Step Down (Slow)
    #raw 0xFE 'End of Movements

    #org 0x804676
    #raw 0x0 'Face Down
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x3 'Face Right
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements

    #org 0x80467D
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x2 'Face Left
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x0 'Face Down
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements

    Program: XSE
    ROM: FireRed

    What's meant to happen:
    Walk on script tile.
    Player's locked. Check if the flag is set. If it is, end the script.
    Text.
    Player has exclamation mark above head. Faces Up.
    Person No. 0 approaches player.
    Text.
    Person No. 0 battles player.
    If player wins, text a is shown, if they lose, text b is shown
    Person No. 0 walks off screen.
    Person No. 1 approaches player.
    Person No. 1 talks.
    Gives 5 Pokéballs, 10 Potions, Pokedex and Running Shoes.
    Person No. 1 talks again.
    Player moves.
    Player No. 1 walks off screen.
    Set the flag.
    Release player.
    End script.

    What Actually Happens:
    Walk on script tile.
    Player's locked. Check if the flag is set. If it is, end the script.
    Text.
    Person No. 0 approaches player.
    Text.
    Person No. 0 battles player.
    I begin playing as Person No. 0, not the player.
    Glitched tiles appear, OWs mess up.

    Please Help!
    What in my memory is that there shouldn't be a "lock" when you want an OW move.
    Delete "lock" and try again.
    __________________
    Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D