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

Closed Thread
 
Thread Tools
  #7526    
Old January 16th, 2013 (2:10 PM). Edited January 16th, 2013 by tajaros.
tajaros's Avatar
tajaros tajaros is offline
Hi I'm dawg
     
    Join Date: Apr 2012
    Location: Philippines
    Age: 19
    Gender: Male
    Nature: Timid
    Posts: 857
    Quote:
    Originally Posted by kj3400 View Post
    This question might be a simple thing, I think.

    I have a script that starts just after the game intro and requires a sprite to be hidden before I activate it (to simulate them coming up the stairs). Problem is I can't get the sprite to disappear before the map loads. Does it involve a level script? This has been bugging me for a while now.
    You can edit the movement type of the OW and set it to hidden that way it will be hidden. But you have to put a showsprite in your script.

    But, if you're not using Jpan's Engine then pick something that the game uses for flags so the OW's would be hidden. Perhaps 2C try putting that in your person ID and your good.

    Quote:
    Originally Posted by Dragoon View Post
    Hey guys, I have a script that doesn't seem t work in my FR rom

    Spoiler:

    '---------------
    #org 0x730420
    checkflag 0x1216
    if 0x1 goto 0x8730488
    showsprite 0xA
    applymovement 0xA 0x873048B
    applymovement MOVE_PLAYER 0x873048F
    waitmovement 0x0
    msgbox 0x87304A1 MSG_KEEPOPEN '"Oh!\nSorry, I didn't see you there..."
    fanfare 0x100
    special 0x0
    waitfanfare
    closeonkeypress
    trainerbattle 0x1 0x2 0x500 0x873051E 0x8730548 0x8730461
    end

    '---------------
    #org 0x730488
    release
    end

    '---------------
    #org 0x730461
    msgbox 0x8730560 MSG_NORMAL '"By the way, I'm Brendan!\nThat bat..."
    applymovement 0xA 0x8730493
    applymovement MOVE_PLAYER 0x873049E
    waitmovement 0x0
    hidesprite 0xA
    setflag 0x1216
    setvar 0x5000 0x1
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x7304A1
    = Oh!\nSorry, I didn't see you there!\lHey, you seem like a capable\ltrainer...\lHow about we battle? Don't worry\lI'll heal you.

    #org 0x73051E
    = Now that I've healed you,\nlet's battle!

    #org 0x730548
    = Wow! You're powerful!

    #org 0x730560
    = By the way, I'm Brendan!\nThat battle really had me going!\lI seriously think you have loads\lof potential. I hope I can see you\lagain.\lSee ya!


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

    #org 0x73048F
    #raw 0x10 'Step Down (Normal)
    #raw 0x1 'Face Up
    #raw 0xFE 'End of Movements

    #org 0x730493
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (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 0x73049E
    #raw 0x2 'Face Left
    #raw 0xFE 'End of Movements


    Also the rom uses the Jambo Trainer Mugshot Hack so that is why the 3rd trainerbattle value is 0x500

    Anyway, the problem is that, I placed it in Viridian City in front of the Pokemon Centre. I open the game, and I try to walk into Viridian, but the game restarts. If someone could help explain why this is, this would help a lot.

    Also the script box only has the Var Number filled in which is 5000
    Try removing 0x500 and make it 0x0 if everything worked then maybe it's how you inserted the Mugshot Hack.

    Or for starters try using the 1st Pallete in the table so it will be 0x100.

    And remove those release scripts at the end of your scripts since you didn't put a lock at the opening of your script.
    __________________
      #7527    
    Old January 16th, 2013 (4:07 PM).
    ShyRayq's Avatar
    ShyRayq ShyRayq is offline
    Unprofessional Unprofessional
       
      Join Date: Aug 2007
      Gender: Male
      Nature: Adamant
      Posts: 1,617
      Quote:
      Originally Posted by tajaros View Post
      Try removing 0x500 and make it 0x0 if everything worked then maybe it's how you inserted the Mugshot Hack.

      Or for starters try using the 1st Pallete in the table so it will be 0x100.

      And remove those release scripts at the end of your scripts since you didn't put a lock at the opening of your script.
      I tried doing these actions, and I also compiled the script into a backup of the rom, and even a fresh new rom, but I still freeze before getting into town, so it dismissed my idea that the rom was bad.
      Again, here's the script, with the appropriate changes.

      Spoiler:

      #dynamic 0x730420

      #org @start
      checkflag 0x1216
      if 0x1 goto @done
      showsprite 0xA
      applymovement 0xA @whoops
      applymovement 0xFF @what
      waitmovement 0x0
      msgbox @sorry 0x4
      fanfare 0x100
      special 0x0
      waitfanfare
      closeonkeypress
      trainerbattle 0x1 0x2 0x0 @battle @lose @next
      end

      #org @done
      end

      #org @next
      msgbox @go 0x6
      applymovement 0xA @walk
      applymovement 0xFF @bye
      waitmovement 0x0
      hidesprite 0xA
      setflag 0x1216
      setvar 0x5000 0x1
      end

      #org @sorry
      = Oh, sorry about that! I didn't see\nyou there!\lHey, you seem like a capable\ltrainer...\lHow about we battle? Don't worry\lI'll heal you.

      #org @battle
      = Now that I've healed you,\nlet's battle!

      #org @lose
      = Wow! You're pretty good!

      #org @go
      = That was a good battle!\nBy the way, my name is Brandon.\lI think you have lots of potential\las a trainer...\lWell, I have to go.\lBye!

      #org @whoops
      #raw 0x10
      #raw 0x62
      #raw 0xFE

      #org @what
      #raw 0x10
      #raw 0x1
      #raw 0xFE

      #org @walk
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x10
      #raw 0x10
      #raw 0x10
      #raw 0x10
      #raw 0x10
      #raw 0xFE

      #org @bye
      #raw 0x2
      #raw 0xFE
      __________________
      3DS Friend Code: 5069-3944-3902
      IGN: Peter; (X, Y, OR, AS, S, M)
      Friend Safari: (Fighting) Throh, Meditite, Breloom
      Living Pokedex Complete: Y, C, LG, E, Pl, HG, B, B2, X, Y, OR, AS, M, UM
      Big thanks especially to DestinedJagold, Xerneas_X, Elements1 and ~RNC~

      PM me if you want to trade, or add my FC.
        #7528    
      Old January 16th, 2013 (4:37 PM). Edited January 16th, 2013 by karatekid552.
      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
        Quote:
        Originally Posted by Dragoon View Post
        I tried doing these actions, and I also compiled the script into a backup of the rom, and even a fresh new rom, but I still freeze before getting into town, so it dismissed my idea that the rom was bad.
        Again, here's the script, with the appropriate changes.

        Spoiler:

        #dynamic 0x730420

        #org @start
        checkflag 0x1216
        if 0x1 goto @done
        showsprite 0xA
        applymovement 0xA @whoops
        applymovement 0xFF @what
        waitmovement 0x0
        msgbox @sorry 0x4
        fanfare 0x100
        special 0x0
        waitfanfare
        closeonkeypress
        trainerbattle 0x1 0x2 0x0 @battle @lose @next
        end

        #org @done
        end

        #org @next
        msgbox @go 0x6
        applymovement 0xA @walk
        applymovement 0xFF @bye
        waitmovement 0x0
        hidesprite 0xA
        setflag 0x1216
        setvar 0x5000 0x1
        end

        #org @sorry
        = Oh, sorry about that! I didn't see\nyou there!\lHey, you seem like a capable\ltrainer...\lHow about we battle? Don't worry\lI'll heal you.

        #org @battle
        = Now that I've healed you,\nlet's battle!

        #org @lose
        = Wow! You're pretty good!

        #org @go
        = That was a good battle!\nBy the way, my name is Brandon.\lI think you have lots of potential\las a trainer...\lWell, I have to go.\lBye!

        #org @whoops
        #raw 0x10
        #raw 0x62
        #raw 0xFE

        #org @what
        #raw 0x10
        #raw 0x1
        #raw 0xFE

        #org @walk
        #raw 0x12
        #raw 0x12
        #raw 0x12
        #raw 0x12
        #raw 0x10
        #raw 0x10
        #raw 0x10
        #raw 0x10
        #raw 0x10
        #raw 0xFE

        #org @bye
        #raw 0x2
        #raw 0xFE
        I compiled your script and it works beautifully without sprite 0xA. It also works great when sprite 0xA isn't hidden. However, as soon as I hide it, and it comes into view, the game crashes. In fact, any hidden sprite on screen in Viridian City causes the game to crash. Why? I have no clue! I will keep looking into this.

        Edit: This happens in more places than Viridian City... Could the hidden option be corrupt??

        Edit2: Confirmed. This happens everywhere with hidden option number 1, the other two hidden options on the movement list work and don't crash the game, however, they refuse to obey the showsprite command or the raw show command used with an applymovement.

        Edit3: haha, I made it work. Okay, you need to use the 3rd Hidden option in the list and type 4B in the movement box below. Now, remove the showsprite command from your script and instead add "#raw 0x61" to the top of the movement @whoops. This is the show command foe FireRed. (I was using Ruby commands for edit 2, wrong list)

        A couple of notes. A green s-tile script will not run on entering the map. You are going to have to turn this into a level script somehow if you want it to happen when leaving the pokecenter. Also, if you don't open the door for sprite 0xA, it's going to be weird. I have some ideas on how to do both, so if you can't figure it out, pm me.
        __________________

        Paired with Simba
          #7529    
        Old January 16th, 2013 (5:15 PM).
        thizzman's Avatar
        thizzman thizzman is offline
        PKMN rom maker and hacker
           
          Join Date: Jan 2013
          Gender: Male
          Posts: 32
          Hi,
          I need help with one of my scripts.
          First things first, I am working on a Pokemon hack!
          (Pokemon XD gale of darkness remake for gba)
          And I've come across something I've never dealt with b4...
          How would I make shadow Pokemon appear in my game When one of
          my trainer battles that Need Shadow Pokemon?
          Would I change the shiny sprite into a shadow sprite?
          I dunno?
          Then in a trainer battle how could i make Shadow Pokemon catch-able?
          Thx a whole bunch guys (;
          pls pls pls get this to work ;)
            #7530    
          Old January 16th, 2013 (5:43 PM).
          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
            Quote:
            Originally Posted by thizzman View Post
            Hi,
            I need help with one of my scripts.
            First things first, I am working on a Pokemon hack!
            (Pokemon XD gale of darkness remake for gba)
            And I've come across something I've never dealt with b4...
            How would I make shadow Pokemon appear in my game When one of
            my trainer battles that Need Shadow Pokemon?
            Would I change the shiny sprite into a shadow sprite?
            I dunno?
            Then in a trainer battle how could i make Shadow Pokemon catch-able?
            Thx a whole bunch guys (;
            pls pls pls get this to work ;)
            Just an idea. Learn how to expand the number of ingame pokemon, but not the dex, to twice as many pokemon as you need. Then, take all of the new slots and duplicate every pokemon, or just the ones you want to make shadow. Then, recolor their regular sprite to shadow ones. Lastly, make them evolve into the regular form by the machine that purify's the pokemon.

            For catching a shadow pokemon from a trainer, you would need to set it up so that when the battle begins, the changes that a catch trainer's pokemon gameshark code are applied. I don't know much about gameshark codes, but from what I understand, it's just modifying the ram which you can do in a script.
            __________________

            Paired with Simba
              #7531    
            Old January 16th, 2013 (6:15 PM).
            ShyRayq's Avatar
            ShyRayq ShyRayq is offline
            Unprofessional Unprofessional
               
              Join Date: Aug 2007
              Gender: Male
              Nature: Adamant
              Posts: 1,617
              Quote:
              Originally Posted by karatekid552 View Post
              I compiled your script and it works beautifully without sprite 0xA. It also works great when sprite 0xA isn't hidden. However, as soon as I hide it, and it comes into view, the game crashes. In fact, any hidden sprite on screen in Viridian City causes the game to crash. Why? I have no clue! I will keep looking into this.

              Edit: This happens in more places than Viridian City... Could the hidden option be corrupt??

              Edit2: Confirmed. This happens everywhere with hidden option number 1, the other two hidden options on the movement list work and don't crash the game, however, they refuse to obey the showsprite command or the raw show command used with an applymovement.

              Edit3: haha, I made it work. Okay, you need to use the 3rd Hidden option in the list and type 4B in the movement box below. Now, remove the showsprite command from your script and instead add "#raw 0x61" to the top of the movement @whoops. This is the show command foe FireRed. (I was using Ruby commands for edit 2, wrong list)

              A couple of notes. A green s-tile script will not run on entering the map. You are going to have to turn this into a level script somehow if you want it to happen when leaving the pokecenter. Also, if you don't open the door for sprite 0xA, it's going to be weird. I have some ideas on how to do both, so if you can't figure it out, pm me.
              Sir, I officially love you. Thank you so much for helping me fix my script. You are the greatest.
              __________________
              3DS Friend Code: 5069-3944-3902
              IGN: Peter; (X, Y, OR, AS, S, M)
              Friend Safari: (Fighting) Throh, Meditite, Breloom
              Living Pokedex Complete: Y, C, LG, E, Pl, HG, B, B2, X, Y, OR, AS, M, UM
              Big thanks especially to DestinedJagold, Xerneas_X, Elements1 and ~RNC~

              PM me if you want to trade, or add my FC.
                #7532    
              Old January 16th, 2013 (7:39 PM).
              thizzman's Avatar
              thizzman thizzman is offline
              PKMN rom maker and hacker
                 
                Join Date: Jan 2013
                Gender: Male
                Posts: 32
                Quote:
                Originally Posted by karatekid552 View Post
                Just an idea. Learn how to expand the number of ingame pokemon, but not the dex, to twice as many pokemon as you need. Then, take all of the new slots and duplicate every pokemon, or just the ones you want to make shadow. Then, recolor their regular sprite to shadow ones. Lastly, make them evolve into the regular form by the machine that purify's the pokemon.

                For catching a shadow pokemon from a trainer, you would need to set it up so that when the battle begins, the changes that a catch trainer's pokemon gameshark code are applied. I don't know much about gameshark codes, but from what I understand, it's just modifying the ram which you can do in a script.

                Thx so much!
                However i dont get the "expand the number of ingame pokemon" Do you know any gd tutorials on how to change ingame data?
                  #7533    
                Old January 17th, 2013 (10:39 AM). Edited January 17th, 2013 by karatekid552.
                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
                  Quote:
                  Originally Posted by thizzman View Post
                  Thx so much!
                  However i dont get the "expand the number of ingame pokemon" Do you know any gd tutorials on how to change ingame data?
                  I don't know how to personally, but several hackers have.

                  Here is what Chaos Rush did in his 649 patch:
                  Quote:
                  *Re-point Pokémon names table
                  *Re-point Base stats table
                  *Re-point front sprites table
                  *Re-point back sprites table
                  *Re-point normal palettes table
                  *Re-point shiny palettes table
                  *Re-point TM-compatibility table
                  *Re-point evolution table
                  *Re-point moveset table
                  *Re-point Icon table
                  *Re-point Icon Palette table
                  *Re-point battle positioning tables
                  *Re-point footprint table
                  I believe this is the thread he used to do it. I haven't read the whole thing but it looks promising:
                  http://www.pokecommunity.com/showthread.php?t=185257&highlight=65536

                  It looks like it is just a bunch of re-pointing.


                  However, I just thought of something. XD didn't feature all of the Pokemon, so if you're going to make it exactly like XD, just replace some of the pokemon that won't appear, then reorder the pokedex and put the shadow pokemon either right next to the normal one, or all clumped together at the end. There is a tool in PGE for doing that.


                  Just a note that this discusion has left the topic of scripting and that if you need any more info, it would be best to take it to the simple questions thread just so that noone gets annoyed.
                  __________________

                  Paired with Simba
                    #7534    
                  Old January 17th, 2013 (8:36 PM).
                  MrDollSteak's Avatar
                  MrDollSteak MrDollSteak is offline
                  Formerly known as 11bayerf1
                     
                    Join Date: Dec 2008
                    Location: Hong Kong
                    Age: 23
                    Gender: Male
                    Posts: 844
                    Hey guys, I've been having trouble with this movesprite level script on Pokemon Firered.
                    Basically when you enter the map nothing moves. Is there anything I have to activate on the people such as people ID's etc.?

                    '---------------
                    #org 0x71AAC8
                    #raw 0x2
                    #raw pointer 0x871A376
                    #raw 0x0

                    '---------------
                    #org 0x71A376
                    #raw word 0x0
                    #raw word 0x0
                    #raw pointer 0x8803EEC
                    #raw word 0x0

                    '---------------
                    #org 0x803EEC
                    checkflag 0x216
                    if 0x1 goto 0x8803F4E
                    checkflag 0x820
                    if 0x1 goto 0x8803F51
                    checkflag 0x215
                    if 0x1 goto 0x8803F4E
                    movesprite 0x1 0x17 0x27
                    movesprite 0x2 0x17 0x27
                    movesprite 0x3 0x17 0x27
                    movesprite 0x4 0x17 0x27
                    movesprite 0x5 0x17 0x27
                    movesprite 0x6 0x18 0x27
                    movesprite 0x7 0x18 0x27
                    movesprite 0x8 0x18 0x27
                    movesprite 0x9 0x18 0x27
                    movesprite 0xA 0x18 0x27
                    '---------------
                    #org 0x803F4E
                    release
                    end

                    '---------------
                    #org 0x803F51
                    hidesprite 0x1
                    hidesprite 0x2
                    hidesprite 0x3
                    hidesprite 0x4
                    hidesprite 0x5
                    hidesprite 0x6
                    hidesprite 0x7
                    hidesprite 0x8
                    hidesprite 0x9
                    hidesprite 0xA
                    setflag 0x216
                      #7535    
                    Old January 17th, 2013 (9:47 PM).
                    SpadeEdge16's Avatar
                    SpadeEdge16 SpadeEdge16 is offline
                       
                      Join Date: May 2012
                      Gender: Male
                      Posts: 154
                      Okay, so I don't know what's up, if I'm just not noticing something obvious with this or what, but it's happened to me before. This script won't work, that's it. The only way how I've been able to fix this problem if by switching "if 0x1" to "if 0x0", but on other scripts when I use "if 0x1" the same exact way, it works just fine. Why does this keep happening?

                      #dynamic 0x800000
                      #org @start
                      checkflag 0x2B
                      if 0x1 goto @done
                      lock
                      applymovement 0x1 @mom
                      waitmovement 0x1
                      msgbox @alert 0x6
                      applymovement 0x1 @go
                      waitmovement 0x1
                      msgbox @mom1 0x6
                      setflag 0x2B
                      setflag 0x2C
                      setflag 0x2D
                      release
                      end

                      #org @done
                      release
                      end

                      #org @alert
                      = MOM: [player]!

                      #org @mom1
                      = You were supposed to be meeting\nPROFESSOR OAK outside so you could\lget your first POKEMON!\lGet out there so you're not\lkeeping him waiting any longer!

                      #org @mom
                      #raw 0x62
                      #raw 0xFE

                      #org @go
                      #raw 0x1E
                      #raw 0x20
                      #raw 0x20
                      #raw 0x20
                      #raw 0x1E
                      #raw 0x3
                      #raw 0xFE
                      __________________
                        #7536    
                      Old January 18th, 2013 (3:39 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
                        Quote:
                        Originally Posted by SpadeEdge16 View Post
                        Okay, so I don't know what's up, if I'm just not noticing something obvious with this or what, but it's happened to me before. This script won't work, that's it. The only way how I've been able to fix this problem if by switching "if 0x1" to "if 0x0", but on other scripts when I use "if 0x1" the same exact way, it works just fine. Why does this keep happening?

                        #dynamic 0x800000
                        #org @start
                        checkflag 0x2B
                        if 0x1 goto @done
                        lock
                        applymovement 0x1 @mom
                        waitmovement 0x1
                        msgbox @alert 0x6
                        applymovement 0x1 @go
                        waitmovement 0x1
                        msgbox @mom1 0x6
                        setflag 0x2B
                        setflag 0x2C
                        setflag 0x2D
                        release
                        end

                        #org @done
                        release
                        end

                        #org @alert
                        = MOM: [player]!

                        #org @mom1
                        = You were supposed to be meeting\nPROFESSOR OAK outside so you could\lget your first POKEMON!\lGet out there so you're not\lkeeping him waiting any longer!

                        #org @mom
                        #raw 0x62
                        #raw 0xFE

                        #org @go
                        #raw 0x1E
                        #raw 0x20
                        #raw 0x20
                        #raw 0x20
                        #raw 0x1E
                        #raw 0x3
                        #raw 0xFE

                        It means your flag is already set. There is a good chance that low number flags like 0x2B are in use by the game just to keep track of stuff. I found a list of safe flags once, but since I can't remember them all, I do know that all of the flags in the 1000's are safe and will work just fine.

                        As you probably already know, "if 0x1" means the if the flag is set, go to @done. "If 0x0" means if the flag is not set, go to wherever the pointer goes. So, if it checks the flag and it is set (0x1) but your script only says what to do if not set (If 0x0...) the script will just continue.
                        __________________

                        Paired with Simba
                          #7537    
                        Old January 18th, 2013 (3:59 AM).
                        TheUltimateG.J's Avatar
                        TheUltimateG.J TheUltimateG.J is offline
                           
                          Join Date: Oct 2011
                          Location: Bihar,Darbhanga
                          Age: 20
                          Gender: Male
                          Nature: Jolly
                          Posts: 105
                          hey can u tell me how can i make a script such tht brock battles me at viridian forest exit and give badge to me and thn went back to pewter city can u help me?
                          __________________


                          A lover of Pokemon and their Hacks this is no other than?

                          Only he can be----->G.J
                            #7538    
                          Old January 18th, 2013 (4:05 AM).
                          tajaros's Avatar
                          tajaros tajaros is offline
                          Hi I'm dawg
                             
                            Join Date: Apr 2012
                            Location: Philippines
                            Age: 19
                            Gender: Male
                            Nature: Timid
                            Posts: 857
                            Quote:
                            Originally Posted by Ganeshwar View Post
                            hey can u tell me how can i make a script such tht brock battles me at viridian forest exit and give badge to me and thn went back to pewter city can u help me?
                            Read scripting tutorials.

                            Just make a simple trainerbattle script and set the flag for the first badge which is 0x820 and make Brock disappear with the hidesprite command.
                            __________________
                              #7539    
                            Old January 18th, 2013 (8:25 AM).
                            zap cannon's Avatar
                            zap cannon zap cannon is offline
                               
                              Join Date: Jan 2013
                              Gender: Male
                              Posts: 5
                              i have just started hacking fire red. i read a tutorial from this forum and i did exactly as it told me to. i wrote a basic talking script. when i talked to the person, the game freezes(probably locks then does nothing else and i get stuck). i do not know what i am doing wrong.
                              Spoiler:
                              #dynamic 0x456734
                              #org @start
                              lock
                              faceplayer
                              msgbox @talk 0x6
                              release
                              end

                              #org @talk
                              = Hello!

                              any ideas? i searched this problem for awhile and i couldn't find it.
                                #7540    
                              Old January 18th, 2013 (10:08 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
                                Quote:
                                Originally Posted by zap cannon View Post
                                i have just started hacking fire red. i read a tutorial from this forum and i did exactly as it told me to. i wrote a basic talking script. when i talked to the person, the game freezes(probably locks then does nothing else and i get stuck). i do not know what i am doing wrong.
                                Spoiler:
                                #dynamic 0x456734
                                #org @start
                                lock
                                faceplayer
                                msgbox @talk 0x6
                                release
                                end

                                #org @talk
                                = Hello!

                                any ideas? i searched this problem for awhile and i couldn't find it.
                                Your script looks fine, though it won't work in XSE 1.0.0, make sure you have 1.1.1. I learned that the hard way. Okay, so your script is attached to an NPC and when you talk to him, the game freezes... Hmmm... Try opening up the compiled script in XSE (just double click on the NPC in amap) and make sure that the only changes are the replacement of @titles with actual offsets. 0x6 may also be replaced with MSG_NORMAL.


                                Just a minor house keeping thing, it is best to only write dynamic labels higher than 0x500000, preferably in the 600000's and up. This way there is almost no chance of writing in between codes that were originally put their by GAME FREAK.
                                __________________

                                Paired with Simba
                                  #7541    
                                Old January 18th, 2013 (12:27 PM).
                                zap cannon's Avatar
                                zap cannon zap cannon is offline
                                   
                                  Join Date: Jan 2013
                                  Gender: Male
                                  Posts: 5
                                  i checked and i have xse 1.0.0. i looked around for xse 1.1.1 using google search but i couldn't find it. do you have any links to it?
                                    #7542    
                                  Old January 18th, 2013 (2:35 PM).
                                  tajaros's Avatar
                                  tajaros tajaros is offline
                                  Hi I'm dawg
                                     
                                    Join Date: Apr 2012
                                    Location: Philippines
                                    Age: 19
                                    Gender: Male
                                    Nature: Timid
                                    Posts: 857
                                    Here's a link to it.

                                    http://www.mediafire.com/?nkog543i2hnv0s3
                                    __________________
                                      #7543    
                                    Old January 18th, 2013 (3:59 PM).
                                    zap cannon's Avatar
                                    zap cannon zap cannon is offline
                                       
                                      Join Date: Jan 2013
                                      Gender: Male
                                      Posts: 5
                                      i downloaded it and when i start it says, run time error 9. subscript out of range.
                                        #7544    
                                      Old January 18th, 2013 (4:26 PM).
                                      DrFuji's Avatar
                                      DrFuji DrFuji is offline
                                      Heiki Hecchara‌‌
                                       
                                      Join Date: Sep 2009
                                      Location: Aussie
                                      Age: 25
                                      Gender: Male
                                      Nature: Jolly
                                      Posts: 1,489
                                      Quote:
                                      Originally Posted by zap cannon View Post
                                      i downloaded it and when i start it says, run time error 9. subscript out of range.
                                      Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
                                      __________________
                                        #7545    
                                      Old January 18th, 2013 (4:34 PM).
                                      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
                                        Quote:
                                        Originally Posted by DrFuji View Post
                                        Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
                                        Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

                                        I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
                                        __________________

                                        Paired with Simba
                                          #7546    
                                        Old January 18th, 2013 (5:09 PM).
                                        DrFuji's Avatar
                                        DrFuji DrFuji is offline
                                        Heiki Hecchara‌‌
                                         
                                        Join Date: Sep 2009
                                        Location: Aussie
                                        Age: 25
                                        Gender: Male
                                        Nature: Jolly
                                        Posts: 1,489
                                        Quote:
                                        Originally Posted by karatekid552 View Post
                                        Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

                                        I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
                                        Is he using a Mac? If he is then he will have to use Wine so it can emulate a Windows OS. If he is using a Windows OS then it will be more complicated. Does he receive any message about the crash when it happens, like a runtime error or something? If he is getting it some sort of information then I would try going on that. It could also be a permission error but frankly I have absolutely no idea :P

                                        I don't think it requires any specific .dll or .net since I can't remember XSE crashing for me since getting it years ago (apart from changing the AutoUpdate=1) even though it was one of the things I downloaded first. I'm not very experienced when it comes to dealing with a serious internal problem like that nor do I have an insight into what it needs to run - I'm just throwing ideas into the air right now haha.
                                        __________________
                                          #7547    
                                        Old January 18th, 2013 (5:16 PM). Edited January 18th, 2013 by karatekid552.
                                        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
                                          Quote:
                                          Originally Posted by DrFuji View Post
                                          Quote:
                                          Originally Posted by karatekid552 View Post
                                          Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

                                          I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
                                          Is he using a Mac? If he is then he will have to use Wine so it can emulate a Windows OS. If he is using a Windows OS then it will be more complicated. Does he receive any message about the crash when it happens, like a runtime error or something? If he is getting it some sort of information then I would try going on that. It could also be a permission error but frankly I have absolutely no idea :P

                                          I don't think it requires any specific .dll or .net since I can't remember XSE crashing for me since getting it years ago (apart from changing the AutoUpdate=1) even though it was one of the things I downloaded first. I'm not very experienced when it comes to dealing with a serious internal problem like that nor do I have an insight into what it needs to run - I'm just throwing ideas into the air right now haha.
                                          He didn't say anything about an error, and he said he was going to try an emulate another pc on his, so he might be using a mac. I didn't even think to ask. I'll get some more info and post. Thanks.
                                          __________________

                                          Paired with Simba
                                            #7548    
                                          Old January 18th, 2013 (6:33 PM).
                                          zap cannon's Avatar
                                          zap cannon zap cannon is offline
                                             
                                            Join Date: Jan 2013
                                            Gender: Male
                                            Posts: 5
                                            Quote:
                                            Originally Posted by DrFuji View Post
                                            Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
                                            i don't have a settings file as i only got a .zip file and not a .rar file from tajaros' link so i only have the application and nothing else. any links to a xse folder and not just the application?
                                              #7549    
                                            Old January 18th, 2013 (6:42 PM).
                                            DrFuji's Avatar
                                            DrFuji DrFuji is offline
                                            Heiki Hecchara‌‌
                                             
                                            Join Date: Sep 2009
                                            Location: Aussie
                                            Age: 25
                                            Gender: Male
                                            Nature: Jolly
                                            Posts: 1,489
                                            Quote:
                                            Originally Posted by zap cannon View Post
                                            i don't have a settings file as i only got a .zip file and not a .rar file from tajaros' link so i only have the application and nothing else. any links to a xse folder and not just the application?
                                            Here's a link of what originally came with XSE - It has the .rbh files, guide and settings. The settings have already had the AutoUpdateCheck set to 0 so it should be in working condition as soon as its downloaded :D

                                            It is a compressed file though so you will need a program like 7Zip or WinRAR to open it.
                                            __________________
                                              #7550    
                                            Old January 18th, 2013 (10:15 PM).
                                            SpadeEdge16's Avatar
                                            SpadeEdge16 SpadeEdge16 is offline
                                               
                                              Join Date: May 2012
                                              Gender: Male
                                              Posts: 154
                                              Hey, can someone help me out really quick? I used this as the set healing place for the mothers house of FR and when i tested it after losing a battle, I ended up in the traderoom placeand then was stuck there. I set the script to 3 i believe, "on enter/menu close" or whatever. I'm sorry, if there's one thing I always mess up, it's level scripts.

                                              #dynamic 0x800000
                                              #org @start
                                              lock
                                              faceplayer
                                              setvar 0x405A 0x0004
                                              setvar 0x405B 0x05
                                              setvar 0x405C 0x05
                                              applymovement 0x1 @face2
                                              waitmovement 0x1
                                              applymovement 0xFF @face
                                              waitmovement 0xFF
                                              sethealingplace 0x1
                                              release
                                              end

                                              #org @face
                                              #raw 0x01
                                              #raw 0xFE

                                              #org @face2
                                              #raw 0x0
                                              #raw 0xFE
                                              __________________
                                              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
                                              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 10:44 AM.