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

Draconius GO
Closed Thread
 
Thread Tools
  #26    
Old May 5th, 2012 (11:21 AM). Edited May 5th, 2012 by Mr.Luigi.
Mr.Luigi's Avatar
Mr.Luigi Mr.Luigi is offline
Trainer
     
    Join Date: Aug 2010
    Age: 24
    Gender: Male
    Posts: 2
    No matter what I try, the person that I set this script to won't respond at all when I face them and press "A." Any ideas on how to fix this in FireRed would be greatly appreciated.

    #org $script
    lock
    faceplayer
    checkflag 0x1200
    if b_true goto $alreadygotone
    message $wantpoke
    $wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
    boxset 6
    givepokemon 0x42 0x5 0x0
    message $received
    $received 1 = [PLAYER] received Machop!
    boxset 6
    setflag 0x1200
    message $pokedex
    $pokedex 1 = Here! \nTake this Pokédex, too!
    boxset 6
    setflag 0x828
    setflag 0x829
    message $recieved1
    $recieved1 1 = [PLAYER] recieved the Pokédex!
    boxset 6
    message $gsball
    $gsball 1 = Here's the GS Ball you needed.
    boxset 6
    setflag 0x825
    message $recieved2
    $recieved2 1 = [PLAYER] recieved the GS Ball!
    boxset 6
    message $league
    $league 1 = You should challenge the \nOrange League!
    boxset 6
    setvar 0x6000 0x0001
    release
    end

    #org $alreadygotone
    lock
    faceplayer
    message $howsit
    $howsit 1 =How are you and Machop?
    boxset 6
    release
    end

    Relevant Advertising!

      #27    
    Old May 6th, 2012 (2:43 AM).
    tajaros's Avatar
    tajaros tajaros is offline
    Hi I'm dawg
       
      Join Date: Apr 2012
      Location: Philippines
      Age: 18
      Gender: Male
      Nature: Timid
      Posts: 857
      Quote:
      Originally Posted by Mr.Luigi View Post
      No matter what I try, the person that I set this script to won't respond at all when I face them and press "A." Any ideas on how to fix this in FireRed would be greatly appreciated.

      #org $script
      lock
      faceplayer
      checkflag 0x1200
      if b_true goto $alreadygotone
      message $wantpoke
      $wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
      boxset 6
      givepokemon 0x42 0x5 0x0
      message $received
      $received 1 = [PLAYER] received Machop!
      boxset 6
      setflag 0x1200
      message $pokedex
      $pokedex 1 = Here! \nTake this Pokédex, too!
      boxset 6
      setflag 0x828
      setflag 0x829
      message $recieved1
      $recieved1 1 = [PLAYER] recieved the Pokédex!
      boxset 6
      message $gsball
      $gsball 1 = Here's the GS Ball you needed.
      boxset 6
      setflag 0x825
      message $recieved2
      $recieved2 1 = [PLAYER] recieved the GS Ball!
      boxset 6
      message $league
      $league 1 = You should challenge the \nOrange League!
      boxset 6
      setvar 0x6000 0x0001
      release
      end

      #org $alreadygotone
      lock
      faceplayer
      message $howsit
      $howsit 1 =How are you and Machop?
      boxset 6
      release
      end
      Here's a Working script...

      #org $script
      lock
      faceplayer
      checkflag 0x1200
      if b_true goto $alreadygotone
      message $wantpoke
      $wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
      boxset 6
      givepokemon 66 5 0
      fanfare 0x13E
      message $received
      $received 1 = \v\h01 received Machop!
      boxset 6
      waitfanfare
      message $pokedex

      $pokedex 1 = Here!\nTake this Pokédex, too!
      boxset 6
      fanfare 0x13E
      message $recieved1
      $recieved1 1 = \v\h01 recieved the Pokédex!
      boxset 6
      waitfanfare
      message $gsball
      $gsball 1 = Here's the GS Ball you needed.
      boxset 6
      fanfare 0x13E
      message $recieved2

      $recieved2 1 = \v\h01 recieved the GS Ball!
      boxset 6
      waitfanfare
      message $league
      $league 1 = You should challenge the\nOrange League!
      boxset 6
      setflag 0x828
      setflag 0x829
      setflag 0x1200
      release
      end

      #org $alreadygotone

      message $howsit
      $howsit 1 =How are you and Machop?
      boxset 6
      release
      end


      Isn't setflag 0x825 a badge flag
      and you must only use setvar to script boxes....
      and you already have lock and faceplayer twice....
      Hope this helps....
      __________________
        #28    
      Old May 6th, 2012 (8:00 AM).
      Mr.Luigi's Avatar
      Mr.Luigi Mr.Luigi is offline
      Trainer
         
        Join Date: Aug 2010
        Age: 24
        Gender: Male
        Posts: 2
        Yes, that flag is for the soul badge. There are only 4 badges in the orange league and i needed to use surf outside of battle.
        Anyway, thanks for helping, I "copy-paste-d" your script, but the person still doesn't respond at all to facing and pressing "A." The sound that you hear when you scroll through the messages sounds every time i press "A," but no message pops up, the person doesn't face, and I can still move.
        If it's not fixable, oh well, I'll have to deal with it.
          #29    
        Old May 6th, 2012 (6:04 PM).
        tajaros's Avatar
        tajaros tajaros is offline
        Hi I'm dawg
           
          Join Date: Apr 2012
          Location: Philippines
          Age: 18
          Gender: Male
          Nature: Timid
          Posts: 857
          @Mr.Luigi
          I found the Problem you did not put in a space in the first message
          -message $wantpoke
          $wantpoke 1 =Hey,\nit's dangerous out there.\pTake this Machop.
          boxset 6

          Should be like this
          message $wantpoke
          $wantpoke 1 = Hey,\nit's dangerous out there.\pTake this Machop.
          boxset 6

          __________________
            #30    
          Old June 25th, 2012 (7:30 AM).
          PokemonGiratinaX's Avatar
          PokemonGiratinaX PokemonGiratinaX is offline
          2015 Edition.
             
            Join Date: Mar 2012
            Location: The Blue Earth
            Nature: Modest
            Posts: 306
            How to make a script for Updating Pokedex in FireRed ?
            PS : Sorry if you can't understand.
              #31    
            Old August 15th, 2012 (3:58 PM). Edited August 15th, 2012 by noah0155.
            noah0155's Avatar
            noah0155 noah0155 is offline
               
              Join Date: Jul 2012
              Gender: Male
              Posts: 20
              #org $script
              setvar 0x6001 0x00001
              applymovement 3 $oh
              $oh 1 ; #binary 0x62 0x13 0xFE
              pausemove 0
              setflag 0x2000
              setflag 0x1215
              message $guy
              $guy 1 = Hey kid you can't pass\nBy you need\pTo Get a POKEMON from Prof.\nOak!
              boxset 6
              applymovement 3 $idk
              $idk 1 ; #binary 0x62 0x60 0xFE
              pausemove 0
              message $2
              $2 1 = Oh you got a POKEMON here\nYou go\pThen!
              boxset 6
              setmaptile 0xD 0x27 0xE7 0x1
              release
              end

              check out my sig for a download of my beta of POKEMON FLAMING FIRE!
              __________________
              watch out for Pokemon Avengance
                #32    
              Old December 8th, 2013 (9:01 PM).
              Aeolus Gaming Aeolus Gaming is offline
                 
                Join Date: Dec 2013
                Location: Southern California
                Gender: Male
                Nature: Relaxed
                Posts: 4
                I am new to scripting, but since I followed everything in the video I watched, I don't think I made an error. I made the script and compiled it, then burned it into the rom, and gave the offset to one of the people in Pallet Town. When I go into the game and talk to said character, My player is locked, and so is the other character, but there is no message whatsoever, and the rest of the game still runs (the other people walk around, the flowers animate, and the music plays).

                Here is the code (just in case):

                #org $techey
                lock
                faceplayer
                massage $tech
                $tech 1 = Insert message here.
                boxset 6
                release
                end
                  #33    
                Old December 9th, 2013 (5:26 AM).
                karatekid552's Avatar
                karatekid552 karatekid552 is offline
                What happens if I push it?....
                   
                  Join Date: Nov 2012
                  Location: Do you really want to know? Really?
                  Gender: Male
                  Nature: Bold
                  Posts: 1,766
                  Please don't revive threads on out of date hacking techniques. Pokescript was to put to rest a long time ago. Go see tutorials for PKSVUI or XSE. I have used both and they are much more robust.

                  I personally use XSE and the latest version can be found on Gamer2020's tools thread. Diegoisawesome also has a great tutorial for it.

                  Closed.

                  ~karatekid552

                  Edit: I know the thread revival limit doesn't apply here, however, I am doing you a favor because if you needed any help, no one would help you. If you post in the Script Help Thread using Pokescript, people will ignore you or tell you to use XSE. It is just the way of hacking.
                  __________________

                  Paired with Simba
                  Closed Thread

                  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 1:52 PM.