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
  #2501    
Old November 22nd, 2009 (2:32 AM).
sky_queen3's Avatar
sky_queen3 sky_queen3 is offline
Mimikyu is cute :3
     
    Join Date: Feb 2009
    Location: Australia
    Age: 27
    Gender: Female
    Nature: Naive
    Posts: 263
    Quote:
    Originally Posted by Ash493 View Post
    applymovement and one of movements needs to be #raw 0x66
    Ok, I'll try again, that's what I thought but when I tried it the popup didn't pop up. Thank you though, I will try it anyway incase it's something I missed. *is in a real good mood 'cause I finally got Trend Micro and PokeCryGUI v2.0 to work at the same time. :D*
    __________________
    Mimic me, mimic you

    Relevant Advertising!

      #2502    
    Old November 22nd, 2009 (5:52 AM).
    Pokepal17's Avatar
    Pokepal17 Pokepal17 is offline
    More cowbell~
    • Silver Tier
     
    Join Date: Oct 2008
    Location: Steeltown
    Age: 22
    Gender: Male
    Nature: Modest
    Posts: 1,511
    Quote:
    Originally Posted by Verloren View Post
    I want to edit the death script so when you get a game over it sends you back to the nearest place you healed at but only restores 1HP and 1PP to all your pokemon.

    How would I go about doing this?
    ASM is your answer. It can't be done with a script.
    __________________
    Pokémon Stardrop
      #2503    
    Old November 22nd, 2009 (7:30 AM).
    Verloren Verloren is offline
       
      Join Date: Nov 2009
      Gender: Female
      Posts: 28
      Thanks for the help! ...though I don't know what ASM is, I'll look into it. Thanks again!
        #2504    
      Old November 22nd, 2009 (8:54 AM).
      HackMew's Avatar
      HackMew HackMew is offline
      Mewtwo Strikes Back
      • Crystal Tier
       
      Join Date: Jun 2006
      Posts: 1,314
      Quote:
      Originally Posted by sky_queen3 View Post
      I want a bit of help please.

      See this youtube clip
      http://www.youtube.com/watch?v=RWg1MVCcAMg

      The Eevee has a ^_^ box appear above it's head, how do they do that? (Or the closest thing in Fire Red.)
      showpokepic/hidepokepic. See the Command Help inside XSE for further info.
      __________________
        #2505    
      Old November 22nd, 2009 (10:38 AM).
      Late's Avatar
      Late Late is offline
      Pokémon Artist
         
        Join Date: Nov 2008
        Location: "We all live in a Pokémon World!"
        Age: 22
        Gender: Male
        Nature: Careful
        Posts: 549
        I am not so good at scripting yet, but I have to get this thing working. Have spend whole day with it.
        I got it work somehow but now my problem is that my player totally freezes. I know it's because of the waitmovement (It worked first when I had different movements) but what should I do to it? (My script may look stupid, it's one of my first big scripts. Have done only message, give item/pokémon and kind of that.) I'll start to understand this somehow.

        Spoiler:

        #Dynamic 0x8021F1
        #ORG @Main
        lock
        faceplayer
        checkflag 0x828
        if b_true goto @done
        if b_false goto @no
        release
        end

        #ORG @no
        message @1 0x6

        #ORG @done
        message @2 0x6
        applymovement 0xFF @moveplayer
        applymovement 0x04 @move
        waitmovement 0x0
        release
        end

        #ORG @1
        = You can't pass because \nyou don't have a pokémon.

        #ORG @2
        = Oh, you have a pokémon, \nalright, I'll move.

        #ORG @moveplayer
        #raw 0x12 0x03 0x13

        #org @move
        #raw 0x10 0x10 0x20 0x20 0x20 0x20 0x20 0x1D 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x60 0xFE

        He moves far away...


        Can somebody please help me?
        __________________

        Please feed my Pokémon and warm my eggs.
        Thanks for everyone who have clicked these, you've helped me a lot

        Anyone has Club Nintendo codes that you don't need? I want those.
        If you have one code for me I can trade you my Explorers of Sky code as I can't put it because I have registered already one. (Registered my brother's game and now I can't register mine...) Someone have same thing? PM me.
        I know there's nobody who wishes to do this xD
        I'm talking about Club Nintendo of Europe.
          #2506    
        Old November 22nd, 2009 (10:54 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,475
        Well the #org @2 doesn't have end so it might be the cause of problem.
        Also #ORG @moveplayer doesn't have #raw 0xFE at the end.
        __________________
        ROM hacking FAQ - Read before asking how to play a hack.

        Anime List | PSN Trophy List
          #2507    
        Old November 22nd, 2009 (3:59 PM).
        NarutoActor's Avatar
        NarutoActor NarutoActor is offline
        The rocks cry out to me
        • Silver Tier
         
        Join Date: Jan 2009
        Location: Brooklyn/Marlboro
        Age: 23
        Gender: Female
        Nature: Bashful
        Posts: 1,979
        okay I got an other level script problem :/ this time it nothing happends I tryed changing the var numbers but no go :/

        Spoiler:

        '---------------
        #org 0x71B0BC
        #raw 0x3
        #raw pointer 0x8168F8E
        #raw 0x4
        #raw pointer 0x8168FE1
        #raw 0x2
        #raw pointer 0x8168FF0
        #raw 0x2
        #raw pointer 0x871B0D1
        #raw 0x0
        '---------------
        #org 0x168FE1
        #raw word 0x4055
        #raw word 0x1
        #raw pointer 0x8168FEB
        #raw word 0x0
        '---------------
        #org 0x168FF0
        #raw word 0x0
        #raw word 0x0
        #raw pointer 0x816923E
        #raw word 0x4055
        '---------------
        #org 0x71B0D1
        #raw word 0x5030
        #raw word 0x0
        #raw pointer 0x871AEA4
        #raw word 0x0
        '---------------
        #org 0x168F8E
        setflag 0x2CF
        compare 0x4055 0x1
        if 0x1 call 0x8168FC6
        compare 0x4055 0x7
        if 0x1 call 0x8168FD5
        compare 0x4055 0x8
        if 0x1 call 0x8168FC0
        checkflag 0x247
        if 0x1 call 0x8168FBC
        end
        '---------------
        #org 0x168FEB
        spriteface 0xFF 0x2
        end
        '---------------
        #org 0x16923E
        lockall
        textcolor 0x0
        applymovement 0x4 0x81692B0
        waitmovement 0x0
        hidesprite 0x4
        movesprite2 0x4 0x6 0x3
        spritebehave 0x4 0x8
        clearflag 0x2B
        applymovement MOVE_PLAYER 0x81692B7
        waitmovement 0x0
        applymovement 0x8 0x81A75E9
        waitmovement 0x0
        clearflag 0x4001
        playsong2 0x0
        fadedefault
        msgbox 0x818DC94 MSG_KEEPOPEN '"[rival]: Gramps!\nI'm fed up with ..."
        closeonkeypress
        pause 0x3C
        msgbox 0x818DFBC MSG_KEEPOPEN '"OAK: [rival]?\nLet me think[.]\pOh..."
        closeonkeypress
        pause 0x1E
        applymovement 0x8 0x81692C0
        waitmovement 0x0
        msgbox 0x818DCB9 MSG_KEEPOPEN '"[rival]: Hey! Gramps! No fair!\nWh..."
        msgbox 0x818E0EA MSG_KEEPOPEN '"OAK: Be patient, [rival].\nYou can..."
        setvar 0x4055 0x2
        releaseall
        end
        '---------------
        #org 0x71AEA4
        lock
        movesprite 0x8 0x6 0x4
        special 0x113
        applymovement MOVE_CAMERA 0x871C6AD
        waitmovement 0x0
        special 0x114
        applymovement 0x8 0x871C86A
        waitmovement 0x0
        msgbox 0x871C5E3 MSG_NORMAL '"Wah, you scared me, haven't you\ne..."
        special 0x113
        applymovement MOVE_CAMERA 0x871C6B7
        waitmovement 0x0
        special 0x114
        applymovement MOVE_PLAYER 0x871C6C1
        applymovement 0x8 0x871C864
        waitmovement 0x0
        msgbox 0x871C61C MSG_NORMAL '"Oh, your here for Professor Layton..."
        applymovement 0x8 0x871C86D
        waitmovement 0x0
        msgbox 0x871C519 MSG_NORMAL '"I got an idea you go look for him...."
        applymovement MOVE_PLAYER 0x871C864
        setvar 0x5030 0x1
        warp 0x0 0x5 0x2 0x3C 0xA
        end
        '---------------
        #org 0x168FC6
        movesprite2 0x4 0x6 0xB
        spritebehave 0x4 0x7
        playsong2 0x12E
        return
        '---------------
        #org 0x168FD5
        movesprite2 0x4 0x6 0xB
        spritebehave 0x4 0x7
        return
        '---------------
        #org 0x168FC0
        setvar 0x4055 0x9
        return
        '---------------
        #org 0x168FBC
        setflag 0x24F
        return

        '---------
        ' Strings
        '---------
        #org 0x18DC94
        = [rival]: Gramps!\nI'm fed up with waiting!
        #org 0x18DFBC
        = OAK: [rival]?\nLet me think[.]\pOh, that's right, I told you to\ncome! Just wait!\pHere, [player].\pThere are three POKéMON here.\pHaha!\pThe POKéMON are held inside\nthese POKé BALLS.\pWhen I was young, I was a serious\nPOKéMON TRAINER.\pBut now, in my old age, I have\nonly these three left.\pYou can have one.\nGo on, choose!
        #org 0x18DCB9
        = [rival]: Hey! Gramps! No fair!\nWhat about me?
        #org 0x18E0EA
        = OAK: Be patient, [rival].\nYou can have one, too!
        #org 0x71C5E3
        = Wah, you scared me, haven't you\never herd of knocking?
        #org 0x71C61C
        = Oh, your here for Professor Layton\ntoo?\pI talked with his secretary, and\nhe said that he steped out for a\lshort break.\pI wonder where he went.
        #org 0x71C519
        = I got an idea you go look for him.\p[green_fr]you have to get some groycers\nanyway right.

        '-----------
        ' Movements
        '-----------
        #org 0x1692B0
        #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 0x1692B7
        #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 0x11 'Step Up (Normal)
        #raw 0xFE 'End of Movements
        #org 0x1A75E9
        #raw 0x2E 'Face Up (Delayed)
        #raw 0xFE 'End of Movements
        #org 0x1692C0
        #raw 0x26 'Step on the Spot Up (Faster)
        #raw 0x26 'Step on the Spot Up (Faster)
        #raw 0xFE 'End of Movements
        #org 0x71C6AD
        #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 0x11 'Step Up (Normal)
        #raw 0xFE 'End of Movements
        #org 0x71C86A
        #raw 0x52 'Jump in Place (Facing Down)
        #raw 0xFE 'End of Movements
        #org 0x71C6B7
        #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 0x10 'Step Down (Normal)
        #raw 0xFE 'End of Movements
        #org 0x71C6C1
        #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 0x71C864
        #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 0x71C86D
        #raw 0x62 'Exclamation Mark (!)
        #raw 0xFE 'End of Movements
        __________________
        ~There are those people who understand hex, F the rest
          #2508    
        Old November 23rd, 2009 (5:42 AM).
        Late's Avatar
        Late Late is offline
        Pokémon Artist
           
          Join Date: Nov 2008
          Location: "We all live in a Pokémon World!"
          Age: 22
          Gender: Male
          Nature: Careful
          Posts: 549
          Quote:
          Originally Posted by Ash493 View Post
          Well the #org @2 doesn't have end so it might be the cause of problem.
          Also #ORG @moveplayer doesn't have #raw 0xFE at the end.
          Thanks, I didn't notice the 0xFE thing. Now it works fine.
          I can finally be happy :D
          __________________

          Please feed my Pokémon and warm my eggs.
          Thanks for everyone who have clicked these, you've helped me a lot

          Anyone has Club Nintendo codes that you don't need? I want those.
          If you have one code for me I can trade you my Explorers of Sky code as I can't put it because I have registered already one. (Registered my brother's game and now I can't register mine...) Someone have same thing? PM me.
          I know there's nobody who wishes to do this xD
          I'm talking about Club Nintendo of Europe.
            #2509    
          Old November 23rd, 2009 (12:22 PM).
          Larvitar170's Avatar
          Larvitar170 Larvitar170 is offline
          Noobie hacker
             
            Join Date: Jul 2009
            Location: Kentucky.
            Gender: Male
            Nature: Modest
            Posts: 66
            Fire Red
            xse
            applymovement\giveitem\pokedex script
            Spoiler:
            #dynamic 0x802BEC

            #org @start
            checkflag 0x829
            if 0x0 goto @done
            msgbox @1 0x6
            applymovement 0xFF @moveplayer
            waitmovement 0x0
            applymovement 0x1 @moveGreen
            waitmovement 0x1
            msgbox @2 0x6
            trainerbattle 0x1 0x01E 0x0 @before @after @later
            release
            end

            #org @1
            = Hey [Player]!

            #org @moveplayer
            #raw 0x63
            #raw 0x52
            #raw 0xFE

            #org @moveGreen
            #raw 0x61
            #raw 0x13
            #raw 0x13
            #raw 0x11
            #raw 0x11
            #raw 0x11
            #raw 0x11
            #raw 0x11
            #raw 0x11
            #raw 0xFE

            #org @2
            = Daniel: I forgot to give you some stuff.\pHere you go...\nWait...you...\lYou've never had a battle, have you?\lWell, that won't do!\pHere I come!

            #org @before
            = I will take it easy, don't worry about winning.

            #org @after
            = Great battle! You are a natural.

            #org @later
            msgbox @3 0x6
            setflag 0x829
            special 0x16F
            giveitem 0x04 0x5 MSG_OBTAIN
            applymovement 0x1 @moveGreen2
            release
            end

            #org @3
            = You battle like your brother...\nYou should take the gym challenge and\lbecome better than your brother.\pWhile you are at it, take this Pokédex and Pokéballs.\pI'm sure someone out there cares about\nfilling the Pokédex.\pCome back and see me if you need me.

            #org @moveGreen2
            #raw 0x10
            #raw 0x10
            #raw 0x10
            #raw 0x10
            #raw 0x10
            #raw 0x10
            #raw 0x12
            #raw 0x12
            #raw 0x60

            #org @done
            release
            end


            The actual script runs fine until the end. However, before the actual event, Oak stand out in the middle of the area, just hanging out. After you get a pokemon, he disappears, and the event runs to his battle. However, after his battle, the text runs fine, but the applymovement doesn't happen, as he just disappears instantly. But he still blocks the way, as you can't move onto where he had just been standing afterwards.
            __________________
            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.

              #2510    
            Old November 23rd, 2009 (12:49 PM).
            NarutoActor's Avatar
            NarutoActor NarutoActor is offline
            The rocks cry out to me
            • Silver Tier
             
            Join Date: Jan 2009
            Location: Brooklyn/Marlboro
            Age: 23
            Gender: Female
            Nature: Bashful
            Posts: 1,979
            the last end movement is missing a waitmovement before posting a problem that deals with a movement script make sure that every applymovement as a waitmovement.
            __________________
            ~There are those people who understand hex, F the rest
              #2511    
            Old November 23rd, 2009 (12:56 PM).
            Larvitar170's Avatar
            Larvitar170 Larvitar170 is offline
            Noobie hacker
               
              Join Date: Jul 2009
              Location: Kentucky.
              Gender: Male
              Nature: Modest
              Posts: 66
              Quote:
              Originally Posted by NarutoActor View Post
              the last end movement is missing a waitmovement before posting a problem that deals with a movement script make sure that every applymovement as a waitmovement.
              That solves the ending of it, but this script is for after you get a pokemon. But even though I have the sprite set up and the hidden command selected in A-map, Oak is appearing as soon as I leave the house. It this an issue from the script. He disappears after you get the pokemon though. That is what makes me think it is a scripting thing.
              __________________
              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.

                #2512    
              Old November 23rd, 2009 (1:02 PM).
              NarutoActor's Avatar
              NarutoActor NarutoActor is offline
              The rocks cry out to me
              • Silver Tier
               
              Join Date: Jan 2009
              Location: Brooklyn/Marlboro
              Age: 23
              Gender: Female
              Nature: Bashful
              Posts: 1,979
              I don't fully understand your problem. but I will say this, setflages aren't instint, you need a hidesprite to make him disaprear that second. all after a special the setflag would cause him to disaprear so if he dose disaprear to early then just move the setflag to the end of the script.
              __________________
              ~There are those people who understand hex, F the rest
                #2513    
              Old November 24th, 2009 (12:35 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,475
              Quote:
              Originally Posted by Larvitar170 View Post
              Spoiler:
              #dynamic 0x802BEC

              #org @start
              checkflag 0x829
              if 0x0 goto @done
              msgbox @1 0x6
              applymovement 0xFF @moveplayer
              waitmovement 0x0
              applymovement 0x1 @moveGreen
              waitmovement 0x0
              msgbox @2 0x6
              trainerbattle 0x1 0x01E 0x0 @before @after @later
              release
              end

              #org @later
              msgbox @3 0x6
              setflag 0x829
              special 0x16F
              giveitem 0x04 0x5 MSG_OBTAIN
              applymovement 0x1 @moveGreen2
              waitmovement 0x0
              release
              end

              #org @done
              release
              end

              #org @moveplayer
              #raw 0x63
              #raw 0x52
              #raw 0xFE

              #org @moveGreen
              #raw 0x61
              #raw 0x13
              #raw 0x13
              #raw 0x11
              #raw 0x11
              #raw 0x11
              #raw 0x11
              #raw 0x11
              #raw 0x11
              #raw 0xFE

              #org @moveGreen2
              #raw 0x10
              #raw 0x10
              #raw 0x10
              #raw 0x10
              #raw 0x10
              #raw 0x10
              #raw 0x12
              #raw 0x12
              #raw 0x60
              #raw 0xFE

              #org @1
              = Hey [Player]!

              #org @2
              = Daniel: I forgot to give you some stuff.\pHere you go...\nWait...you...\lYou've never had a battle, have you?\lWell, that won't do!\pHere I come!

              #org @before
              = I will take it easy, don't worry about winning.

              #org @after
              = Great battle! You are a natural.

              #org @3
              = You battle like your brother...\nYou should take the gym challenge and\lbecome better than your brother.\pWhile you are at it, take this Pokédex and Pokéballs.\pI'm sure someone out there cares about\nfilling the Pokédex.\pCome back and see me if you need me.
              Well try to it now...
              What I fixed is in bold...
              __________________
              ROM hacking FAQ - Read before asking how to play a hack.

              Anime List | PSN Trophy List
                #2514    
              Old November 24th, 2009 (2:42 AM).
              sky_queen3's Avatar
              sky_queen3 sky_queen3 is offline
              Mimikyu is cute :3
                 
                Join Date: Feb 2009
                Location: Australia
                Age: 27
                Gender: Female
                Nature: Naive
                Posts: 263
                Quote:
                Originally Posted by HackMew View Post
                showpokepic/hidepokepic. See the Command Help inside XSE for further info.
                Doesn't look like what I had in mind, I didn't mean the picture of the Eevee itself, I think I can do that but the and the ? that appeared above Eevee's head. Thank you though, I see why I didn't make enough sense.
                __________________
                Mimic me, mimic you
                  #2515    
                Old November 24th, 2009 (2:47 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,475
                Quote:
                Originally Posted by sky_queen3 View Post
                Doesn't look like what I had in mind, I didn't mean the picture of the Eevee itself, I think I can do that but the and the ? that appeared above Eevee's head. Thank you though, I see why I didn't make enough sense.
                The #raw 0x66 didn't work?

                Here's my problem... I patched ROM with Shinyzer and I'm trying to make trainer's pokemon shiny. I did it exactly like HM has it in his tut, also used trainer with 5 pokemon and second + third pokemon shiny but when I talk to NPC the game freezes.
                Here's a script.

                Spoiler:
                #dynamic 0xA00000
                #org @start
                setvar 0x8003 0xC05
                trainerbattle 0x0 0x1 0x0 0x8A080EB 0x8A08100
                msgbox 0x8A08170
                callstd 0x6
                release
                end
                __________________
                ROM hacking FAQ - Read before asking how to play a hack.

                Anime List | PSN Trophy List
                  #2516    
                Old November 24th, 2009 (3:52 AM).
                sky_queen3's Avatar
                sky_queen3 sky_queen3 is offline
                Mimikyu is cute :3
                   
                  Join Date: Feb 2009
                  Location: Australia
                  Age: 27
                  Gender: Female
                  Nature: Naive
                  Posts: 263
                  I think raw 0x66 wasn't working 'cause I still used faceplayer and msgbox 0x2, I got it to sort of work so that's ok.

                  Hmm, try another rom in case it's something you've done (or more likely, just a plain messed up already rom) and see if it works then.
                  __________________
                  Mimic me, mimic you
                    #2517    
                  Old November 25th, 2009 (4:09 PM).
                  /Circa's Avatar
                  /Circa /Circa is offline
                  a face in the clouds.
                     
                    Join Date: Nov 2007
                    Location: Melbourne, Victoria
                    Gender: Male
                    Nature: Quiet
                    Posts: 877
                    The game just freezes when I land on the script tile, it's an earthquake btw.

                    Spoiler:
                    #dynamic 0x298B70

                    #org @main
                    checkflag 0x200
                    if 1 goto @done
                    lock
                    faceplayer
                    setvar 0x8004 0xF
                    setvar 0x8005 0xF
                    setvar 0x8006 0xF
                    setvar 0x8007 0xF
                    special 0x136
                    msgbox @what 0x6
                    setflag 0x200
                    release
                    end

                    #org @what
                    = What the hell was that?

                    #org @done
                    release
                    end
                    __________________
                    dragging himself, forw
                    ard again, the pain has
                    still not diminished. E
                    ventually though, he e
                    merges inside a v
                    ery large room w

                    here everything about

                    the house

                    suddenly

                    changes.
                      #2518    
                    Old November 25th, 2009 (5:13 PM).
                    Samike360's Avatar
                    Samike360 Samike360 is offline
                    Lover of May
                       
                      Join Date: Mar 2009
                      Location: ATL
                      Gender:
                      Nature: Bold
                      Posts: 396
                      Quote:
                      Originally Posted by Cirnos Servant View Post
                      The game just freezes when I land on the script tile, it's an earthquake btw.

                      Spoiler:
                      #dynamic 0x298B70

                      #org @main
                      checkflag 0x200
                      if 1 goto @done
                      lock
                      faceplayer
                      setvar 0x8004 0xF
                      setvar 0x8005 0xF
                      setvar 0x8006 0xF
                      setvar 0x8007 0xF
                      special 0x136
                      msgbox @what 0x6
                      setflag 0x200
                      release
                      end

                      #org @what
                      = What the hell was that?

                      #org @done
                      release
                      end
                      Did you remember asigning 0300 and 4050 to the script tile?
                      __________________





                      Please warm my eggs...I'll be sure to return the favor

                      From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
                        #2519    
                      Old November 25th, 2009 (9:37 PM). Edited November 25th, 2009 by /Circa.
                      /Circa's Avatar
                      /Circa /Circa is offline
                      a face in the clouds.
                         
                        Join Date: Nov 2007
                        Location: Melbourne, Victoria
                        Gender: Male
                        Nature: Quiet
                        Posts: 877
                        Quote:
                        Originally Posted by Samike360 View Post
                        Did you remember asigning 0300 and 4050 to the script tile?
                        Ahhh forgot that, haven't hacked in a while thats why.
                        Thanks

                        Another problem though, in this script the tile does not show, I looked at Advance Map, the X is 0B Y is 0F and the block is 288.
                        Spoiler:
                        #dynamic 0x298C31

                        #org @main
                        checkflag 0x201
                        if 1 goto @done
                        lock
                        faceplayer
                        msgbox @what 0x6
                        fadescreen 0x1
                        msgbox @strange 0x6
                        setmaptile 0x0B 0x0F 0x288 0x0
                        fadescreen 0x0
                        setflag 0x201
                        release
                        end

                        #org @done
                        lock
                        faceplayer
                        msgbox @nothing 0x6
                        release
                        end

                        #org @what
                        = I wonder what this is.

                        #org @strange
                        = What's this strange\lfeeling?

                        #org @nothing
                        = Nothing's happening.
                        __________________
                        dragging himself, forw
                        ard again, the pain has
                        still not diminished. E
                        ventually though, he e
                        merges inside a v
                        ery large room w

                        here everything about

                        the house

                        suddenly

                        changes.
                          #2520    
                        Old November 26th, 2009 (6:11 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,475
                        You should put setmaptile into special string...
                        I'm not really sure that setmaptile could be used the way you did it.
                        __________________
                        ROM hacking FAQ - Read before asking how to play a hack.

                        Anime List | PSN Trophy List
                          #2521    
                        Old November 26th, 2009 (4:06 PM).
                        Pokepal17's Avatar
                        Pokepal17 Pokepal17 is offline
                        More cowbell~
                        • Silver Tier
                         
                        Join Date: Oct 2008
                        Location: Steeltown
                        Age: 22
                        Gender: Male
                        Nature: Modest
                        Posts: 1,511
                        Quote:
                        Originally Posted by Cirnos Servant View Post
                        Ahhh forgot that, haven't hacked in a while thats why.
                        Thanks

                        Another problem though, in this script the tile does not show, I looked at Advance Map, the X is 0B Y is 0F and the block is 288.
                        Spoiler:
                        #dynamic 0x298C31

                        #org @main
                        checkflag 0x201
                        if 1 goto @done
                        lock
                        faceplayer
                        msgbox @what 0x6
                        fadescreen 0x1
                        msgbox @strange 0x6
                        setmaptile 0x0B 0x0F 0x288 0x0
                        special 0x8E
                        fadescreen 0x0
                        setflag 0x201
                        release
                        end

                        #org @done
                        lock
                        faceplayer
                        msgbox @nothing 0x6
                        release
                        end

                        #org @what
                        = I wonder what this is.

                        #org @strange
                        = What's this strange\lfeeling?

                        #org @nothing
                        = Nothing's happening.
                        You need special 0x8E after the setmaptile to refresh the map and show the changes. Fixes in bold.
                        __________________
                        Pokémon Stardrop
                          #2522    
                        Old November 26th, 2009 (4:29 PM).
                        Quickster's Avatar
                        Quickster Quickster is offline
                        Dream or Drop?
                           
                          Join Date: Oct 2007
                          Gender: Male
                          Nature: Quiet
                          Posts: 351
                          Is it possible to read the time played in a game,specifically fire red, and create scripts around taht,for example.Checks the time and if its been played for at least an hour a cript will be able to happen?
                          __________________
                          I laugh looking at this.

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

                            #2523    
                          Old November 26th, 2009 (5:13 PM).
                          Ven's Avatar
                          Ven Ven is offline
                          Tyrian
                             
                            Join Date: Aug 2009
                            Gender: Male
                            Posts: 126
                            Game: FireRed
                            Type: Event
                            Editor: XSE
                            Script:
                            Spoiler:
                            #dynamic 0x71A28C

                            #org @start
                            checkflag 0x102
                            if 0x1 goto @noez
                            if 0x0 goto @continue
                            end

                            #org @noez
                            release
                            end

                            #org @continue
                            playsong 0x128 0x1
                            msgbox @text 0x6
                            closeonkeypress
                            special 0x113
                            applymovement 0x7F @move
                            waitmovement 0x0
                            special 0x114
                            applymovement 0x6 @move2
                            applymovement 0x7 @move3
                            applymovement 0x8 @move4
                            waitmovement 0x0
                            msgbox @text2 0x6
                            closeonkeypress
                            special 0x113
                            applymovement 0x7F @move5
                            waitmovement 0x0
                            special 0x114
                            setflag 0x102
                            setflag 0x103
                            end

                            #org @text
                            = [Blue_fr]H-help me!

                            #org @text2
                            = [blue_fr]Hello! You over there!\nPlease! Help!\pNear my BAG!\nThere's a POKé BALL!

                            #org @move
                            #raw 0x0A 0x0A 0xFE

                            #org @move2
                            #raw 0x20 0x20 0x1D 0x20 0x20 0x20 0x1D 0x1D 0x1F 0x1F 0x1E 0x1E 0x20 0x20 0x1D 0x02 0xFE

                            #org @move3
                            #raw 0x20 0x20 0x20 0x1D 0x20 0x20 0x20 0x1D 0x1D 0x1F 0x1F 0x1E 0x1E 0x20 0x1D 0x03 0xFE

                            #org @move4
                            #raw 0x1E 0x20 0x20 0x20 0x1D 0x20 0x20 0x20 0x1D 0x1D 0x1F 0x1F 0x1E 0x1E 0x20 0x20 0x00 0xFE

                            #org @move5
                            #raw 0x0F 0xFE

                            Screenshots and/or Videos: N/A
                            My main problem is on move2 move3 and move 4.
                            Move2 Work's perfectly, but the other two don't move at all, also the waitmovement command won't work, and it just goes straight to the text.
                            Also, I'm trying to make all three movements happen at the same time.
                            __________________
                            ---
                              #2524    
                            Old November 26th, 2009 (5:16 PM).
                            Pokepal17's Avatar
                            Pokepal17 Pokepal17 is offline
                            More cowbell~
                            • Silver Tier
                             
                            Join Date: Oct 2008
                            Location: Steeltown
                            Age: 22
                            Gender: Male
                            Nature: Modest
                            Posts: 1,511
                            Quote:
                            Originally Posted by Quickster View Post
                            Is it possible to read the time played in a game,specifically fire red, and create scripts around taht,for example.Checks the time and if its been played for at least an hour a cript will be able to happen?
                            Yep, I believe the command comparefarbytetobyte is what you would need.
                            __________________
                            Pokémon Stardrop
                              #2525    
                            Old November 26th, 2009 (5:28 PM).
                            colcolstyles's Avatar
                            colcolstyles colcolstyles is offline
                            Yours truly
                            • Crystal Tier
                             
                            Join Date: May 2008
                            Location: The Bay Area
                            Gender: Male
                            Nature: Lonely
                            Posts: 1,584
                            Quote:
                            Originally Posted by Quickster View Post
                            Is it possible to read the time played in a game,specifically fire red, and create scripts around taht,for example.Checks the time and if its been played for at least an hour a cript will be able to happen?
                            Try reading HackMew's first ASM tutorial in the Documents and Tutorials section. If you adapt his code, you should be able to obtain the current playing time down to the millisecond.

                            For future reference, this question would be better asked in the Simple Questions Thread.
                            __________________

                            Brother of Vrai
                            Closed Thread
                            Quick Reply

                            Sponsored Links
                            Thread Tools

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

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

                            Forum Jump


                            All times are GMT -8. The time now is 2:06 PM.