• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.
19
Posts
14
Years
    • Seen Sep 7, 2010
    You are generally expected to read tutorials first, and then post a script if it has errors, then we go about helping to fix those errors. You should check out the Documents and Tutorials section before asking questions in here, or the Simple Questions thread. ^_^

    Oh ok :)
    Thanks for clearing that up.
     

    Co500

    Nostalgia Edition
    563
    Posts
    15
    Years
  • sorry another problem with a different script its just and error before compiling it says "line 7 too many parameters should be 2"
    Spoiler:
     

    Quickster

    Dream or Drop?
    351
    Posts
    16
    Years
    • Seen Apr 4, 2016
    sorry another problem with a different script its just and error before compiling it says "line 7 too many parameters should be 2"
    Spoiler:

    You dont have a pointer for your first applymovement or your second..Thats all.But apply movements should be like this.

    applymovement 0x(whatever one you move) @move1

    #org @move1
    #raw 0x(movement #)
    #raw 0x(movement #)
    #raw 0xFE(end movement)
     

    locoroco

    Ginga Densetsu Weed ANIME PWNS
    251
    Posts
    14
    Years
  • my give item script doesn't work i need help o and i modified pallet towns map and each time i get to the script were oak sais don't go out to the tall grass it freezes my game i need help with those 2 i dont know what to do heres my give item


    #dynamic 0x800000

    #org @start
    checkflag 0x1001
    if 0x1 goto @given
    msgbox @msg 0x2
    giveitem 0x18 0x5 0x0
    setflag 0x1001
    end

    #org @given
    msgbox @msg1 0x2
    end

    #org @msg
    = I hope this helps you on\nyou're journey.

    #org @msg1
    = Did those items i\ngave you help

    help me it just sends me to did those items i gave you help i dont know what to do
     

    Omega Zero

    Is back...
    444
    Posts
    14
    Years
  • my give item script doesn't work i need help o and i modified pallet towns map and each time i get to the script were oak sais don't go out to the tall grass it freezes my game i need help with those 2 i dont know what to do heres my give item


    #dynamic 0x800000

    #org @start
    checkflag 0x1001
    if 0x1 goto @given
    msgbox @msg 0x2
    giveitem 0x18 0x5 0x0
    setflag 0x1001
    end

    #org @given
    msgbox @msg1 0x2
    end

    #org @msg
    = I hope this helps you on\nyou're journey.

    #org @msg1
    = Did those items i\ngave you help

    help me it just sends me to did those items i gave you help i dont know what to do
    Zzz maybe the flag is already set?
     

    Muffin™

    Knows your age
    429
    Posts
    14
    Years
  • Can anyone help me with the PROF. OAK giving pokemon away script? It glitches when gary's waiting and he say "." "'s!" Then the thing goes to like it's a normal Pokemon game (I renamed the PROF to MAPLE, and it says OAK after that) Any help? Script is here:
    Code:
    #org 0x169595
    lock
    faceplayer
    checkflag 0x2
    if 0x1 goto 0x8169600
    compare 0x4055 0x9
    if 0x1 goto 0x8169903
    compare 0x4055 0x8
    if 0x1 goto 0x8169A6E
    checkflag 0x82C
    if 0x1 goto 0x81699CE
    compare 0x4052 0x1
    if 0x1 goto 0x8169903
    compare 0x4055 0x6
    if 0x1 goto 0x81698D6
    compare 0x4057 0x1
    if 0x4 goto 0x816961E
    compare 0x4055 0x4
    if 0x1 goto 0x8169614
    compare 0x4055 0x3
    if 0x1 goto 0x816960A
    msgbox 0x818E116 0x4 '"MAPLE: Now, [player].\pInside thos..."
    release
    end
    
    '---------------
    #org 0x169600
    msgbox 0x81A72AD 0x4 '"Thank you, [player]!\nSincerely, t..."
    release
    end
    
    '---------------
    #org 0x169903
    call 0x81A737B
    checkflag 0x2F4
    if 0x1 goto 0x8169913
    release
    end
    
    '---------------
    #org 0x169A6E
    msgbox 0x818E871 0x4 '"POKéMON around the world wait for\..."
    release
    end
    
    '---------------
    #org 0x1699CE
    call 0x81A737B
    closeonkeypress
    compare 0x8009 0x3C
    if 0x0 goto 0x81699F9
    checkflag 0x89B
    if 0x0 goto 0x81699F9
    pause 0x1E
    msgbox 0x818EDF5 0x4 '"Ah, now this is excellent!\p[playe..."
    goto 0x8169035
    
    '---------------
    #org 0x1698D6
    setvar 0x8004 0x0
    special2 0x800D 0xD4
    copyvar 0x8008 0x8005
    copyvar 0x8009 0x8006
    buffernumber 0x0 0x8008
    buffernumber 0x1 0x8009
    compare 0x8009 0x1
    if 0x1 goto 0x81699FB
    goto 0x8169903
    
    '---------------
    #org 0x16961E
    msgbox 0x818E405 0x4 '"."
    textcolor 0x3
    fanfare 0x105
    preparemsg 0x818E4AF '"[player] delivered MAPLE'S MEDS"
    waitmsg
    waitfanfare
    call 0x81A6675
    removeitem 0x15D 0x1
    msgbox 0x818E4CA 0x4 '"Ah!\nIt's the medicine for my gran..."
    playsong 0x13B 0x0
    msgbox 0x818DE8D 0x4 '"[rival]: PROF.!"
    closeonkeypress
    compare 0x800C 0x2
    if 0x1 call 0x8169A82
    compare 0x800C 0x1
    if 0x1 call 0x8169AC1
    compare 0x800C 0x4
    if 0x1 call 0x8169A9E
    compare 0x800C 0x3
    if 0x1 call 0x8169A9E
    fadedefault
    msgbox 0x818DE99 0x4 '"[rival]: What did you call me for ..."
    closeonkeypress
    pause 0x1E
    sound 0x15
    applymovement 0x4 0x81A75DB
    waitmovement 0x0
    applymovement 0x4 0x81A75DD
    waitmovement 0x0
    compare 0x800C 0x1
    if 0x1 call 0x8169ADD
    compare 0x800C 0x4
    if 0x1 call 0x8169B14
    compare 0x800C 0x3
    if 0x1 call 0x8169AF5
    compare 0x800C 0x2
    if 0x1 call 0x8169B86
    msgbox 0x818E508 0x4 '"MAPLE: Oh, right!\pI forgot!"
    closeonkeypress
    compare 0x800C 0x2
    if 0x1 call 0x8169882
    compare 0x800C 0x1
    if 0x1 call 0x816988D
    compare 0x800C 0x4
    if 0x1 call 0x81698A6
    compare 0x800C 0x3
    if 0x1 call 0x81698B8
    msgbox 0x818E536 0x4 '"On the desk there is my invention,..."
    closeonkeypress
    pause 0x28
    msgbox 0x818E5C5 0x4 '"MAPLE: [player] and [rival]\nTake ..."
    closeonkeypress
    applymovement 0x4 0x81A75E9
    waitmovement 0x0
    hidesprite 0x9
    pause 0xA
    hidesprite 0xA
    pause 0x19
    compare 0x800C 0x2
    if 0x1 call 0x8169845
    compare 0x800C 0x1
    if 0x1 call 0x8169850
    compare 0x800C 0x4
    if 0x1 call 0x816985B
    compare 0x800C 0x3
    if 0x1 call 0x816986D
    pause 0xA
    textcolor 0x3
    fanfare 0x13E
    preparemsg 0x818E5EA '"[player] received the POKéDEX!"
    waitmsg
    waitfanfare
    call 0x81A6675
    setflag 0x829
    special 0x181
    setvar 0x407C 0x1
    msgbox 0x818E612 0x4 '"MAPLE: And here are some tools for..."
    additem 0x4 0x5
    loadpointer 0x0 0x818E6B3 '"[player] received five POKé BALLS."
    giveitem2 0x4 0x5 0x101
    msgbox 0x818E6D0 0x4 '"When a wild POKéMON appears,\nit's..."
    setvar 0x8004 0x0
    setvar 0x8005 0x1
    special 0x173
    msgbox 0x818E784 0x4 '"To make a complete guide on all\nt..."
    msgbox 0x818DEC8 0x4 '"[rival]: All right then!\nLeave it..."
    compare 0x800C 0x2
    if 0x1 call 0x8169B33
    compare 0x800C 0x1
    if 0x1 call 0x8169B45
    compare 0x800C 0x4
    if 0x1 call 0x8169B57
    compare 0x800C 0x3
    if 0x1 call 0x8169B57
    msgbox 0x818DEF3 0x4 '"[player], I hate to say it, but yo..."
    closeonkeypress
    playsong 0x13C 0x0
    compare 0x800C 0x2
    if 0x1 call 0x8169B69
    compare 0x800C 0x1
    if 0x1 call 0x8169B7B
    compare 0x800C 0x4
    if 0x1 call 0x8169B7B
    compare 0x800C 0x3
    if 0x1 call 0x8169B7B
    hidesprite 0x8
    fadedefault
    setvar 0x4055 0x6
    setvar 0x4057 0x2
    setvar 0x4051 0x1
    setvar 0x4058 0x1
    setvar 0x4054 0x1
    release
    end
    
    '---------------
    #org 0x169614
    msgbox 0x818E3AD 0x4 '"."
    release
    end
    
    '---------------
    #org 0x16960A
    msgbox 0x818E330 0x4 '"MAPLE: If a wild POKéMON appears,\..."
    release
    end
    
    '---------------
    #org 0x1A737B
    setdoorclosed2 0x1FF 0xD21
    bufferitem 0x2 0x600
    nop1
    '---------------
    #org 0x169913
    closeonkeypress
    pause 0x28
    preparemsg 0x81A7291 '"Wroooooooaaaaaarrrr!"
    waitmsg
    compare 0x800C 0x2
    if 0x1 call 0x8169964
    compare 0x800C 0x1
    if 0x1 call 0x816996F
    compare 0x800C 0x4
    if 0x1 call 0x816997A
    compare 0x800C 0x3
    if 0x1 call 0x8169985
    applymovement 0x4 0x81A75E1
    waitmovement 0x0
    closeonkeypress
    pause 0x46
    msgbox 0x81A72AD 0x4 '"Thank you, [player]!\nSincerely, t..."
    setflag 0x2
    release
    end
    
    '---------------
    #org 0x1699F9
    release
    end
    
    '---------------
    #org 0x169035
    msgbox 0x818EE60 0x4 '"Recently, there have been sighting..."
    closeonkeypress
    compare 0x800C 0x2
    if 0x1 call 0x8169174
    compare 0x800C 0x1
    if 0x1 call 0x81691BB
    compare 0x800C 0x4
    if 0x1 call 0x8169194
    compare 0x800C 0x3
    if 0x1 call 0x8169194
    msgbox 0x818EF59 0x4 '"[rival]: Hey, I heard that!\pPROF...."
    fadedefault
    msgbox 0x818F004 0x4 '"MAPLE: I know, I know.\nOf course ..."
    compare 0x800C 0x2
    if 0x1 call 0x81691DB
    compare 0x800C 0x3
    if 0x1 call 0x81691E6
    textcolor 0x3
    msgbox 0x818F062 0x4 '"PROF. MAPLE took both POKéDEX\nuni..."
    closeonkeypress
    call 0x81A6675
    compare 0x800C 0x2
    if 0x1 call 0x81691F1
    compare 0x800C 0x1
    if 0x1 call 0x81691FC
    compare 0x800C 0x4
    if 0x1 call 0x8169215
    compare 0x800C 0x3
    if 0x1 call 0x8169227
    showsprite 0x9
    showsprite 0xA
    pause 0x1E
    msgbox 0x818F085 0x4 '"[.] [.] [.]  [.] [.] [.]\p[.] [.] ..."
    closeonkeypress
    hidesprite 0x9
    hidesprite 0xA
    pause 0x1E
    compare 0x800C 0x2
    if 0x1 call 0x8169845
    compare 0x800C 0x1
    if 0x1 call 0x8169850
    compare 0x800C 0x4
    if 0x1 call 0x816985B
    compare 0x800C 0x3
    if 0x1 call 0x816986D
    textcolor 0x3
    fanfare 0x13E
    preparemsg 0x818F0E8 '"[player]'s POKéDEX was upgraded!"
    waitmsg
    waitfanfare
    call 0x81A6675
    special 0x16F
    msgbox 0x818F103 0x4 '"Now, [player] and [rival]!\pThis t..."
    msgbox 0x818F1DB 0x4 '"[rival]: Calm down.\nDon't get so ..."
    closeonkeypress
    playsong 0x13C 0x0
    compare 0x800C 0x2
    if 0x1 call 0x8169B69
    compare 0x800C 0x1
    if 0x1 call 0x8169B7B
    compare 0x800C 0x4
    if 0x1 call 0x8169B7B
    compare 0x800C 0x3
    if 0x1 call 0x8169B7B
    hidesprite 0x8
    fadedefault
    setvar 0x4055 0x8
    releaseall
    end
    
    '---------------
    #org 0x1699FB
    special 0x187
    compare 0x800D 0x2
    if 0x1 goto 0x81A7AE0
    special 0x188
    checkflag 0x24F
    if 0x1 goto 0x8169A6E
    checkflag 0x247
    if 0x1 goto 0x8169A78
    checkitem 0x4 0x1
    compare 0x800D 0x0
    if 0x1 goto 0x8169A34
    goto 0x8169A6E
    
    '---------------
    #org 0x1A6675
    copyvar 0x8012 0x8013
    return
    
    '---------------
    #org 0x169A82
    movesprite2 0x8 0x5 0xA
    showsprite 0x8
    applymovement 0xFF 0x8169B94
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169AC1
    movesprite2 0x8 0x6 0xA
    showsprite 0x8
    applymovement 0x4 0x81A75ED
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169A9E
    movesprite2 0x8 0x6 0xA
    showsprite 0x8
    applymovement 0x4 0x81A75ED
    applymovement 0xFF 0x8169B91
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169ADD
    applymovement 0x4 0x81A75E1
    waitmovement 0x0
    pause 0xF
    applymovement 0x4 0x81A75ED
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B14
    applymovement 0x4 0x81A75E1
    waitmovement 0x0
    pause 0xF
    applymovement 0xFF 0x81A75EB
    applymovement 0x4 0x81A75ED
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169AF5
    applymovement 0x4 0x81A75E1
    waitmovement 0x0
    pause 0xF
    applymovement 0xFF 0x81A75E7
    applymovement 0x4 0x81A75ED
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B86
    applymovement 0xFF 0x81A75E9
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169882
    applymovement 0x4 0x81698CB
    waitmovement 0x0
    return
    
    '---------------
    #org 0x16988D
    applymovement 0x4 0x81698D0
    applymovement 0xFF 0x81698C7
    applymovement 0x8 0x81698C7
    waitmovement 0x4
    return
    
    '---------------
    #org 0x1698A6
    applymovement 0x4 0x81698CB
    applymovement 0xFF 0x81698C3
    waitmovement 0x4
    return
    
    '---------------
    #org 0x1698B8
    applymovement 0x4 0x81698CB
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169845
    applymovement 0x4 0x816987C
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169850
    applymovement 0x4 0x816987F
    waitmovement 0x0
    return
    
    '---------------
    #org 0x16985B
    applymovement 0x4 0x816987C
    applymovement 0xFF 0x8169878
    waitmovement 0x0
    return
    
    '---------------
    #org 0x16986D
    applymovement 0x4 0x816987C
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B33
    applymovement 0x8 0x81A75E1
    applymovement 0xFF 0x81A75E7
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B45
    applymovement 0x8 0x81A75E9
    applymovement 0xFF 0x81A75ED
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B57
    applymovement 0x8 0x81A75E1
    applymovement 0xFF 0x81A75ED
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B69
    applymovement 0xFF 0x8169B91
    applymovement 0x8 0x8169BA4
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169B7B
    applymovement 0x8 0x8169BA4
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169964
    applymovement 0x4 0x8169990
    waitmovement 0x0
    return
    
    '---------------
    #org 0x16996F
    applymovement 0x4 0x8169997
    waitmovement 0x0
    return
    
    '---------------
    #org 0x16997A
    applymovement 0x4 0x816999E
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169985
    applymovement 0x4 0x81699A5
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169174
    movesprite2 0x8 0x5 0xA
    showsprite 0x8
    playsong 0x13B 0x0
    applymovement 0xFF 0x8169B94
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1691BB
    movesprite2 0x8 0x6 0xA
    showsprite 0x8
    playsong 0x13B 0x0
    applymovement 0x4 0x81A75ED
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x169194
    movesprite2 0x8 0x6 0xA
    showsprite 0x8
    playsong 0x13B 0x0
    applymovement 0x4 0x81A75ED
    applymovement 0xFF 0x8169B91
    applymovement 0x8 0x8169B9D
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1691DB
    applymovement 0xFF 0x81A75E9
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1691E6
    applymovement 0xFF 0x81A75E7
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1691F1
    applymovement 0x4 0x8169232
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1691FC
    applymovement 0x4 0x8169238
    applymovement 0xFF 0x81698C7
    applymovement 0x8 0x81698C7
    waitmovement 0x4
    return
    
    '---------------
    #org 0x169215
    applymovement 0x4 0x8169232
    applymovement 0xFF 0x81698C3
    waitmovement 0x4
    return
    
    '---------------
    #org 0x169227
    applymovement 0x4 0x8169232
    waitmovement 0x0
    return
    
    '---------------
    #org 0x1A7AE0
    release
    end
    
    '---------------
    #org 0x169A78
    msgbox 0x818E98E 0x4 '"MAPLE: Come see me sometime.\pAfte..."
    release
    end
    
    '---------------
    #org 0x169A34
    compare 0x4054 0x2
    if 0x4 goto 0x8169A45
    goto 0x8169A6E
    
    '---------------
    #org 0x169A45
    msgbox 0x818E89C 0x4 '"Ah, [player]!\nHow is your POKéDEX..."
    additem 0x4 0x5
    loadpointer 0x0 0x818E6B3 '"[player] received five POKé BALLS."
    giveitem2 0x4 0x5 0x101
    setflag 0x247
    release
    end
    
    
    '---------
    ' Strings
    '---------
    #org 0x18E116
    = MAPLE: Now, [player].\pInside those three POKé BALLS are\nPOKéMON.\pWhich one will you choose?
    
    #org 0x1A72AD
    = Thank you, [player]!\nSincerely, thank you!\lYou've made my dream a reality!
    
    #org 0x18E871
    = POKéMON around the world wait for\nyou, [player]!
    
    #org 0x18EDF5
    = Ah, now this is excellent!\p[player], I have another important\nfavor to ask of you.\pI need you to listen closely.
    
    #org 0x18E405
    = .
    
    #org 0x18E4AF
    = [player] delivered MAPLE'S MEDS
    
    #org 0x18E4CA
    = Ah!\nIt's the medicine for my grandchild!\pThank you.
    
    #org 0x18DE8D
    = [rival]: PROF.!
    
    #org 0x18DE99
    = [rival]: What did you call me for again?
    
    #org 0x18E508
    = MAPLE: Oh, right!\pI forgot!
    
    #org 0x18E536
    = On the desk there is my invention,\nthe POKéDEX!\pIt automatically records data on\nPOKéMON you've seen or caught.\pIt's a high-tech encyclopedia!
    
    #org 0x18E5C5
    = MAPLE: [player] and [rival]\nTake these with you.[player] received the POKéDEX!
    
    #org 0x18E5EA
    = [player] received the POKéDEX!
    
    #org 0x18E612
    = MAPLE: And here are some tools for\ncatching wild POKéMON
    
    #org 0x18E6B3
    = [player] received five POKé BALLS.
    
    #org 0x18E6D0
    = When a wild POKéMON appears,\nit's fair game.\pJust throw a POKé BALL at it and\ntry to catch it!\pThis won't always work, however.\pA healthy POKéMON can escape.\nYou have to be lucky!
    
    #org 0x18E784
    = To make a complete guide on all\nthe POKéMON in the world[.]\pThat was my dream!\pBut, I'm too old.\nI can't get the job done.\pSo, I want you two to fulfill my\ndream for me.\pGet moving, you two.\pThis is a great undertaking in\nPOKéMON history!
    
    #org 0x18DEC8
    = [rival]: All right then!\nLeave it all to me.
    
    #org 0x18DEF3
    = [player], I hate to say it, but you\nwon't be necessary for this.\pI know! I'll borrow a TOWN MAP\nfrom my cousin!\pI'll tell her not to lend you one,\n[player]! Hahaha!\pDon't bother coming around to\nmy place after this!
    
    #org 0x18E3AD
    = .
    
    #org 0x18E330
    = MAPLE: If a wild POKéMON appears,\nyour POKéMON can battle it.\pWith it at your side, you should be\nable to reach the next town.
    
    #org 0x1A7291
    = Wroooooooaaaaaarrrr!
    
    #org 0x18EE60
    = Recently, there have been sightings\nof many rare POKéMON species.\pI'm talking about POKéMON that\nhave never been seen in KANTO.\pI would love to go see things for\nmyself, but I'm much too old.\pSince I can't do it, [player], I'd\nlike you to go in my place.
    
    #org 0x18EF59
    = [rival]: Hey, I heard that!\pPROF., what's with favoring\n[player] over me all the time?\pI went and collected more POKéMON,\nand faster, too.\pYou should just let me handle\neverything.
    
    #org 0x18F004
    = MAPLE: I know, I know.\nOf course I need your help, too.\pNow, I need to see both your\nPOKéDEXESPROF. MAPLE took both POKéDEX\nunits[.] [.] [.]  [.] [.] [.]\p[.] [.] [.]  [.] [.] [.]\p[.]And that's done!\pNow these units can record data on\na lot more POKéMON.
    
    #org 0x18F062
    = PROF. MAPLE took both POKéDEX\nunits[.] [.] [.]  [.] [.] [.]\p[.] [.] [.]  [.] [.] [.]\p[.]And that's done!\pNow these units can record data on\na lot more POKéMON.
    
    #org 0x18F085
    = [.] [.] [.]  [.] [.] [.]\p[.] [.] [.]  [.] [.] [.]\p[.]And that's done!\pNow these units can record data on\na lot more POKéMON.
    
    #org 0x18F0E8
    = [player]'s POKéDEX was upgraded!
    
    #org 0x18F103
    = Now, [player] and [rival]!\pThis time, you really must work\ntowards filling your POKéDEXES.\pI urge you to make them the best\nand the most complete of all time!\pTruly, this is a monumentally great\nundertaking in POKéMON history!
    
    #org 0x18F1DB
    = [rival]: Calm down.\nDon't get so excited.\pI'll get the POKéDEX completed,\ndon't you worry about a thing.\pI think I'll try looking around\nONE ISLAND first[.]\pAnyways, I'm outta here!
    
    #org 0x18E98E
    = MAPLE: Come see me sometime.\pAfter all, I want to know how your\nPOKéDEX is coming along.
    
    #org 0x18E89C
    = Ah, [player]!\nHow is your POKéDEX shaping up?\p[rival] has already caught some\nPOKéMON and added to the data.\pSo, [player], let's have a look at\nyour POKéDEX.\p[.]What's the matter?\nYou've added no new data at all.\pI'll give you these, so do try a\nlittle harder.
    
    
    '-----------
    ' Movements
    '-----------
    #org 0x1A75DB
    #raw 0x62 'Exclamation Mark (!)
    #raw 0xFE 'End of Movements
    
    #org 0x1A75DD
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0xFE 'End of Movements
    
    #org 0x1A75E9
    #raw 0x2E 'Face Up (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1A75E1
    #raw 0x4A 'Face Player
    #raw 0xFE 'End of Movements
    
    #org 0x169B94
    #raw 0x2D 'Face Down (Delayed)
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0x1C 'Delay5
    #raw 0x1B 'Delay4
    #raw 0x2F 'Face Left (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x169B9D
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0xFE 'End of Movements
    
    #org 0x1A75ED
    #raw 0x2D 'Face Down (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x169B91
    #raw 0x1A 'Delay3
    #raw 0x2D 'Face Down (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1A75EB
    #raw 0x30 'Face Right (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1A75E7
    #raw 0x2F 'Face Left (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1698CB
    #raw 0x11 'Step Up (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x1C 'Delay5
    #raw 0x2D 'Face Down (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1698D0
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x1C 'Delay5
    #raw 0x30 'Face Right (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1698C7
    #raw 0x1C 'Delay5
    #raw 0x1B 'Delay4
    #raw 0x2F 'Face Left (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x1698C3
    #raw 0x1C 'Delay5
    #raw 0x1B 'Delay4
    #raw 0x2E 'Face Up (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x16987C
    #raw 0x13 'Step Right (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0xFE 'End of Movements
    
    #org 0x16987F
    #raw 0x10 'Step Down (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0xFE 'End of Movements
    
    #org 0x169878
    #raw 0x1C 'Delay5
    #raw 0x1B 'Delay4
    #raw 0x30 'Face Right (Delayed)
    #raw 0xFE 'End of Movements
    
    #org 0x169BA4
    #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 0xFE 'End of Movements
    
    #org 0x169990
    #raw 0x25 'Step on the Spot Down (Faster)
    #raw 0x29 'Step on the Spot Down (Fastest)
    #raw 0x25 'Step on the Spot Down (Faster)
    #raw 0x25 'Step on the Spot Down (Faster)
    #raw 0x29 'Step on the Spot Down (Fastest)
    #raw 0x25 'Step on the Spot Down (Faster)
    #raw 0xFE 'End of Movements
    
    #org 0x169997
    #raw 0x26 'Step on the Spot Up (Faster)
    #raw 0x2A 'Step on the Spot Up (Fastest)
    #raw 0x26 'Step on the Spot Up (Faster)
    #raw 0x26 'Step on the Spot Up (Faster)
    #raw 0x2A 'Step on the Spot Up (Fastest)
    #raw 0x26 'Step on the Spot Up (Faster)
    #raw 0xFE 'End of Movements
    
    #org 0x16999E
    #raw 0x27 'Step on the Spot Left (Faster)
    #raw 0x2B 'Step on the Spot Left (Fastest)
    #raw 0x27 'Step on the Spot Left (Faster)
    #raw 0x27 'Step on the Spot Left (Faster)
    #raw 0x2B 'Step on the Spot Left (Fastest)
    #raw 0x27 'Step on the Spot Left (Faster)
    #raw 0xFE 'End of Movements
    
    #org 0x1699A5
    #raw 0x28 'Step on the Spot Right (Faster)
    #raw 0x2C 'Step on the Spot Right (Fastest)
    #raw 0x28 'Step on the Spot Right (Faster)
    #raw 0x28 'Step on the Spot Right (Faster)
    #raw 0x2C 'Step on the Spot Right (Fastest)
    #raw 0x28 'Step on the Spot Right (Faster)
    #raw 0xFE 'End of Movements
    
    #org 0x169232
    #raw 0x11 'Step Up (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x2E 'Face Up (Delayed)
    #raw 0x1C 'Delay5
    #raw 0x1A 'Delay3
    #raw 0xFE 'End of Movements
    
    #org 0x169238
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x1C 'Delay5
    #raw 0x1A 'Delay3
    #raw 0xFE 'End of Movements
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    my give item script doesn't work i need help o and i modified pallet towns map and each time i get to the script were oak sais don't go out to the tall grass it freezes my game i need help with those 2 i dont know what to do heres my give item

    Spoiler:
    Use Spoilers for scripts.
    A couple of issues. First, your giveitem needs to be layed out like this:
    giveitem-item#-quantity-MSG_OBTAIN
    ...I'm not too sure about boxset 2 for this either, I always use 6. But then, I haven't read up on those lately so I don't know if 2 works or not.
    Also, make a grammary check :P.
    Changes in bold.

    Now, @Septile, I had a similar problem with one of my earliest hacking attempts, and my issue seemed to stem from the fact that I was trying to edit the script, recompile it, and then use it in-game. Recompiling doesn't usually work out, so I recommend you get a clean rom and insert the script normally this time.

    ...rofl, I just realized that I wrote "grammary" to lecture someone on grammar. Nice. :P
     
    Last edited:

    Buizark

    Always looking for an OU match
    72
    Posts
    14
    Years
    • Seen Aug 5, 2016
    Anyone know whats wrong with the script?
    Whenever I try to use it ingame the screen starts flashing pink

    Spoiler:
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    Anyone know whats wrong with the script?
    Whenever I try to use it ingame the screen starts flashing pink

    Spoiler:
    Okay, so the problem here is that you've combined your text strings with additional commands. I've put one example of this in bold. I'm going to rewrite your script below, showing you how to lay out your commands and strings.
    ...I wanted Umbreon...*sniffle*
    Spoiler:

    So basically, you want to set your scripts up like this:

    -offset

    -primary body

    -secondary bodies, as many as you need

    -strings (talking, applymovements)

    Hope that helped!

    Now, anyone have a list of the offsets for all the animation movements? If not, I'll start building one, but basically I'm looking for the Cut animation, Rock Smash, etcetera, as well as any of the "Special 0x??" commands that you happen to know. The only list I've found is incomplete.
     
    535
    Posts
    15
    Years
    • Seen Jan 4, 2011
    This is my first attempt at a movement script. In the first town there will be a Pokemon Center, and I don't want anyone to enter until I get a Pokemon, and I'm wondering if I did it right.

    Game: Firered
    Type: Movement
    Editor: XSE
    Script:
    Spoiler:
     

    Quickster

    Dream or Drop?
    351
    Posts
    16
    Years
    • Seen Apr 4, 2016
    This is my first attempt at a movement script. In the first town there will be a Pokemon Center, and I don't want anyone to enter until I get a Pokemon, and I'm wondering if I did it right.

    Game: Firered
    Type: Movement
    Editor: XSE
    Script:
    Spoiler:

    Spoiler:


    I see only a couple mistakes and since its in bold the corrections will be underlined. And if you want to check for a pokemon it would be easier to checkflag 0x828 ( the pokemon menu.)
    Theres a variation in my spoiler. Also in your first script you wouldnt want to set the flag because as soon as your done with the script youd be able to walk in the pokecenter.
     
    535
    Posts
    15
    Years
    • Seen Jan 4, 2011
    Spoiler:


    I see only a couple mistakes and since its in bold the corrections will be underlined. And if you want to check for a pokemon it would be easier to checkflag 0x828 ( the pokemon menu.)
    Theres a variation in my spoiler. Also in your first script you wouldnt want to set the flag because as soon as your done with the script youd be able to walk in the pokecenter.

    After trying to submit this revised verison XSE said, "Too less parameters on line 7. The correct number is 2." Line seven is the one that has, "msgbox @talk" Can you help me with this.
     
    5,256
    Posts
    16
    Years
  • After trying to submit this revised verison XSE said, "Too less parameters on line 7. The correct number is 2." Line seven is the one that has, "msgbox @talk" Can you help me with this.

    After @talk you need to put 0x6 if it's just a normal message, 0x5 if it's a yes/no box, 0x4 if the player shouldn't be allowed to close the textbox unless a closeonkeypress command is in place, etc.

    There's your problem.
     
    Last edited:

    HackMew

    Mewtwo Strikes Back
    1,314
    Posts
    17
    Years
    • Seen Oct 26, 2011
    After @talk you need to put 0x6 if it's just a normal message, 0x5 if it's a yes/no box, 0x4 if the player shouldn't be allowed to close the textbox unless a closeonkeypress command is in place, etc.

    There's you problem.

    Yep. Also, remove that callstd command because it's useless.
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    Yep. Also, remove that callstd command because it's useless.
    Just for the record, I idolize you :S

    Anyhoo, is there an ASM command to change the hero's OW sprite? Just curious. Oh, and if I want an event to take place immediately when the game starts, I just put it as a level script on the start map right? Do I need to do anything special for that?
     

    HackMew

    Mewtwo Strikes Back
    1,314
    Posts
    17
    Years
    • Seen Oct 26, 2011
    Just for the record, I idolize you :S

    Anyhoo, is there an ASM command to change the hero's OW sprite? Just curious. Oh, and if I want an event to take place immediately when the game starts, I just put it as a level script on the start map right? Do I need to do anything special for that?

    Well, thanks xD

    I've planned already a player OW changing tutorial using ASM, just be patient. I know there's the FR hacked engine, but if you just need that, it would be an overkill.
    If you want an event to start immediately, a level script on the start map will do.
     
    535
    Posts
    15
    Years
    • Seen Jan 4, 2011
    After @talk you need to put 0x6 if it's just a normal message, 0x5 if it's a yes/no box, 0x4 if the player shouldn't be allowed to close the textbox unless a closeonkeypress command is in place, etc.

    There's you problem.

    Yep. Also, remove that callstd command because it's useless.

    Okay, so this is what my script should look like? I'm sorry for being a burden, but this is my first time I try to make any script that is somewhat more complex, and (no offense) but Hack Mew's guide doesn't include this.

    Spoiler:
     
    Last edited:

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    Well, thanks xD

    I've planned already a player OW changing tutorial using ASM, just be patient. I know there's the FR hacked engine, but if you just need that, it would be an overkill.
    If you want an event to start immediately, a level script on the start map will do.
    Awesome, thanks! I look forward to seeing that routine too.

    @Raichu
    Your script looks fine, though I usually prefer to put my locks before the checkflag (if you don't, there's no need for the release in your @nothing pointer). It should be noted that you don't need to make the player look down to have him step down (he'll face down normally during the stepdown command).
    Oh, and I think lock should be lockall, and release, releaseall.

    ...and I seem to be having problems with that levelscript I mentioned earlier. Here it is:
    Spoiler:

    The problem is that it won't activate. Nothing special happens when the game starts. Again, this level script is on the start map where the player first appears. My strings all seem to be in order, so I'm just posting the body for now.
     
    Last edited:

    HackMew

    Mewtwo Strikes Back
    1,314
    Posts
    17
    Years
    • Seen Oct 26, 2011
    The problem is that it won't activate. Nothing special happens when the game starts. Again, this level script is on the start map where the player first appears. My strings all seem to be in order, so I'm just posting the body for now.

    Would you mind posting the full level script?
     
    Status
    Not open for further replies.
    Back
    Top