• 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.

PKSV FULLL!!!

1
Posts
11
Years
    • Seen Apr 9, 2013
    FIRST OFF CAN ANY BODY HELP ME WITH LEVEL SCRIPTING??

    1)person talking
    #dyn 0x740000 (generates Free space)
    #org @main (IMPORTENT!! need it to run the script)
    lock (now you can move around while talking)
    faceplayer (the person will face you)
    msgbox or message @text (,talk,*what ever you want (NO SPACES!!!!)*
    callstd MSG_NORMAL [,NOCLOSE,FIND,ITEMS,ect.. (this is the class)]
    release (the person releases you)
    end (end the script)

    #org @.......... (this links with the msgbox @........)
    = Hi, My name is\n G3Z0DV1N3
    Note:
    - \n = new line
    - \p = the little red arrow
    -\l = new box


    2)Find Item
    #dyn 0x740000
    #org @start (rather use this not your own)
    copyvarifnotzero 0x8000 MASTERBALL (you need the copyvarifnotzero and 0x8000)(masterball is the item)
    copyvarifnotzero 0x8001(the 0x8000 change to 80001 in the amout you want) 1(this is the amount you want)
    callstd MSG_FIND (this class is to find something)
    end (don't need release)

    3)A person gives you a item
    #dyn 0x740000
    #org @main
    lock
    faceplayer
    checkflag 0x268 (random number between 200 - 600)
    if == jump @alreadygave (this wil jump to a message telling you,you already got a item)
    message @talk
    callstd MSG_YESNO (this is a class asking a yes no question)
    compare LASTRESULT YES (if you clicked yes it jumps to yes text)
    if == jump @yes
    jump @no (if you clicked no it will skip the yes text and goto @no)

    #org @yes (when you said yes it jumped to this and it will generate a item you want)
    message @give
    callstd MSG_NORMAL
    additem POKEBALL(item) 1(amount)
    setflag 0x268
    release
    end

    #org @no
    message @keep
    callstd MSG_NORMAL
    release
    end

    #org @alreadygave
    message @goaway
    callstd MSG_NORMAL
    release
    end

    #org @talk
    = Want a Pokeball?

    #org @goaway
    = I already gave you one.

    #org @give
    = Okay.

    #org @keep
    = Fine, don't take it.

    4) Give a pokemon ((((((this is not a YESNO!!)))))
    #dyn 0x740000
    #org @start
    lock
    checkflag 0x265 (remember to change to persons event's ID to the flag number!)
    if 0x1 jump :end (if you already got a pokemon it ends)
    setflag FR_POKEMON
    countpokemon (this counts how many pokemon you have in your party!)
    compare LASTRESULT 6 (i f you have 6 it gos to no room !)
    if == jump @noroom
    addpokemon BLAZIKEN(pokemon) 0x5(level) LUCKYEGG(item it holds) 0 0 0(unknown)
    setflag 0x265
    storepokemon 0 BLAZIKEN (this stores the pokemon)
    message @get-msg
    fanfare 0x101 (this is the sound you get when picking up a item something like (toeding!))
    showmsg
    waitfanfare
    waitbutton
    :end (ends the script)
    disappear 0x1(this is the person event's no. like when you create a new event and you already have 2 on the map it will be 3)
    release
    end

    #org @noroom
    msgbox @noroom-msg
    callstd MSG_NOCLOSE
    release
    end

    #org @noroom-msg
    = You don't have enough room in your party.

    #org @get-msg
    = You got a \v\h02!

    NOTE:
    - \v\h01 PLAYER NAME
    -\v\h02 POKEMON NAME
    -\v\h06 RIVAL NAME

    5)road closed [this is alittle ou of my knowlegde]
    #dyn 0x740000
    #org @start
    lockall
    checkflag 0x233(change the persons ID to 233)
    if 0x1 jump @open
    message @text
    showmsg
    waitbutton
    releaseall
    end

    #org @text
    = I'm sorry, the road is closed\nuntil further notice.

    #org @open
    message @opentxt
    showmsg
    waitbutton
    fadescreen 3
    closemsg
    disappear 0x10(person evnt no.)
    setflag 0x233
    fadescreen 2
    releaseall
    end
    #org @opentxt
    = I'm sorry, th-\pOh right!\nThe construction just finished\lyesterday[.]

    NOTE:
    proffesional scripters or good scripters help me with this and level scripts!


    6)Heal pokèmon like when your mom says you must rest
    #dyn 0x740000
    #org @
    lockall
    message @healmsg
    showmsg
    waitbutton
    fadescreen 1 (you can also say fadescreen fadeout_black)
    closemsg
    special 0(just a special always put this in!)
    fadescreen 0 (you can also say fadescreen fadein_balck)
    msgbox @bettermsg
    callstd MSG_NORMAL
    releaseall
    end

    #org @healmsg
    = Your POKéMON look tired[.]\nYou should give them a rest.

    #org @bettermsg
    = There. All better now!

    Notice:
    if you fadescreen 1 or fadescreen fadeout_black you MUST have fadescreen 0 or fadescreen fadein_black


    7)Trainer battles
    ask me in a private message cause it's a longish tutorial

    8)must use a hm to continue!(not tested!)
    #dyn 0x740000
    #org @start
    special 0x187 (the special you must use)
    compare LASTRESULT 2
    if == jump 0x81A7AE0
    lockall
    checkattack CUT
    compare LASTRESULT 6
    if == jump @donthave
    setanimation 0 LASTRESULT
    storepokemonvar 0 LASTRESULT
    storeattack 1 CUT
    msgbox @doit
    callstd MSG_YESNO
    compare LASTRESULT 0
    if == jump 0x81BDF91
    msgbox 0x81BDFD7
    callstd MSG_NOCLOSE
    closemsg
    doanimation 2
    waitspecial
    disappear 0x2
    releaseall
    end

    #org @donthave
    msgbox @donthavemsg
    callstd 0x3
    releaseall
    end

    #org @doit
    = Do you want to cut\n down the tree?

    #org @donthavemsg
    = None of your pokèmon\nhas the HM cut!


    9)Need item to proceed!
    #dyn 0x740000
    #org @start
    special 0x187(change your persons ID to 187)
    compare LASTRESULT 2
    if == jump :end
    lockall
    storeitem 0 TOWNMAP
    checkitem TOWNMAP 1
    compare LASTRESULT 0
    if == jump @donthave
    msgbox @havemsg
    callstd MSG_YESNO
    compare LASTRESULT 0
    if == jump :end
    removeitem TOWNMAP 1
    msgbox @IusedThis
    callstd MSG_NOCLOSE ' Non-closing message
    applymovement 0x(person event number) @move
    pauseevent 0
    disappear 0x(the person event number)
    :end
    releaseall
    end

    #org @donthave
    msgbox @donthavemsg
    callstd MSG_SIGN
    end



    #org @havemsg
    = Do you have a Town MAp?

    #org @IusedThis
    = OKay then!\n GO explore!

    #org @donthavemsg
    = NO sorry you won't\n know where youre going!

    #org @move
    M walk_up end(change to what ever you want!)

    NOTICE:
    I want to know what the pokedex's ID is (like get item ID becuase don't know!! )


    10)Want more Private message me or email [email protected]!!
     
    2
    Posts
    10
    Years
    • Seen Jun 8, 2013
    ok so i got pksv and i can make scripts but when i past them in the offset in A-maps and click "open script" i get this message "No script editor defined" what do i do to fix this
     

    Akiba

    [img]http://i.imgur.com/o3RYT4v.png[/img]
    4,262
    Posts
    13
    Years
  • ok so i got pksv and i can make scripts but when i past them in the offset in A-maps and click "open script" i get this message "No script editor defined" what do i do to fix this

    In Advance Map, go to Settings -> Script Editor, choose XSE.exe or PKSVUI.exe, and then click no in the following dialog, because the offsets are not defined by colons.
     
    Back
    Top