ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

Closed Thread
 
Thread Tools
  #2426    
Old October 21st, 2009 (4:29 AM). Edited October 21st, 2009 by trebornosliw.
trebornosliw's Avatar
trebornosliw trebornosliw is offline
Learning
     
    Join Date: Jul 2009
    Age: 24
    Gender: Male
    Nature: Adamant
    Posts: 523
    Quote:
    Originally Posted by bigtukker View Post
    It doesn't fix it
    What I do is this

    Make a new person
    make the same proportions (this includes: View Radius Script Offset and Trainer checked,) as the old person
    delete the old person
    put the new person in the old persons place

    Perhaps this might help:
    http://www.youtube.com/watch?v=1VAn2j84z5U
    I know it's quite small and poor quality
    Wow. Okay, I never actually got an error message from the emulator before. I have no idea what this problem is.

    Quote:
    Originally Posted by Ben. View Post
    Thanks i forgot to burn it to the rom is the problem *faceplam*
    Hey, just a quick note for Ben, you ought to try using XSE instead of Pokescript. I was trying to use Pokescript when I first started hacking, but believe me, XSE is better by a million percent.

    Quote:
    Originally Posted by destinedjagold View Post

    I guessed it right. After looking at your script, the first thing that is causing your error is that the NPC is too far away from the game's screen.
    Let me explain so you can at least learn something.

    Okay, so your error is in the @walkdown...
    I counted how many 'down movements' it has, and I concluded that the NPC was too far.
    Spoiler:


    Okay so the solution will be, put the NPC one block down and remove one 'raw 0x10' from your script and it'll work just fine~
    Wierd, I never knew that distance was a factor. But THANK YOU! This was driving me nuts, I couldn't figure out what the problem was. I'll get that fixed right away.
    EDIT: It worked! Thanks again, I really appreciate your taking the time to explain this for me.
    __________________
    Credit for my avatar goes to the Lego company.

    Relevant Advertising!

      #2427    
    Old October 21st, 2009 (5:40 AM).
    bigtukker bigtukker is offline
       
      Join Date: Mar 2009
      Gender:
      Posts: 70
      i also have the trouble that the trainer sees me when I am the line before he is. I know it sounds a little difficult, but I hope you guys understand me.
        #2428    
      Old October 21st, 2009 (8:00 PM).
      trebornosliw's Avatar
      trebornosliw trebornosliw is offline
      Learning
         
        Join Date: Jul 2009
        Age: 24
        Gender: Male
        Nature: Adamant
        Posts: 523
        YES, see, I had exactly the same issue!
        Look, you must have a messed up Rom, or something else going on, because replacing the event really should have worked.
        But I'm at a loss now, I have no clue what's going on.
        __________________
        Credit for my avatar goes to the Lego company.
          #2429    
        Old October 22nd, 2009 (1:51 AM).
        bigtukker bigtukker is offline
           
          Join Date: Mar 2009
          Gender:
          Posts: 70
          Nvr Mind. I try again with Ruby. Crappy graphics, but I can make a good game out of it i think
            #2430    
          Old October 22nd, 2009 (2:09 AM). Edited October 22nd, 2009 by Mr. Frog.
          Mr. Frog's Avatar
          Mr. Frog Mr. Frog is offline
             
            Join Date: Apr 2009
            Location: The pony swamp (somewhere near johto)
            Age: 24
            Gender: Male
            Nature: Quirky
            Posts: 38
            Edit: Don't worry i figure it out.

            Now i know your not supposed to "request scripts" here but:
            I was wondering if anyone could explain how i'd go about changing the games brightness/colors with scripting (to night style...no, not with a clock or anything!) as i have an idea for a new HM or abilitiy.
            ...or would that be asm related...
              #2431    
            Old October 22nd, 2009 (9:10 PM).
            pokefreak2's Avatar
            pokefreak2 pokefreak2 is offline
            I can't believe you read this
               
              Join Date: Oct 2008
              Location: that information is classified
              Age: 19
              Nature: Naive
              Posts: 85
              hi wen i try to use this script i warp as soon as i start walking with the cpu instead of
              when i get there then warp is something wrong? heres the script
              Spoiler:
              #dynamic 0x800000
              #org @start
              msgbox @poke 0x5
              compare 0x800d 0x1
              if 0x1 goto @followme
              if 0x0 goto @ok
              release
              end

              #org @poke
              = test


              #org @followme
              applymovement 0xFF @follow
              applymovement 0x02 @leader
              warp 0x4 0x3 0x0 0x0006 0x000C
              end


              #org @ok
              applymovement 0xFF @back

              #org @follow
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1F
              #raw 0x1F
              #raw 0x1F
              #raw 0x1F
              #raw 0xFF

              #org @leader
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x20
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1D
              #raw 0x1F
              #raw 0x1F
              #raw 0x1F
              #raw 0x1F
              #raw 0xFF

              #org @back
              #raw 0x1F
              #raw 0xFF
              __________________
              Advanced scripter of


              http://www.awsurveys.com/HomeMain.cfm?RefID=Xmouvelianx click on this please it gives my friend money it's not a rick roll and all you do is click on it sign up then leave and then we get 1.25$ ty

              http://pokerum.freehostia.com/Forum/Forum/index.php

              Copy and paste into your top browser
                #2432    
              Old October 23rd, 2009 (12:59 AM).
              Lyzo's Avatar
              Lyzo Lyzo is offline
              On vacation
                 
                Join Date: Mar 2007
                Location: The Netherlands
                Age: 22
                Gender: Male
                Nature: Bold
                Posts: 252
                Send a message via Windows Live Messenger to Lyzo
                Quote:
                Originally Posted by pokefreak2 View Post
                hi wen i try to use this script i warp as soon as i start walking with the cpu instead of
                when i get there then warp is something wrong? heres the script
                Spoiler:
                #dynamic 0x800000
                #org @start
                msgbox @poke 0x5
                compare 0x800d 0x1
                if 0x1 goto @followme
                if 0x0 goto @ok
                release
                end

                #org @poke
                = test


                #org @followme
                applymovement 0xFF @follow
                applymovement 0x02 @leader
                warp 0x4 0x3 0x0 0x0006 0x000C
                end


                #org @ok
                applymovement 0xFF @back

                #org @follow
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0xFF

                #org @leader
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0xFF

                #org @back
                #raw 0x1F
                #raw 0xFF
                Yep, you missed the waitmovement 0x0
                You shouldn't use the compare command like that just use it like this:
                Just copy this script and it should work

                Spoiler:
                #dynamic 0x800000
                #org @start
                msgbox @poke 0x5
                compare 0x800d 0x1
                if 0x1 goto @followme
                applymovement 0xFF @back
                waitmovement 0x0
                release
                end


                #org @poke
                = test


                #org @followme
                applymovement 0xFF @follow
                applymovement 0x02 @leader
                waitmovement 0x0
                warp 0x4 0x3 0x0 0x6 0xC
                end

                #org @follow
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0xFF

                #org @leader
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x20
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1D
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0x1F
                #raw 0xFF

                #org @back
                #raw 0x1F
                #raw 0xFF


                Quote:
                Originally Posted by frogpony View Post
                Edit: Don't worry i figure it out.

                Now i know your not supposed to "request scripts" here but:
                I was wondering if anyone could explain how i'd go about changing the games brightness/colors with scripting (to night style...no, not with a clock or anything!) as i have an idea for a new HM or abilitiy.
                ...or would that be asm related...
                Changing palettes in game is ASM related.
                __________________


                Thank you The Blueprint !!!
                  #2433    
                Old October 24th, 2009 (1:16 PM). Edited October 24th, 2009 by romancandle.
                romancandle romancandle is offline
                   
                  Join Date: Oct 2009
                  Gender: Male
                  Nature: Adamant
                  Posts: 72
                  Rival Script Problem:
                  Spoiler:

                  '---------------
                  #org 0x1682AB
                  lockall
                  checkflag 0x920
                  if 0x1 goto 0x82D82F8
                  setvar 0x4001 0x2
                  goto 0x8800EC1

                  '---------------
                  #org 0x2D82F8
                  hidesprite 0x6
                  release
                  end

                  '---------------
                  #org 0x800EC1
                  checkflag 0x920
                  if 0x1 goto 0x82D82F8
                  textcolor 0x0
                  playsong 0x13B 0x0
                  showsprite 0x6
                  compare 0x4001 0x0
                  if 0x1 call 0x82D7187
                  compare 0x4001 0x1
                  if 0x1 call 0x82D7187
                  compare 0x4001 0x2
                  if 0x1 call 0x82D82FD
                  pause 0x6
                  msgbox 0x8188890 0x4 '"[rival]: Hey, [player]\nHave you g..."
                  compare 0x4031 0x2
                  if 0x1 call 0x816836D
                  compare 0x4031 0x1
                  if 0x1 call 0x816837C
                  compare 0x4031 0x0
                  if 0x1 call 0x816838B
                  msgbox 0x8188974 0x4 '" our mom gave me these shoes for\n..."
                  closeonkeypress
                  pause 0xA
                  playsong 0x13C 0x0
                  compare 0x4001 0x0
                  if 0x1 call 0x816839A
                  compare 0x4001 0x1
                  if 0x1 call 0x816839A
                  compare 0x4001 0x2
                  if 0x1 call 0x81683A5
                  fadedefault
                  hidesprite 0x6
                  setflag 0x920
                  setflag 0x82F
                  setvar 0x406C 0x2
                  setvar 0x4054 0x4F02
                  release
                  end

                  '---------------
                  #org 0x2D7187
                  applymovement 0x6 0x81683D9
                  waitmovement 0x0
                  faceplayer
                  return

                  '---------------
                  #org 0x2D82FD
                  applymovement 0x6 0x81683D1
                  waitmovement 0x0
                  faceplayer
                  return

                  '---------------
                  #org 0x16836D
                  trainerbattle 0x9 0x149 0x0 0x8188959 0x818DE1A
                  return

                  '---------------
                  #org 0x16837C
                  trainerbattle 0x9 0x14A 0x0 0x8188959 0x818DE1A
                  return

                  '---------------
                  #org 0x16838B
                  trainerbattle 0x9 0x14B 0x0 0x8188959 0x818DE1A
                  return

                  '---------------
                  #org 0x16839A
                  applymovement 0x6 0x81683B8
                  waitmovement 0x0
                  return

                  '---------------
                  #org 0x1683A5
                  applymovement 0x6 0x81683C5
                  waitmovement 0x0
                  return


                  '---------
                  ' Strings
                  '---------
                  #org 0x188890
                  = [rival]: Hey, [player]\nHave you gotten any stronger?

                  #org 0x188974
                  = our mom gave me these shoes for\nyou. Good luck on your quest!

                  #org 0x188959
                  = Awww!\nYou just lucked out!

                  #org 0x18DE1A
                  = [rival]: Yeah!\nAm I great or what?


                  '-----------
                  ' Movements
                  '-----------
                  #org 0x1683D9
                  #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 0x10 'Step Down (Normal)
                  #raw 0xFE 'End of Movements

                  #org 0x1683D1
                  #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 0x1683B8
                  #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 0x11 'Step Up (Normal)
                  #raw 0xFE 'End of Movements

                  #org 0x1683C5
                  #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 0x11 'Step Up (Normal)
                  #raw 0xFE 'End of Movements


                  This is one of the scripts, but it completely ignores the flags. Why? >.<
                    #2434    
                  Old October 26th, 2009 (8:28 PM). Edited October 27th, 2009 by Larvitar170.
                  Larvitar170's Avatar
                  Larvitar170 Larvitar170 is offline
                  Noobie hacker
                     
                    Join Date: Jul 2009
                    Location: Kentucky.
                    Gender: Male
                    Nature: Modest
                    Posts: 66
                    Firered
                    XSE
                    Pokemon Center
                    Spoiler:
                    #dynamic 0x803128

                    #org @start
                    lock
                    faceplayer
                    call @1
                    release
                    end

                    #org @1
                    special 0x187
                    compare LASTRESULT 0x2
                    if 0x1 goto @2
                    preparemsg @3
                    waitmsg
                    multichoice 0x13 0x8 0x0 0x2
                    copyvar 0x8000 LASTRESULT
                    compare 0x8000 0x0
                    if 0x1 goto @4
                    compare 0x8000 0x1
                    if 0x1 goto @5
                    compare 0x8000 0x7F
                    if 0x1 goto @5
                    end

                    #org @2
                    release
                    end

                    #org @4
                    cmdc3 0xF
                    preparemsg @6
                    waitmsg
                    call @7
                    special 0x169
                    goto @8

                    #org @5
                    msgbox @9 MSG_KEEPOPEN
                    return

                    #org @7
                    applymovement LASTTALKED @10
                    waitmovement 0x0
                    doanimation 0x19
                    checkanimation 0x19
                    applymovement LASTTALKED @11
                    waitmovement 0x0
                    special 0x0
                    return

                    #org @8
                    special2 LASTRESULT 0x1B1
                    compare LASTRESULT 0x0
                    if 0x1 goto @12
                    special2 LASTRESULT 0x183
                    copyvar 0x8008 LASTRESULT
                    compare 0x8008 0x0
                    if 0x1 goto @12
                    compare 0x8008 0x1
                    if 0x1 goto @13
                    end

                    #org @12
                    preparemsg @14
                    waitmsg
                    applymovement LASTTALKED @15
                    waitmovement 0x0
                    msgbox @9 MSG_KEEPOPEN
                    return

                    #org @13
                    checkflag 0x842
                    if 0x1 goto @12
                    msgbox @14 MSG_KEEPOPEN
                    setflag 0x842
                    preparemsg @16
                    waitmsg
                    applymovement LASTTALKED @15
                    waitmovement 0x0
                    msgbox @9 MSG_KEEPOPEN
                    return

                    #org @3
                    = Welcome to our POKéMON CENTER!\pWould you like me to heal your\nPOKéMON back to perfect health?

                    #org @6
                    = Okay, I'll take your POKéMON for a\nfew seconds.

                    #org @9
                    = We hope to see you again!

                    #org @14
                    = Thank you for waiting.\nWe've restored your POKéMON to\lfull health.

                    #org @16
                    = It appears as if [buffer1] is playing\nright now.\lGo for it!

                    #org @10
                    #raw 0x2F
                    #raw 0xFE

                    #org @11
                    #raw 0x2D
                    #raw 0xFE

                    #org @15
                    #raw 0x5B
                    #raw 0x1A
                    #raw 0xFE


                    Everytime I use this, it makes my character just pick up an item and go on. I messed this up earlier, but I can't remember how I fixed it.
                    __________________
                    Current project: Pokemon Mud Brown (Working Title, will be changed.)
                    No link because I haven't made a page for it yet.
                    Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.

                      #2435    
                    Old October 28th, 2009 (3:15 AM).
                    Satoshi Ookami's Avatar
                    Satoshi Ookami Satoshi Ookami is offline
                    Memento Mori
                    • Gold Tier
                     
                    Join Date: Jul 2008
                    Location: Abyss of Time, Great Seal
                    Age: 24
                    Gender: Male
                    Nature: Calm
                    Posts: 14,467
                    I tried HM's Shinyzer and it gave me ASM offset but when I use this script and talk to NPC
                    Spoiler:

                    #dynamic 0x860000
                    #org @start
                    setvar 0x4003 0x1
                    callasm 0x82A22D4
                    wildbattle 0x181 0xA 0x0 0x0
                    special 0x138
                    pause 0x101
                    callasm 0x82A22D4
                    end

                    it'll freeze game.
                    __________________
                    ROM hacking FAQ - Read before asking how to play a hack.

                    Anime List | PSN Trophy List
                      #2436    
                    Old October 28th, 2009 (5:11 AM).
                    HackMew's Avatar
                    HackMew HackMew is offline
                    Mewtwo Strikes Back
                    • Crystal Tier
                     
                    Join Date: Jun 2006
                    Posts: 1,314
                    Quote:
                    Originally Posted by Ash493 View Post
                    I tried HM's Shinyzer and it gave me ASM offset but when I use this script and talk to NPC
                    Spoiler:

                    #dynamic 0x860000
                    #org @start
                    setvar 0x4003 0x1
                    callasm 0x82A22D4
                    wildbattle 0x181 0xA 0x0 0x0
                    special 0x138
                    pause 0x101
                    callasm 0x82A22D4
                    end

                    it'll freeze game.
                    Of course it will freeze... it doesn't work like that.
                    See this post.
                    __________________
                      #2437    
                    Old October 28th, 2009 (7:13 AM).
                    Satoshi Ookami's Avatar
                    Satoshi Ookami Satoshi Ookami is offline
                    Memento Mori
                    • Gold Tier
                     
                    Join Date: Jul 2008
                    Location: Abyss of Time, Great Seal
                    Age: 24
                    Gender: Male
                    Nature: Calm
                    Posts: 14,467
                    Quote:
                    Originally Posted by HackMew View Post
                    Of course it will freeze... it doesn't work like that.
                    See this post.
                    So the setvar was wrong I see...
                    Was that only wrong part of script?
                    __________________
                    ROM hacking FAQ - Read before asking how to play a hack.

                    Anime List | PSN Trophy List
                      #2438    
                    Old October 28th, 2009 (7:35 AM).
                    DaVici's Avatar
                    DaVici DaVici is offline
                    DeEmpo
                       
                      Join Date: Jan 2009
                      Location: Home
                      Age: 22
                      Gender: Male
                      Nature: Calm
                      Posts: 185
                      Send a message via Windows Live Messenger to DaVici
                      This is a script that doesn't let you pas an area when you don't have a pokemon... But the game freezes when activated...

                      Spoiler:

                      '---------------
                      #org 0x2DD100
                      lock
                      checkflag 0x828
                      if 0x0 goto 0x82DD113
                      release
                      end
                      '---------------
                      #org 0x2DD113
                      lock
                      applymovement 0x1 0x82DD138
                      msgbox 0x82DD13D 0x2 '"Those oilfields are dangerous! You..."
                      waitmovement 0x0
                      applymovement 0xFF 0x82DD184
                      applymovement 0x1 0x82DD186
                      release
                      end

                      '---------
                      ' Strings
                      '---------
                      #org 0x2DD13D
                      = Those oilfields are dangerous! You shouldn't pass without a pokemon.

                      '-----------
                      ' Movements
                      '-----------
                      #org 0x2DD138
                      #raw 0x62 'Exclamation Mark (!)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #org 0x2DD184
                      #raw 0x51 'Jump Right
                      #org 0x2DD186
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x2D 'Face Down (Delayed)
                      __________________
                      ----------------------------- I support...
                      Spoiler:





                      Pokemon Warped

                      Pokemon Xenotime

                      Pokemon Malachite

                      Pokemon Super Rising Thunder

                      Super Pokemon Eevee Edition

                      Pokemon Sienna

                      Pokemon Identity

                      Pokemon Chronicles: Sands of time
                        #2439    
                      Old October 28th, 2009 (7:43 AM).
                      Satoshi Ookami's Avatar
                      Satoshi Ookami Satoshi Ookami is offline
                      Memento Mori
                      • Gold Tier
                       
                      Join Date: Jul 2008
                      Location: Abyss of Time, Great Seal
                      Age: 24
                      Gender: Male
                      Nature: Calm
                      Posts: 14,467
                      Quote:
                      Originally Posted by Empoleon-111 View Post
                      This is a script that doesn't let you pas an area when you don't have a pokemon... But the game freezes when activated...

                      Spoiler:

                      '---------------
                      #org 0x2DD100
                      lock
                      checkflag 0x828
                      if 0x0 goto 0x82DD113
                      release
                      end

                      '---------------
                      #org 0x2DD113
                      lock
                      applymovement 0x1 0x82DD138
                      waitmovement 0x0
                      msgbox 0x82DD13D 0x2 '"Those oilfields are dangerous! You..."
                      applymovement 0xFF 0x82DD184
                      applymovement 0x1 0x82DD186
                      waitmovement 0x0
                      release
                      end

                      '---------
                      ' Strings
                      '---------
                      #org 0x2DD13D
                      = Those oilfields are dangerous! You shouldn't pass without a pokemon.

                      '-----------
                      ' Movements
                      '-----------
                      #org 0x2DD138
                      #raw 0x62 'Exclamation Mark (!)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0xFE 'End of Movements

                      #org 0x2DD184
                      #raw 0x51 'Jump Right
                      #raw 0xFE 'End of Movements

                      #org 0x2DD186
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x11 'Step Up (Normal)
                      #raw 0x2D 'Face Down (Delayed)
                      #raw 0xFE 'End of Movements
                      Fixed parts are in bold.
                      It should work now.
                      __________________
                      ROM hacking FAQ - Read before asking how to play a hack.

                      Anime List | PSN Trophy List
                        #2440    
                      Old October 28th, 2009 (7:44 AM).
                      HackMew's Avatar
                      HackMew HackMew is offline
                      Mewtwo Strikes Back
                      • Crystal Tier
                       
                      Join Date: Jun 2006
                      Posts: 1,314
                      Quote:
                      Originally Posted by Ash493 View Post
                      So the setvar was wrong I see...
                      Was that only wrong part of script?
                      Nope. Those callasm are useless too.
                      __________________
                        #2441    
                      Old October 28th, 2009 (8:07 AM).
                      DaVici's Avatar
                      DaVici DaVici is offline
                      DeEmpo
                         
                        Join Date: Jan 2009
                        Location: Home
                        Age: 22
                        Gender: Male
                        Nature: Calm
                        Posts: 185
                        Send a message via Windows Live Messenger to DaVici
                        Quote:
                        Originally Posted by Ash493 View Post
                        Fixed parts are in bold.
                        It should work now.
                        Thank you, but the game still freezes... Has it to do with something in advancemap?
                        (unknown and the two VAR's)
                        __________________
                        ----------------------------- I support...
                        Spoiler:





                        Pokemon Warped

                        Pokemon Xenotime

                        Pokemon Malachite

                        Pokemon Super Rising Thunder

                        Super Pokemon Eevee Edition

                        Pokemon Sienna

                        Pokemon Identity

                        Pokemon Chronicles: Sands of time
                          #2442    
                        Old October 28th, 2009 (10:28 AM).
                        Satoshi Ookami's Avatar
                        Satoshi Ookami Satoshi Ookami is offline
                        Memento Mori
                        • Gold Tier
                         
                        Join Date: Jul 2008
                        Location: Abyss of Time, Great Seal
                        Age: 24
                        Gender: Male
                        Nature: Calm
                        Posts: 14,467
                        Quote:
                        Originally Posted by HackMew View Post
                        Nope. Those callasm are useless too.
                        Okay thank you
                        It's working now

                        Quote:
                        Originally Posted by Empoleon-111 View Post
                        Thank you, but the game still freezes... Has it to do with something in advancemap?
                        (unknown and the two VAR's)
                        Oh sorry I didn't realize it's tile script.
                        Put 0003 into Unknown bar and variable number into var number bar
                        __________________
                        ROM hacking FAQ - Read before asking how to play a hack.

                        Anime List | PSN Trophy List
                          #2443    
                        Old October 29th, 2009 (6:24 AM). Edited October 29th, 2009 by mitchell114.
                        mitchell114's Avatar
                        mitchell114 mitchell114 is offline
                        Owner of Pokemon Yango version
                           
                          Join Date: Oct 2008
                          Age: 24
                          Posts: 25
                          Can someone help me with this script he does the first two applymovement but then the game freeze. What also happens that when I step on the Tile the script repeat itsellf but only the two applymovements.

                          Code:
                          #dynamic 0x8000045
                          
                          #org @start
                          setvar 7011 0x1
                          applymovement 0xff @move1
                          waitmovement 0x0
                          applymovement 0x02 @move2
                          waitmovement 0x0
                          message @1 0x6
                          applymovement 0x02 @move3
                          applymovement 0xff @move4
                          release 
                          end
                          
                          #org @move1
                          #raw 0x62
                          #raw 0xFE
                          
                          #org @move2
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x11
                          #raw 0x11
                          #raw 0xFE
                          
                          #org @move3
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x13
                          #raw 0x60
                          #raw 0xFE
                          
                          #org @move4
                          #raw 0x52
                          #raw 0xFE
                          
                          #org @1
                          = You were also called by the prof.\nReally really strange, maby they\lhave a problem. Let's hurry then.
                            #2444    
                          Old October 29th, 2009 (12:25 PM).
                          Satoshi Ookami's Avatar
                          Satoshi Ookami Satoshi Ookami is offline
                          Memento Mori
                          • Gold Tier
                           
                          Join Date: Jul 2008
                          Location: Abyss of Time, Great Seal
                          Age: 24
                          Gender: Male
                          Nature: Calm
                          Posts: 14,467
                          Mitch : Ya forgot waitmovement after move3 and move4
                          __________________
                          ROM hacking FAQ - Read before asking how to play a hack.

                          Anime List | PSN Trophy List
                            #2445    
                          Old October 29th, 2009 (1:13 PM).
                          mitchell114's Avatar
                          mitchell114 mitchell114 is offline
                          Owner of Pokemon Yango version
                             
                            Join Date: Oct 2008
                            Age: 24
                            Posts: 25
                            Ash: Thanks that you looked at it but I allready solved the problem the problem was the waitmovements and the setvar.
                              #2446    
                            Old October 29th, 2009 (11:23 PM).
                            mitchell114's Avatar
                            mitchell114 mitchell114 is offline
                            Owner of Pokemon Yango version
                               
                              Join Date: Oct 2008
                              Age: 24
                              Posts: 25
                              Joe: I can't solve your problem but why don't you use XSE?
                                #2447    
                              Old November 2nd, 2009 (5:22 PM).
                              DarthPika's Avatar
                              DarthPika DarthPika is offline
                                 
                                Join Date: Feb 2009
                                Location: In the middle of nowhere
                                Gender:
                                Nature: Relaxed
                                Posts: 17
                                Rom : fire red
                                Using: XSE
                                notes : the game freezes once your charactor stops moving, i've tried putting it into a clean rom but that does not seem to work.

                                Spoiler:
                                #dynamic 0x456734

                                #org @start
                                lock
                                faceplayer
                                checkflag 0x828
                                if 0x0 goto @gettingpokemon
                                if 0x1 goto @continue
                                release
                                end

                                #org @gettingpokemon
                                msgbox @gettingfirstpokemon 0x6
                                applymovement 0x01 @move
                                waitmovement 0x0
                                applymovement 0xff @move2
                                waitmovement 0x0
                                msgbox @chouse 0x6
                                release
                                end

                                #org @continue
                                checkflag 0x1000
                                if 0x0 goto @goback
                                if 0x1 goto @talk1
                                release
                                end

                                #org @goback
                                msgbox @goingback 0x6
                                applymovement 0xff @move3
                                waitmovement 0x0
                                applymovement 0x01 @move4
                                waitmovement 0x0
                                msgbox @talktomom 0x6
                                release
                                end

                                #org @move
                                #raw 0x11
                                #raw 0x12
                                #raw 0x03
                                #raw 0x13
                                #raw 0x10

                                #org @move2
                                #raw 0x11
                                #raw 0x11
                                #raw 0x13
                                #raw 0x02

                                #org @move3
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x11
                                #raw 0x01

                                #org @move4
                                #raw 0x10
                                #raw 0x12
                                #raw 0x13
                                #raw 0x11
                                #raw 0x00

                                #org @gettingfirstpokemon
                                = So, I hear you need your first\nPokemon.\pI'll let you go and chouse\lyou first Pokemon.

                                #org @chouse
                                = Well, go and pick one of the\nPokemon in here\pCome back to me once you have\lpicked a Pokemon.

                                #org @talktomom
                                = You should go and talk to\nyour mom before you\ldo anything else.

                                #org @talk1
                                = Hey \v\h01\!\nHow are your Pokemon doing?

                                #org @goingback
                                = You picked your Pokemon!


                                Thanks in advance
                                __________________
                                JOIN THE DARKSIDE! (we have cookies)
                                  #2448    
                                Old November 2nd, 2009 (5:28 PM).
                                Quickster's Avatar
                                Quickster Quickster is offline
                                Dream or Drop?
                                   
                                  Join Date: Oct 2007
                                  Gender: Male
                                  Nature: Quiet
                                  Posts: 351
                                  Quote:
                                  Originally Posted by DarthPika View Post
                                  Rom : fire red
                                  Using: XSE
                                  notes : the game freezes once your charactor stops moving, i've tried putting it into a clean rom but that does not seem to work.

                                  Spoiler:
                                  #dynamic 0x456734

                                  #org @start
                                  lock
                                  faceplayer
                                  checkflag 0x828
                                  if 0x0 goto @gettingpokemon
                                  if 0x1 goto @continue
                                  release
                                  end

                                  #org @gettingpokemon
                                  msgbox @gettingfirstpokemon 0x6
                                  applymovement 0x01 @move
                                  waitmovement 0x0
                                  applymovement 0xff @move2
                                  waitmovement 0x0
                                  msgbox @chouse 0x6
                                  release
                                  end

                                  #org @continue
                                  checkflag 0x1000
                                  if 0x0 goto @goback
                                  if 0x1 goto @talk1
                                  release
                                  end

                                  #org @goback
                                  msgbox @goingback 0x6
                                  applymovement 0xff @move3
                                  waitmovement 0x0
                                  applymovement 0x01 @move4
                                  waitmovement 0x0
                                  msgbox @talktomom 0x6
                                  release
                                  end

                                  #org @move
                                  #raw 0x11
                                  #raw 0x12
                                  #raw 0x03
                                  #raw 0x13
                                  #raw 0x10
                                  #raw 0xFE

                                  #org @move2
                                  #raw 0x11
                                  #raw 0x11
                                  #raw 0x13
                                  #raw 0x02
                                  #raw 0xFE

                                  #org @move3
                                  #raw 0x10
                                  #raw 0x10
                                  #raw 0x10
                                  #raw 0x11
                                  #raw 0x01
                                  #raw 0xFE

                                  #org @move4
                                  #raw 0x10
                                  #raw 0x12
                                  #raw 0x13
                                  #raw 0x11
                                  #raw 0x00
                                  #raw 0xFE

                                  #org @gettingfirstpokemon
                                  = So, I hear you need your first\nPokemon.\pI'll let you go and chouse\lyou first Pokemon.

                                  #org @chouse
                                  = Well, go and pick one of the\nPokemon in here\pCome back to me once you have\lpicked a Pokemon.

                                  #org @talktomom
                                  = You should go and talk to\nyour mom before you\ldo anything else.

                                  #org @talk1
                                  = Hey \v\h01\!\nHow are your Pokemon doing?

                                  #org @goingback
                                  = You picked your Pokemon!


                                  Thanks in advance :)
                                  Lets see,I looked at the movements only and found the problem.Fixes in bold.Make sure you have that after the end of all your movements because it tells the game the movements ending.
                                    #2449    
                                  Old November 2nd, 2009 (5:44 PM).
                                  bigtukker bigtukker is offline
                                     
                                    Join Date: Mar 2009
                                    Gender:
                                    Posts: 70
                                    Quote:
                                    Originally Posted by Spherical Ice View Post
                                    On the script tile set the first Unknown to (I think) 003 and the Var Number (1st one) 4050. Should work.
                                    @ DarthPika: This should work
                                      #2450    
                                    Old November 3rd, 2009 (4:48 PM).
                                    Quickster's Avatar
                                    Quickster Quickster is offline
                                    Dream or Drop?
                                       
                                      Join Date: Oct 2007
                                      Gender: Male
                                      Nature: Quiet
                                      Posts: 351
                                      I have searched for a solution and cant find one. The script works good, the only problem is when i choose to nickname, the icon for the pokemon is a ? and the name is ???????. Can somenoe help.By the way,script is a person on Firered.
                                      Code:
                                      '---------------
                                      #org 0x803158
                                      checkflag 0x1000
                                      if 0x1 goto 0x880316C
                                      msgbox 0x88031EC MSG_NORMAL '"[black_fr]Thats a POKeBALL. There'..."
                                      release
                                      end
                                      
                                      '---------------
                                      #org 0x80316C
                                      applymovement 0x8 0x88033D6
                                      pause 0x40
                                      setvar 0x4055 0x3
                                      applymovement MOVE_PLAYER 0x88033DE
                                      applymovement 0x8 0x88033E2
                                      applymovement 0x6 0x88033E5
                                      waitmovement 0x0
                                      setflag 0x1003
                                      setflag 0x828
                                      msgbox 0x880321D MSG_NORMAL '"[blue_fr][rival]: No way!\n[player..."
                                      applymovement MOVE_PLAYER 0x88033E9
                                      waitmovement 0x0
                                      msgbox 0x8803314 MSG_NORMAL '"[blue_fr]OAK: [player], this is th..."
                                      givepokemon 0x19 0x5 0x0 0x0 0x0 0x0
                                      fanfare 0x13E
                                      waitfanfare
                                      msgbox 0x8803388 MSG_NORMAL '"[player] recieved the PIKACHU!"
                                      msgbox 0x88033A3 MSG_YESNO '"[black_fr]Would you like to give a..."
                                      compare LASTRESULT 0x1
                                      if 0x1 call 0x81A74EB
                                      release
                                      end
                                      
                                      '---------------
                                      #org 0x1A74EB
                                      fadescreen 0x1
                                      special 0x9E
                                      waitstate
                                      return
                                      
                                      
                                      '---------
                                      ' Strings
                                      '---------
                                      #org 0x8031EC
                                      = [black_fr]Thats a POKeBALL. There's a\nPOKeMON inside!
                                      
                                      #org 0x80321D
                                      = [blue_fr][rival]: No way!\n[player], I want this POKeMON!\p[black_fr][player] snatched the POKeMON!\p[blue_fr]OAK: [rival]! What are you doing?\p[rival]: Gramps, I want this one!\pOAK: But, I... Oh, all right then.\nThat POKeMON is yours.\pI was going to give you one\nanyway...\p[player], come over here.
                                      
                                      #org 0x803314
                                      = [blue_fr]OAK: [player], this is the POKeMON I\ncaught earlier.\pYou can have it.\nI caught it in the wild and it's\lnot tame yet.
                                      
                                      #org 0x803388
                                      = [player] recieved the PIKACHU!
                                      
                                      #org 0x8033A3
                                      = [black_fr]Would you like to give a\nnickname to PIKACHU?
                                      
                                      
                                      '-----------
                                      ' Movements
                                      '-----------
                                      #org 0x8033D6
                                      #raw 0x62 'Exclamation Mark (!)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0xFE 'End of Movements
                                      
                                      #org 0x8033DE
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0xFE 'End of Movements
                                      
                                      #org 0x8033E2
                                      #raw 0x1 'Face Up
                                      #raw 0xFE 'End of Movements
                                      
                                      #org 0x8033E5
                                      #raw 0x60 'Hide
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0xFE 'End of Movements
                                      
                                      #org 0x8033E9
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0xFE 'End of Movements
                                      __________________
                                      I laugh looking at this.

                                      But sometimes I want to come back to it...

                                      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 6:44 AM.