Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Draconius GO
Reply
 
Thread Tools
  #1    
Old April 3rd, 2013 (6:45 AM).
G3Z0-DV1N3's Avatar
G3Z0-DV1N3 G3Z0-DV1N3 is offline
     
    Join Date: Jan 2013
    Gender: Male
    Nature: Jolly
    Posts: 1
    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]!!
    __________________
    P0K3M0N DV1N3......, C0M1NG S00N HAHAH<<< I wish I need help with level scripting!!
    Reply With Quote

    Relevant Advertising!

      #2    
    Old April 5th, 2013 (6:34 AM).
    theRiolvile's Avatar
    theRiolvile theRiolvile is offline
    Thelucaman
       
      Join Date: Mar 2013
      Location: South Africa
      Age: 21
      Gender: Male
      Nature: Adamant
      Posts: 14
      So I can uss XSE and PKSV for both scripting thanx
      Reply With Quote
        #3    
      Old June 8th, 2013 (11:12 AM).
      Gyaradoseforwin Gyaradoseforwin is offline
         
        Join Date: Jun 2013
        Posts: 2
        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
        Reply With Quote
          #4    
        Old June 9th, 2013 (10:54 AM).
        Akiba's Avatar
        Akiba Akiba is offline
        • Crystal Tier
         
        Join Date: Mar 2011
        Location: in a gap
        Age: 18
        Gender: Female
        Nature: Brave
        Posts: 4,268
        Quote:
        Originally Posted by Gyaradoseforwin View Post
        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.
        __________________
        Reply With Quote
          #5    
        Old June 9th, 2013 (11:43 PM).
        AtecainCorp.'s Avatar
        AtecainCorp. AtecainCorp. is online now
        Rejishan awake...
           
          Join Date: Jun 2008
          Location: Takoabe Town (Region Thonsu)
          Age: 24
          Gender: Male
          Nature: Hardy
          Posts: 1,270
          Ok. Told me bro how is good HEADBUTT TREE script for PKSV? I try ten of them and no one works.
          __________________
          - My new Project comming Soon
          Reply With Quote
          Reply

          Quick Reply

          Join the conversation!

          Create an account to post a reply in this thread, participate in other discussions, and more!

          Create a PokéCommunity Account

          Sponsored Links
          Thread Tools

          Posting Rules
          You may not post new threads
          You may not post replies
          You may not post attachments
          You may not edit your posts

          BB code is On
          Smilies are On
          [IMG] code is On
          HTML code is Off

          Forum Jump


          All times are GMT -8. The time now is 11:36 PM.