View Single Post
  #53    
Old December 24th, 2008 (1:11 AM). Edited December 26th, 2008 by Ninja Caterpie.
Ninja Caterpie's Avatar
Ninja Caterpie Ninja Caterpie is offline
Sitting by the back window
     
    Join Date: Mar 2008
    Location: Best City OCE
    Age: 21
    Gender: Male
    Nature: Bold
    Posts: 5,945
    Quote:
    Originally Posted by Ninja Caterpie View Post
    Having trouble with a rather troublesome script.

    Script type: Person Script
    ROM:FR
    Script Editor:XSE
    Spoiler:
    '---------------
    #org 0x2E6168
    msgbox 0x82E6025 MSG_NORMAL '"It's a Spearow[.]\pCould it be tha..."
    applymovement MOVE_PLAYER 0x82E60A6
    waitmovement 0x0
    applymovement 0x12 0x82E60AE
    waitmovement 0x0
    applymovement MOVE_PLAYER 0x82E60B4
    applymovement 0x12 0x82E60D4
    waitmovement 0x0
    applymovement 0x1 0x82E60F4
    applymovement MOVE_PLAYER 0x82E60FC
    waitmovement 0x0
    msgbox 0x82E6100 MSG_NORMAL '"Thank you!\pI[.]How can I pay you ..."
    loadpointer 0x0 0x819F8C0 '"[player] received HM02\nfrom the b..."
    giveitem2 0x154 0x1 0x101
    msgbox 0x819F8E0 MSG_KEEPOPEN '"HM02 is FLY.\nIt's a wonderfully c..."
    closeonkeypress
    msgbox 0x82E6146 MSG_NORMAL '"Thanks again!\pGoodbye!"
    hidesprite 0x12
    applymovement 0x15 0x82E615F
    hidesprite 0x1
    setflag 0x1001
    end


    '---------
    ' Strings
    '---------
    #org 0x2E6025
    = It's a Spearow[.]\pCould it be that trainer's?\p[.]\pHere, birdy...

    #org 0x2E6100
    = Thank you!\pI[.]How can I pay you back[.]?\pI know! Take this HM!

    #org 0x19F8C0
    = [player] received HM02\nfrom the boy.

    #org 0x19F8E0
    = HM02 is FLY.\nIt's a wonderfully convenient move.\pPlease, put it to good use.

    #org 0x2E6146
    = Thanks again!\pGoodbye!


    '-----------
    ' Movements
    '-----------
    #org 0x2E60A6
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 2E 'Face Up (Delayed)
    #raw 64 'Cross (X)
    #raw 53 'Jump in Place (Facing Up)
    #raw FE 'End of Movements

    #org 0x2E60AE
    #raw 62 'Exclamation Mark (!)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw FE 'End of Movements

    #org 0x2E60B4
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 20 'Step Right (Fast)
    #raw FE 'End of Movements

    #org 0x2E60D4
    #raw 10 'Step Down (Normal)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw FE 'End of Movements

    #org 0x2E60F4
    #raw 62 'Exclamation Mark (!)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 1C 'Delay5
    #raw 1C 'Delay5
    #raw 0 'Face Down
    #raw FE 'End of Movements

    #org 0x2E60FC
    #raw 10 'Step Down (Normal)
    #raw 1 'Face Up
    #raw FE 'End of Movements

    #org 0x2E615F
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw FE 'End of Movements

    When I talk to it, the message appears and I move, but the Spearow doesn't, :\ Then the boy talks but doesn't move. He then just disappears.
    Help meh!

    And another one:
    Script type: Trigger script
    ROM: FR
    Script Editor: XSE

    Spoiler:
    '---------------
    #org 0x2E63E2
    checkflag 0x1002
    if 0x1 goto 0x82E64B0
    setflag 0x1002
    lockall
    applymovement MOVE_PLAYER 0x82E64B2
    waitmovement 0x0
    special 0x113
    applymovement MOVE_CAMERA 0x82E64B8
    waitmovement 0x0
    msgbox 0x82FC750 MSG_NORMAL '"Come on!\pHow long does it take yo..."
    applymovement 0x14 0x82FC793
    applymovement 0x16 0x82FC797
    waitmovement 0x0
    msgbox 0x82FC79D MSG_NORMAL '"Okay, all done sir!\p???: Hurry up..."
    applymovement 0x15 0x82FC7E3
    applymovement 0x14 0x82FC7FB
    applymovement 0x16 0x82FC813
    applymovement MOVE_CAMERA 0x82FC82B
    applymovement MOVE_PLAYER 0x82FC844
    waitmovement 0x0
    msgbox 0x82FC85C MSG_NORMAL '"???: What is it?\pHENCHMAN: I thin..."
    applymovement 0x14 0x82FC8C7
    applymovement 0x15 0x82FC8CF
    applymovement 0x16 0x82FC8CF
    applymovement MOVE_CAMERA 0x82FC8D5
    applymovement MOVE_PLAYER 0x82FC8DE
    waitmovement 0x0
    trainerbattle 0x1 0x1 0x0 0x82FC8E4 0x82FC9E3 0x82E648F
    end

    '---------------
    #org 0x2E64B0
    end

    '---------------
    #org 0x2E648F
    msgbox 0x82FC943 MSG_NORMAL '"What?!\pI lost to a kid?\pI'm gonn..."
    applymovement 0x14 0x82FC9ED
    waitmovement 0x0
    special 0x114
    releaseall
    hidesprite 0x14
    hidesprite 0x15
    hidesprite 0x16
    end


    '---------
    ' Strings
    '---------
    #org 0x2FC750
    = Come on!\pHow long does it take you buffoons\nto pick some herbs?!

    #org 0x2FC79D
    = Okay, all done sir!\p???: Hurry up then! We don't want\nto be caught!

    #org 0x2FC85C
    = ???: What is it?\pHENCHMAN: I think I saw somebody,\nsir!\p???: Then pass me the berries. You\ntake him out!

    #org 0x2FC8E4
    = Ah! I gotcha now, kiddo!\pOh, you think you're tough with\nyour Pokémon?\pI'll prove you wrong!

    #org 0x2FC9E3
    = Waaah?!

    #org 0x2FC943
    = What?!\pI lost to a kid?\pI'm gonna bash you to...ah...your\nPokémon looks angry...\pBOSS: Forget it! Just run!\pHENCHMAN: Yessir!\pYou! I'll get you another time!


    '-----------
    ' Movements
    '-----------
    #org 0x2E64B2
    #raw C 'Step Down (Slow)
    #raw E 'Step Left (Slow)
    #raw E 'Step Left (Slow)
    #raw 0 'Face Down
    #raw FE 'End of Movements

    #org 0x2E64B8
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw 10 'Step Down (Normal)
    #raw FE 'End of Movements

    #org 0x2FC793
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw FE 'End of Movements

    #org 0x2FC797
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw FE 'End of Movements

    #org 0x2FC7E3
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 17 'Jump2 Right
    #raw 13 'Step Right (Normal)
    #raw 2 'Face Left
    #raw 63 'Question Mark (?)
    #raw FE 'End of Movements

    #org 0x2FC7FB
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 17 'Jump2 Right
    #raw 11 'Step Up (Normal)
    #raw 62 'Exclamation Mark (!)
    #raw FE 'End of Movements

    #org 0x2FC813
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 17 'Jump2 Right
    #raw 1 'Face Up
    #raw 63 'Question Mark (?)
    #raw FE 'End of Movements

    #org 0x2FC82B
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 1C 'Delay5
    #raw 11 'Step Up (Normal)
    #raw FE 'End of Movements

    #org 0x2FC844
    #raw 62 'Exclamation Mark (!)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 11 'Step Up (Normal)
    #raw 11 'Step Up (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 10 'Step Down (Normal)
    #raw 13 'Step Right (Normal)
    #raw 13 'Step Right (Normal)
    #raw 0 'Face Down
    #raw FE 'End of Movements

    #org 0x2FC8C7
    #raw 1E 'Step Up (Fast)
    #raw 1E 'Step Up (Fast)
    #raw 1E 'Step Up (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw FE 'End of Movements

    #org 0x2FC8CF
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw FE 'End of Movements

    #org 0x2FC8D5
    #raw 1E 'Step Up (Fast)
    #raw 1E 'Step Up (Fast)
    #raw 1E 'Step Up (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw 1F 'Step Left (Fast)
    #raw FE 'End of Movements

    #org 0x2FC8DE
    #raw 65 'Double Exclamation Mark (!!)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 3 'Face Right
    #raw FE 'End of Movements

    #org 0x2FC9ED
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 1D 'Step Down (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw 20 'Step Right (Fast)
    #raw FE 'End of Movements

    I move and the camera moves, but nothing else.

    I need help on these BADLY! My beta is due tomorrow and these are the final scripts I need!

    [/SOLVED!]
    __________________
    Brony represent.