The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tutorial Teh Blaziken's Scripting School

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

Closed Thread
 
Thread Tools
  #126    
Old March 27th, 2008 (3:57 PM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
     
    Join Date: Nov 2004
    Location: Midwestern USA
    Age: 22
    Gender: Male
    Posts: 2,739
    Hey guys! I just decided to update my thread again! Givepokmeon scripts are up!
    __________________
    --I'm a creepin'..

    Relevant Advertising!

      #127    
    Old April 3rd, 2008 (12:05 PM). Edited April 3rd, 2008 by wolverfrog.
    wolverfrog's Avatar
    wolverfrog wolverfrog is offline
    Working on a Hack
       
      Join Date: Feb 2008
      Location: England
      Age: 21
      Gender:
      Nature: Adamant
      Posts: 119
      this is a givepokemon script that gives you a growlithe level 5


      #ORG $begin
      lock
      faceplayer
      checkflag 0x202
      if B_true goto $done
      message $here
      boxset 6
      givepokemon 58 5 0xD
      setflag 0x202
      release
      end
      #ORG $done
      message $nomore
      boxset 6
      release
      end
      #ORG $here
      $here 1 = looks like i'm too old\nfor growlithe's\pwalks these days.\nhere, you take him..
      #ORG $nomore
      $nomore 1 = How is that GROWLITHE\ndoing? IS it too strong\pfor you?


      how is it?

      WOOT 100TH POST!!!!!!!!!!
      __________________
      hacks i support-
      My own Hack- Pokemon Law Enforcement



      my favourate hackers-
      zel, destinedjagold, earthvisitor-make a great hack and you'll be on this list too!

      hack i'm working on-

      Making my own Hack-Pokemon Law Enforcement
      Status-Pre-Beta stage


        #128    
      Old April 3rd, 2008 (2:35 PM).
      /Circa's Avatar
      /Circa /Circa is offline
      a face in the clouds.
         
        Join Date: Nov 2007
        Location: Melbourne, Victoria
        Gender: Male
        Nature: Quiet
        Posts: 877
        Quote:
        Originally Posted by wolverfrog View Post
        this is a givepokemon script that gives you a growlithe level 5

        Code:
        #ORG $begin
        lock
        faceplayer
        checkflag 0x202
        if B_true goto $done
        message $here
        boxset 6
        givepokemon 58 5 0xD
        setflag 0x202
        release
        end
        #ORG $done
        message $nomore
        boxset 6
        release
        end
        #ORG $here
        $here 1 = looks like i'm too old\nfor growlithe's\pwalks these days.\nhere, you take him..
        #ORG $nomore
        $nomore 1 = How is that GROWLITHE\ndoing? IS it too strong\pfor you?
        how is it?

        WOOT 100TH POST!!!!!!!!!!
        I decided I would help out a bit ;P (i'm a bit bored atm)

        I'll give you hints, and then i'll fix up your script.

        First off, your orgs don't have to be capitals. Secondly, you need to add lines between your scripts. Also, I noticed your givepokemon line looked like this: givepokemon 58 5 0xD. Your problem is that last little pointer for the item, it either has to have no 0x or all of the others have to have 0x, and remember, if they have 0x infront that means they have to be hex. And Pokescript doesn't need hex for certain commands, it will convert it itself.

        Now, your script:

        Code:
        #org $begin                         'I don't think this really matters though.
        lock
        faceplayer
        checkflag 0x202
        if B_true goto $done
        message $here
        boxset 6
        givepokemon 58 5 D                        'or change it to givepokemon 0x3A 0x5 0xD
        setflag 0x202
        release
        end
        
        #org $done
        message $nomore
        boxset 6
        release
        end
        
        #org $here
        $here 1 = looks like i'm too old\nfor growlithe's\pwalks these days.\nhere, you take him..
        
        #org $nomore
        $nomore 1 = How is that GROWLITHE\ndoing? IS it too strong\pfor you?
        Anything in bold needed fixing.
        (Sorry TB Pro, but again, I was a bit bored )
        __________________
        dragging himself, forw
        ard again, the pain has
        still not diminished. E
        ventually though, he e
        merges inside a v
        ery large room w

        here everything about

        the house

        suddenly

        changes.
          #129    
        Old April 3rd, 2008 (4:16 PM).
        TB Pro's Avatar
        TB Pro TB Pro is offline
        Old-timer
           
          Join Date: Nov 2004
          Location: Midwestern USA
          Age: 22
          Gender: Male
          Posts: 2,739
          Hey! CheesePeow! This Is my tut! Don't help unless I give you permission! Nah I'm just kidding! Thanks for helping him out About the #ORGs, That's how I teach it in my tut. I dunno why I do it like that, but I do, and all of my scripts have them like that. It dosen't affect the script at all.
          __________________
          --I'm a creepin'..
            #130    
          Old April 3rd, 2008 (11:54 PM). Edited April 4th, 2008 by wolverfrog.
          wolverfrog's Avatar
          wolverfrog wolverfrog is offline
          Working on a Hack
             
            Join Date: Feb 2008
            Location: England
            Age: 21
            Gender:
            Nature: Adamant
            Posts: 119
            yes! it worked when i incorporated the script into advance map on firered. i put the script on an old man on route 1. when i loaded up vba and tested it i got a growlithe lv 5 and if it talk to him again he doesn't give me another=). thnx TB pro! next i'm gnna study your apply movement tut. edit- just when i tried to compile it, it did a stream of gibberish, but then it just went blanc..whats wrong with it?

            #ORG $begin
            checkflag 0x201
            if B_true goto $done
            applymovement 0x02 $move
            pausemove 0
            message $dudetalk
            boxset 6
            setflag 0x202
            #ORG $done
            release
            end
            #ORG $walk
            walk 1 #binary 0x13 0x13 0x4A 0xFE
            #ORG $dudetalk
            $dudetalk 1 = Damn, i'm late!!


            also, there is a couple of things i don't understand. do we put the script into an npc sprite's script, or a script tile, you know, on advance map, the green S. and how does it know which tile you step on to activate it. i'm a bit confused....
            __________________
            hacks i support-
            My own Hack- Pokemon Law Enforcement



            my favourate hackers-
            zel, destinedjagold, earthvisitor-make a great hack and you'll be on this list too!

            hack i'm working on-

            Making my own Hack-Pokemon Law Enforcement
            Status-Pre-Beta stage


              #131    
            Old April 20th, 2008 (5:39 AM). Edited April 29th, 2008 by NTA.
            NTA's Avatar
            NTA NTA is offline
            Where?
               
              Join Date: Nov 2007
              Nature: Adamant
              Posts: 264
              #ORG $begin
              checkflag 0x200
              if B_true goto $done
              applymovement 0x01 $dudewalk
              pausemove 0
              message $dudetalk
              boxset 6
              setflag 0x200
              release
              end

              #ORG $done
              release
              end

              #ORG $dudewalk
              $dudewalk 1 ; #binary 0x13 0x13 0x13 0x13 0x4A 0xFE

              #ORG $dudetalk
              $dudetalk 1 = Hey, I'm a dude!\nDid you know that?\pOh then You're stupid!



              This is from your script....i used it with pokescript
              i compiled it
              everything worked out fine
              the offset was 800000-i guess because i never used the rom
              i put it in a-map saved it but
              also in this script are they supposed to move because they didn't T_T
              ^
              for the applymovement script do i set it to agreen script button or a character button as in the girl in pallet town?
              Attached Images
              File Type: jpg Capture.JPG‎ (20.6 KB, 12 views) (Save to Dropbox)
              File Type: jpg Capture2.JPG‎ (38.2 KB, 13 views) (Save to Dropbox)
              __________________

                #132    
              Old April 21st, 2008 (7:29 AM).
              Nikkie. Nikkie. is offline
              Nikeiphoros, eh?
                 
                Join Date: Feb 2008
                Location: Eng-->Lndn.
                Age: 21
                Nature: Timid
                Posts: 278
                When is more of the tutorial comming? I was reading then i was like WHAT?!
                Then i just went to thethethethe's tutorial. As most people would xD. Please finish it its very kool!
                __________________
                Royal blue demo, comming soon. Really soon.
                Tropical Sunlight <3
                  #133    
                Old May 5th, 2008 (12:03 AM). Edited May 5th, 2008 by Jawash.
                Jawash's Avatar
                Jawash Jawash is offline
                <Beat EVERY SINGLE DragonQuest
                   
                  Join Date: May 2008
                  Age: 25
                  Gender:
                  Nature: Gentle
                  Posts: 37
                  ;___________;
                  There IS something I am doing wrong...

                  #ORG $begin
                  lock
                  faceplayer
                  message $talk
                  boxset 6
                  release
                  end

                  #ORG $talk
                  $talk 1 = ZOMG!!!\nAM I REALLY ALIVE!?\pDude, no way...

                  Then I compile it [etc]
                  But uh on the 'Assign' and/or 'Reserve' tab... Which do I use?
                  I know your tutorial said to choose Assing, So I did... Got all I needed, wrote my number offset down, then I went to A-Map and put it in on a new person, saved it on that new person and then tried loading the rom... It was perfect until I actually tried talking to the new person [I call Zoo btw]
                  Immediately, a 'The rom-image has crashed/box' pops up and closes the emulator.
                  I've tried many different ways of going back and forth about how to talk to Zoop....But it seems he don't wanna listen ;__;
                  [WHY ZOOP?! WHY?!?!?!?]
                    #134    
                  Old June 18th, 2008 (10:24 AM).
                  Milnivri's Avatar
                  Milnivri Milnivri is offline
                  Telefan ;)
                     
                    Join Date: Jun 2008
                    Gender:
                    Nature: Lax
                    Posts: 20
                    Send a message via Windows Live Messenger to Milnivri
                    Homework:
                    Assignment 1-1
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $hey
                    boxset 6
                    release
                    end

                    #org $hey
                    $hey 1 = Hey, buddy how ya' doin!
                    Assignment 1-2
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $whatup
                    boxset 6
                    release
                    end

                    #org $whatup
                    $whatup 1 = \v\h01, What's up?
                    Assignment 2-1
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $msg
                    boxset 6
                    release
                    end

                    #org $msg
                    $msg 1 = \c\h01\h06Hello, How are you \v\h01?
                    Assignment 2-2
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $msg
                    boxset 6
                    release
                    end

                    #org $msg
                    $msg 1 = \c\h01\h07Yo' Wazzup Bra'?
                    Assignment 3-1
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $qn
                    boxset 5
                    compare LASTRESULT 1
                    if b_true goto $yes
                    message $no
                    boxset 6
                    release
                    end

                    #org $qn
                    $qn 1 = Do you like ponies?

                    #org $yes
                    message $yestext
                    boxset 6
                    release
                    end

                    #org $yestext
                    $yestext 1 = I hate you. Lol.

                    #org $no
                    $no 1 = I hate you. xDD
                    Assignment 3-2
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $qn
                    boxset 5
                    compare LASTRESULT 1
                    if b_true goto $yes
                    message $no
                    boxset 6
                    release
                    end

                    #org $qn
                    $qn 1 = Do U leik Mudkipz?

                    #org $yes
                    message $yestext
                    boxset 6
                    release
                    end

                    #org $yestext
                    $yestext 1 = I liek Mudkipz 2!

                    #org $no
                    $no 1 = I liek Mudkipz!
                    Test
                    Spoiler:
                    #org $begin
                    lock
                    faceplayer
                    message $qn
                    boxset 5
                    compare LASTRESULT 1
                    if b_true goto $yes
                    message $no
                    boxset 6
                    release
                    end

                    #org $qn
                    $qn 1 = Was this easy so far?

                    #org $yes
                    message $yestext
                    boxset 6
                    release
                    end

                    #org $yestext
                    $yestext 1 = \v\h01\h05No It was not!

                    #org $no
                    $no 1 = \v\h01\h06Lol! lol! lol! lol! lol! lol!

                    Will be completing the rest later.
                    __________________
                    Click here
                      #135    
                    Old June 18th, 2008 (10:41 AM).
                    Christos's Avatar
                    Christos Christos is offline
                    • Moderator
                    • Battle Server Staff
                    • Platinum Tier
                     
                    Join Date: Feb 2006
                    Gender: Male
                    Nature: Serious
                    Posts: 6,357
                    Milnvivri, you should have finished your homework earlier, since you've just revived the thread.
                    __________________

                    A Pokemon that is discriminated!
                    Support squirtle and make it everyone's favourite.
                    Closed Thread
                    Quick Reply

                    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 2:56 AM.