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
  #2401    
Old October 17th, 2009 (12:32 PM).
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
    Game: Fire Red
    Type: Trigger
    Editor: Pokescript
    Script:
    Spoiler:
    #org $script
    lock
    checkflag 0x828
    if 0x01 goto $flag
    applymovement 0x12 $move
    $move 1 ; #binary 0x62 0x18 0x18 0x18 0x18 0xFE
    pausemove 0x0000
    message $talk
    $talk 1 = Hello there.\nI heard from my collegue\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.
    msgbox 6
    release
    end

    #org $flag
    end


    Screenshots and/or Videos: Can't give you pics yet because of 15 post lock

    Okay, so I'm not a big Pokescript fan, but I've used it before and I think I can see a few problems with your script. Changes in bold. Remember to always use hex numerals, I think that's the issue here.
    Also, you might need to seperate your move command like a msgbox, but I'm not sure (you do in XSE...)
    Seriously, change to XSE. It's way better, and very, very easy to learn if you already know Pokescript.
    ...Yeah, don't know enough about Pokescript to change more than that...

    Quote:
    Originally Posted by bigtukker View Post
    I made a script tile after oaks door
    When I go through that door, nothing happens and when i step up and down, the game freezes...

    I made a XSE script too:

    Spoiler:

    '---------------
    #org 0x80145B
    lockall-(this might not be necessary, but it helps)
    checkflag 0x828
    if 0x1 goto 0x8801480
    applymovement 0x9 0x8801481
    waitmovement 0x0
    msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
    releaseall
    end

    '---------------
    #org 0x801480
    releaseall
    end

    '---------
    ' Strings
    '---------
    #org 0x801487
    = Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.

    '-----------
    ' Movements
    '-----------
    #org 0x801481
    #raw 0x62 'Exclamation Mark (!)
    #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

    Oh, this is the same thing. In XSE. Cool.
    I take it you extracted this from the game. When you edit and reinsert this, copy, paste, and compile it. DO NOT try to decompile, edit, then recompile it.
    Umm, why are the targets for applymovement different in both scripts?
    By the way, if you apply the changes above, the script will work if you step onto it after entering the map, but it still will not work right when you enter the lab. For that, you need a Level script; Cooley's done two absolutely terrific tutorials on level scripting, look them up.

    That's all I can think of for that.

    My own problem:

    Spoiler:

    #dynamic 0x800000
    #org @rival1
    lockall
    checkflag 0x100B
    if 0x1 goto @done
    msgbox @hey 0x6
    applymovement 0x1 @walkdown
    waitmovement 0x0
    msgbox @who 0x6
    trainerbattle 0x1 0x001 0x0 @begin @end @after
    releaseall
    end
    #org @after
    msgbox @noway 0x6
    applymovement 0x1 @thinking
    waitmovement 0x0
    msgbox @noway2 0x6
    applymovement 0x1 @donethinking
    waitmovement 0x0
    msgbox @goodbye 0x6
    applymovement 0x1 @leaving
    waitmovement 0x0
    hidesprite 0x1
    setflag 0x100B
    release
    end
    #org @done
    releaseall
    end
    #org @hey
    = Hey, what're you doing out here?
    #org @who
    = Who're you? And how'd you get\nout here? There aren't supposed\lto be any humans living out this\lfar!\p...\n...\l...\lWhat, never seen another human\lbeing before? Speak up!\p...\nWHAT?!\lYou can't be serious. How can\lanyone be raised by Pok\h1bmon?!\p...And you've got Pok\h1bballs on\nyour belt, where'd you get those?\pA Pok\h1bmon gave them to you?\nAre you crazy? Pok\h1bmon don't\leven understand English! You can't\ltalk to a Pok\h1bmon!\pAlright, I'm tired of this. You\nmust be a Trainer, so let's\lbattle!\p...you...don't...know...what...\na...battle...is...\p..........................\n......................\pWHAT IS WRONG WITH YOU?!\p...(Sheesh, maybe all that talk\nwas true after all. If it\lwas, I'll beat this rookie easily...)\pAlright then, I'll show you how\nto battle. Send out your Pok\h1bmon!
    #org @begin
    = Ready, go!
    #org @end
    = Impossible! You must have been\nlying to me!
    #org @noway
    = WHAT! I LOST?!\p...Liar! There's no way this was\nyour first battle! I refuse\lto accept it!\p...Urk, I can't believe I lost...
    #org @noway2
    = (But then, if that story was a lie...\phow...all the way out here...
    #org @goodbye
    = Fine then, I'll head back to\nFrontier Town. Next time, I won't\lgo so easy on you!
    #org @walkdown
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0x10
    #raw 0xFE

    #org @thinking
    #raw 0x01
    #raw 0x1C
    #raw 0x63
    #raw 0xFE

    #org @donethinking
    #raw 0x1C
    #raw 0x1C
    #raw 0x00
    #raw 0xFE

    #org @leaving
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x60
    #raw 0xFE


    The applymovement target doesn't walk down like I want him to. People # is 100B, so he vanishes right, and event # is 1. Oh, Unknown is 3, Movement 11, and on the script itself, unknown 3 var number 4050.

    __________________

    Credit for my avatar goes to the Lego company.


    Relevant Advertising!

      #2402    
    Old October 18th, 2009 (3:19 AM).
    Aberbecam Aberbecam is offline
    Banned
       
      Join Date: Oct 2009
      Location: In my reality.
      Gender: Female
      Nature: Naughty
      Posts: 192

      This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

      Spoiler:
      #dynamic 0x800000

      #org @start
      checkflag 0x1000
      if 0x1 goto @end
      applymovement 0x04 @move
      waitmovement 0x0
      playsong 0x14C 0x0
      msgbox @1 0x2
      givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
      fanfare 0x13E
      setflag 0x828
      msgbox @2 0x2
      applymovement 0x4 @move2
      msgbox @3 0x2
      setflag 0x829
      applymovement 0x4 @move3
      fadesong 0x150
      end

      #org @end
      release
      end

      #org @move
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x11
      #raw 0x11
      #raw 0x02
      #raw 0xFE

      #org @move2
      #raw 0x10
      #raw 0x10
      #raw 0x65
      #raw 0x11
      #raw 0x11
      #raw 0x02
      #raw 0xFE

      #org @move3
      #raw 0x10
      #raw 0x10
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x01
      #raw 0x60
      #raw 0xFE

      #org @1
      = Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI

      have the perfect\npokemon for you.

      #org @2
      = Prof.Realm: Take care of\nCharmender! cya later

      #org @3
      = Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a

      PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside

      the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!

        #2403    
      Old October 18th, 2009 (3:22 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: 25
      Gender: Male
      Nature: Calm
      Posts: 14,494

      Quote:
      Originally Posted by Aberbecam View Post
      This is a script i made it works perfectly, But whenever i step on it the script keeps on happening and hears the script

      Spoiler:
      #dynamic 0x800000

      #org @start
      checkflag 0x1000
      if 0x1 goto @end
      applymovement 0x04 @move
      waitmovement 0x0
      playsong 0x14C 0x0
      msgbox @1 0x2
      givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
      fanfare 0x13E
      setflag 0x828
      msgbox @2 0x2
      applymovement 0x4 @move2
      msgbox @3 0x2
      setflag 0x829
      applymovement 0x4 @move3
      fadesong 0x150
      end

      #org @end
      release
      end

      #org @move
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x12
      #raw 0x11
      #raw 0x11
      #raw 0x02
      #raw 0xFE

      #org @move2
      #raw 0x10
      #raw 0x10
      #raw 0x65
      #raw 0x11
      #raw 0x11
      #raw 0x02
      #raw 0xFE

      #org @move3
      #raw 0x10
      #raw 0x10
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x13
      #raw 0x01
      #raw 0x60
      #raw 0xFE

      #org @1
      = Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI

      have the perfect\npokemon for you.

      #org @2
      = Prof.Realm: Take care of\nCharmender! cya later

      #org @3
      = Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a

      PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside

      the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!

      Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003

      __________________

      ROM hacking FAQ - Read before asking how to play a hack.

      Anime List | PSN Trophy List

        #2404    
      Old October 18th, 2009 (3:26 AM).
      Logan's Avatar
      Logan Logan is offline

      • Platinum Tier
       
      Join Date: Nov 2008
      Location: Salisbury, England
      Age: 22
      Gender: Male
      Nature: Sassy
      Posts: 10,028

      Quote:
      Originally Posted by Ash493 View Post
      Use setvar 0x(variable number) 0x1 in script as one of commands and then put the same variable number into "var number" in A-Map when ya view the script :) That would be it I guess... since it's working I guess ya filled the Unknown bar with 0003
      Actually he only has to setflag 0x1000.

      __________________

      Wait, I saw bare kicks, saw bare clothes
      Said psyduck that, I can't wear those
      I don't like them, they're not my ting
      They went silent, they're all weirdos

        #2405    
      Old October 18th, 2009 (7:50 AM).
      bigtukker bigtukker is offline
         
        Join Date: Mar 2009
        Gender:
        Posts: 71

        Hi,
        I have this problem
        I enter this:

        Spoiler:

        '---------------
        #org 0x80145B
        lockall
        checkflag 0x300
        if 0x1 goto 0x8801480
        applymovement 0x1 0x8801481
        waitmovement 0x0
        msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
        setflag 0x300
        applymovement 0x1 0x800000
        releaseall
        end

        '---------------
        #org 0x801480
        releaseall
        end

        '---------
        ' Strings
        '---------
        #org 0x801487
        = Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.

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

        #org 0x80000
        #raw 0x09
        #raw 0xFE

        and when I open it again in AdvanceMap I get this:

        Spoiler:

        '---------------
        #org 0x80145B
        lockall
        checkflag 0x300
        if 0x1 goto 0x8801480
        applymovement 0x1 0x8801481
        waitmovement 0x0
        msgbox 0x8801487 MSG_NORMAL '"Hello there.\nI heard from my coll..."
        setflag 0x300
        applymovement 0x1 0x6B800000
        settrainerflag 0x1010
        '---------------
        #org 0x801480
        releaseall
        settrainerflag 0x1010

        '---------
        ' Strings
        '---------
        #org 0x801487
        = Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.

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

          #2406    
        Old October 18th, 2009 (7:58 AM).
        Logan's Avatar
        Logan Logan is offline

        • Platinum Tier
         
        Join Date: Nov 2008
        Location: Salisbury, England
        Age: 22
        Gender: Male
        Nature: Sassy
        Posts: 10,028

        Code:
        #dynamic 0x[offset]

        #org @start lockall checkflag 0x300 if 0x1 goto @done setflag 0x300 applymovement 0x1 @move1 waitmovement 0x0 msgbox @msg1 MSG_NORMAL applymovement 0x1 @move2 waitmovement 0x0 releaseall end

        #org @done release end

        #org @msg1 = Hello there.\nI heard from my colleague\lProfessor Oak, that you are\lbeginning your journey.\pI've got some help from\nProf. Oak, Prof. Birch and Prof. Elm\lto get these starters for you.\pSo choose wisely.

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

        #org @move2 #raw 0x09 #raw 0xFE

        Just put in your own dynamic offset, and compile that.

        __________________

        Wait, I saw bare kicks, saw bare clothes
        Said psyduck that, I can't wear those
        I don't like them, they're not my ting
        They went silent, they're all weirdos

          #2407    
        Old October 18th, 2009 (3:26 PM).
        trebornosliw's Avatar
        trebornosliw trebornosliw is offline
        Learning
           
          Join Date: Jul 2009
          Age: 24
          Gender: Male
          Nature: Adamant
          Posts: 523

          I am obnoxiously redirecting attention to my post at the very top of this page, namely, my script down at the bottom. Anyone know what's wrong?

          __________________

          Credit for my avatar goes to the Lego company.

            #2408    
          Old October 18th, 2009 (7:43 PM).
          Aberbecam Aberbecam is offline
          Banned
             
            Join Date: Oct 2009
            Location: In my reality.
            Gender: Female
            Nature: Naughty
            Posts: 192

            Quote:
            Originally Posted by Manipulation View Post

            Actually he only has to setflag 0x1000.

            Uhmm..script works one time and the sprite does disappear when i setflag and one more thing, When i go to a new map the sprite appears again and the script happens again. How do i make the sprite disappear permenantly? and how do i stop the script from repeating? these are the numbers i put for the sprite-

            Person Event NO:4
            Picture NO:71
            Unknown:00 03
            Pos {X/Y}: 001D 0005
            Person ID: 1000

            and for the script i put these numbers-

            Pos {X/Y}: 0015 0003
            Unknown: 0003
            Var Number: 4050

            And hear is the script-

            Spoiler:

            #dynamic 0x800000

            #org @start
            checkflag 0x1000
            if 0x1 goto @end
            applymovement 0x04 @move
            waitmovement 0x0
            playsong 0x149 0x0
            msgbox @1 0x2
            givepokemon 0x4 0x10 0x0 0x0 0x0 0x0
            fanfare 0x13E
            setflag 0x828
            msgbox @2 0x2
            applymovement 0x4 @move2
            msgbox @3 0x2
            setflag 0x829
            applymovement 0x4 @move3
            fadesong 0x150
            setflag 0x1000
            end

            #org @end
            release
            end

            #org @move
            #raw 0x12
            #raw 0x12
            #raw 0x12
            #raw 0x12
            #raw 0x12
            #raw 0x12
            #raw 0x12
            #raw 0x11
            #raw 0x11
            #raw 0x02
            #raw 0xFE

            #org @move2
            #raw 0x10
            #raw 0x10
            #raw 0x65
            #raw 0x11
            #raw 0x11
            #raw 0x02
            #raw 0xFE

            #org @move3
            #raw 0x10
            #raw 0x10
            #raw 0x13
            #raw 0x13
            #raw 0x13
            #raw 0x13
            #raw 0x13
            #raw 0x13
            #raw 0x13
            #raw 0x01
            #raw 0x60
            #raw 0xFE

            #org @1
            = Prof.Realm: Hey [player]!\nYou are starting\lyour journey today no?\p[player]:Yes it is this\nday. Give me\lmy pokemon!\pProf.Realm: Whow stay\ncalm! :/\pI have the perfect\npokemon for you.

            #org @2
            = Prof.Realm: Take care of\nCharmender! cya later

            #org @3
            = Prof.Realm: Oh yeah\ni forgot something\pelse, Will you do\na private mission?\p[player]: Sure,Sounds\ninteresting. What is it?\pProf.Realm: Its a PokeDex\nmission,first take\lthis pokedex\pNow while you\ntravel around you will\lsee all kinds of pokemons\pjust record the data\nof each pokemon\linside the pokedex\pAnd thats about it\nBye,Visit my\plab soon.\p[player]: Go away already!

            Soooo...Please help.

              #2409    
            Old October 18th, 2009 (11:07 PM).
            mervyn797 mervyn797 is offline
            What? I'm right here. >D
               
              Join Date: Mar 2009
              Gender: Male
              Nature: Careful
              Posts: 1,704

              umm... anyone knows what went wrong here?

              Code:
              #org 0x874013F
              '-----------------------------------
              lock
              checkflag 0x8c3
              if true jump @end
              applymovement PLAYER 0x8740161 ' look_left say_! end
              applymovement 0x4 0x8740164 ' look_down look_right...
              message 0x8740167 ' \v\h06: Awesome weat...
              showmsg
              closemsg
              applymovement 0x4 0x87401C3 ' run_down run_down ru...
              disappear 0x4
              setflag 0x8c3
              release
              end

              #org @end release end

              #org 0x8740167 = \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!

              #org 0x8740161 M look_left say_! end

              #org 0x8740164 M look_down look_right end

              #org 0x87401C3 M run_down run_down run_down end

              its in pksv and is a trigger type.

                #2410    
              Old October 19th, 2009 (3:46 AM). Edited October 19th, 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 mervyn797 View Post
                umm... anyone knows what went wrong here?
                Spoiler:

                Code:
                #org 0x874013F
                '-----------------------------------
                lock
                checkflag 0x8c3
                if true jump @end
                applymovement PLAYER 0x8740161 ' look_left say_! end
                applymovement 0x4 0x8740164 ' look_down look_right...
                waitmovement 0x0
                message 0x8740167 ' \v\h06: Awesome weat...
                showmsg
                closemsg
                applymovement 0x4 0x87401C3 ' run_down run_down ru...
                disappear 0x4
                setflag 0x8c3
                release
                end

                #org @end release end

                #org 0x8740167 = \v\h06: Awesome weather right?\nLet's hurry up!\p Don't want to be late\n for out first Pokemon!

                #org 0x8740161 M look_left say_! end

                #org 0x8740164 M look_down look_right end

                #org 0x87401C3 M run_down run_down run_down end


                its in pksv and is a trigger type.
                I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
                Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.

                __________________

                Credit for my avatar goes to the Lego company.

                  #2411    
                Old October 19th, 2009 (11:07 AM).
                bigtukker bigtukker is offline
                   
                  Join Date: Mar 2009
                  Gender:
                  Posts: 71

                  Game: Fire Red
                  Type: Trigger
                  Editor: XSE
                  Script:

                  Spoiler:

                  '---------------
                  #org 0x2E4F18
                  faceplayer
                  trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
                  msgbox 0x82E4EFD MSG_NORMAL '"My Pidgey's still awesome"
                  release
                  end

                  '---------
                  ' Strings
                  '---------
                  #org 0x2E4EE0
                  = Fear my Pidgey

                  #org 0x2E4F41
                  = I should fear you!

                  #org 0x2E4EFD
                  = My Pidgey's still awesome


                  Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
                  Problem: Crashes after !-sign

                  Advance Map
                  Person Event
                  No: 0
                  Mark active sprite (active)
                  Person event no: 1
                  Picture no: 39
                  Unknown: 00 00
                  Pos (X/Y): 0015 001F
                  Unknown: 00
                  Movement type: No Movement
                  Movement: 00
                  Unknown: 00
                  Trainer(active)
                  Unknown: 00
                  View radius: 0007
                  Script offset: $2E4F18
                  Person ID: 0000
                  Unknown: 00 00

                    #2412    
                  Old October 20th, 2009 (2:02 AM). Edited October 20th, 2009 by mervyn797.
                  mervyn797 mervyn797 is offline
                  What? I'm right here. >D
                     
                    Join Date: Mar 2009
                    Gender: Male
                    Nature: Careful
                    Posts: 1,704

                    Quote:
                    Originally Posted by trebornosliw View Post
                    I'm definitely more of an XSE person than Pokesav, but I've made one adjustment that might help. Where exactly does the problem arise, though? Are the movements messed up?
                    Also, I'm assuming that you've got Unknown set to 3 and Var Number set to 4050 for this script.
                    the other sprites movements dont work, the message appears well. the player movements work
                    im guessing its something to do with the person ID?
                    no worries, it worked, thanks!

                      #2413    
                    Old October 20th, 2009 (4:38 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: 25
                    Gender: Male
                    Nature: Calm
                    Posts: 14,494

                    Quote:
                    Originally Posted by bigtukker View Post
                    Spoiler:

                    '---------------
                    #org 0x2E4F18
                    lock
                    trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
                    msgbox 0x82E4EFD
                    callstd 0x6
                    release
                    end

                    '---------
                    ' Strings
                    '---------
                    #org 0x2E4EE0
                    = Fear my Pidgey

                    #org 0x2E4F41
                    = I should fear you!

                    #org 0x2E4EFD
                    = My Pidgey's still awesome


                    Person Event
                    No: 0
                    Mark active sprite (active)
                    Person event no: 1
                    Picture no: 39
                    Unknown: 00 00
                    Pos (X/Y): 0015 001F
                    Unknown: 00
                    Movement type: No Movement
                    Movement: 00
                    Unknown: 00
                    Trainer(active)
                    Unknown: 00
                    View radius: 0007
                    Script offset: $2E4F18
                    Person ID: 0000
                    Unknown: 00 00
                    And do ya have the 001 trainer in ROM filled with someone?

                    __________________

                    ROM hacking FAQ - Read before asking how to play a hack.

                    Anime List | PSN Trophy List

                      #2414    
                    Old October 20th, 2009 (4:56 AM).
                    bigtukker bigtukker is offline
                       
                      Join Date: Mar 2009
                      Gender:
                      Posts: 71

                      Yes I have a Trainer with a Pidgey with Tackle, Sand Attack and Ice Punch

                        #2415    
                      Old October 20th, 2009 (4:59 AM).
                      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
                        Game: Fire Red
                        Type: Trigger
                        Editor: XSE
                        Script:
                        Spoiler:

                        '---------------
                        #org 0x2E4F18
                        faceplayer
                        trainerbattle 0x0 0x1 0x0 0x82E4EE0 0x82E4F41
                        msgbox 0x82E4EFD MSG_NORMAL '"My Pidgey's still awesome"
                        release
                        end

                        '---------
                        ' Strings
                        '---------
                        #org 0x2E4EE0
                        = Fear my Pidgey

                        #org 0x2E4F41
                        = I should fear you!

                        #org 0x2E4EFD
                        = My Pidgey's still awesome


                        Screenshots and/or Videos: Can't give you pics yet because of 15 post lock
                        Problem: Crashes after !-sign

                        Advance Map
                        Person Event
                        No: 0
                        Mark active sprite (active)
                        Person event no: 1
                        Picture no: 39
                        Unknown: 00 00
                        Pos (X/Y): 0015 001F
                        Unknown: 00
                        Movement type: No Movement
                        Movement: 00
                        Unknown: 00
                        Trainer(active)
                        Unknown: 00
                        View radius: 0007
                        Script offset: $2E4F18
                        Person ID: 0000
                        Unknown: 00 00

                        Firstly, I think you might have to have a unique Person ID for this guy.
                        Second, make sure you've checked the trainer box.
                        Now, if the screen just goes red after the !, go to advance map and open up that map. Find your event.
                        Now make another person event with all the same settings as your old event, and replace the trainer with the new person (same OW). Then try it. That often helps, though I have absolutlely no clue why.

                        And I'm going to cry for help again. Please, please go to the top of this page and tell me what's wrong with my script.

                        __________________

                        Credit for my avatar goes to the Lego company.

                          #2416    
                        Old October 20th, 2009 (5:11 AM).
                        bigtukker bigtukker is offline
                           
                          Join Date: Mar 2009
                          Gender:
                          Posts: 71

                          Still no good, I guess I'm gonna try Pokescript

                            #2417    
                          Old October 20th, 2009 (7:35 AM).
                          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
                            Still no good, I guess I'm gonna try Pokescript
                            No, Pokescript wouldn't make this any better as far as I know...
                            Here, try this:

                            Spoiler:

                            #dynamic 0x800000

                            #org @battle
                            lock
                            faceplayer
                            trainerbattle 0x0 0x001 0x0 @before @after
                            msgbox @stillawesome 0x6
                            closeonkeypress
                            release
                            end

                            #org @before
                            = FEAR MY PIDGEY!

                            #org @after
                            = ...I should fear you!

                            #org @stillawesome
                            = My Pidgey's still awesome!

                            Make sure to check the trainer box and all that. If the screen goes red, just make another person event exactly like it and replace the first one.

                            And from now on I'm sticking this in every post. Please someone, look at the top of this page and tell me what's wrong with my script there.

                            __________________

                            Credit for my avatar goes to the Lego company.

                              #2418    
                            Old October 20th, 2009 (11:22 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: 25
                            Gender: Male
                            Nature: Calm
                            Posts: 14,494

                            Quote:
                            Originally Posted by trebornosliw View Post
                            Here, try this:
                            Better would be this way. But I don't know if that's gonna help...

                            Spoiler:

                            #dynamic 0x800000

                            #org @battle
                            lock
                            trainerbattle 0x0 0x1 0x0 @before @after
                            msgbox @stillawesome 0x4
                            closeonkeypress
                            release
                            end

                            #org @before
                            = FEAR MY PIDGEY!

                            #org @after
                            = ...I should fear you!

                            #org @stillawesome
                            = My Pidgey's still awesome!

                            __________________

                            ROM hacking FAQ - Read before asking how to play a hack.

                            Anime List | PSN Trophy List

                              #2419    
                            Old October 20th, 2009 (1:02 PM).
                            bigtukker bigtukker is offline
                               
                              Join Date: Mar 2009
                              Gender:
                              Posts: 71

                              Thanks guys, but I should tell you something even weirder. I made a trainer EXACTLY like an existing one and it still crashes... Could it be the rom?

                                #2420    
                              Old October 20th, 2009 (7:33 PM).
                              trebornosliw's Avatar
                              trebornosliw trebornosliw is offline
                              Learning
                                 
                                Join Date: Jul 2009
                                Age: 24
                                Gender: Male
                                Nature: Adamant
                                Posts: 523

                                No, that's something that's happened to me before.
                                Seriously do this: make an entirely new person event, tailor it so it's exactly like the one you're using, then replace the old with the new and delete the old. i've had that same problem before and this fixes it every time.
                                You know Ash493, this may be off-topic, but I find your signature mildly creepy (no offense ).

                                And once again, please, someone look at the top of this page and tell me what's wrong with my script.

                                __________________

                                Credit for my avatar goes to the Lego company.

                                  #2421    
                                Old October 21st, 2009 (12:37 AM). Edited October 21st, 2009 by bigtukker.
                                bigtukker bigtukker is offline
                                   
                                  Join Date: Mar 2009
                                  Gender:
                                  Posts: 71

                                  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

                                    #2422    
                                  Old October 21st, 2009 (2:12 AM).
                                  Ben.'s Avatar
                                  Ben. Ben. is offline
                                  Orange I s l a n d s~
                                  • Silver Tier
                                   
                                  Join Date: Jun 2009
                                  Location: England
                                  Age: 21
                                  Gender: Male
                                  Nature: Quirky
                                  Posts: 626

                                  Firered
                                  Pocket Script

                                  Spoiler:
                                  #org $scrpit
                                  lock
                                  faceplayer
                                  message $question
                                  $question 1 = Are you from Pallet Town?
                                  boxset 5
                                  compare 0x800d 0x0001
                                  if 0x01 goto $yes
                                  message $no
                                  $no 1 = You're not? That's too bad.
                                  boxset 6
                                  release
                                  end
                                  #org $yes
                                  message $yes1
                                  $yes1 1 = You are? That's great!
                                  boxset
                                  release
                                  end

                                  Yes or no question i wont talk to me
                                  i only started yesterday

                                  __________________



                                    #2423    
                                  Old October 21st, 2009 (2:15 AM).
                                  bigtukker bigtukker is offline
                                     
                                    Join Date: Mar 2009
                                    Gender:
                                    Posts: 71

                                    Quote:
                                    Originally Posted by Ben. View Post
                                    Firered
                                    Pocket Script
                                    Spoiler:
                                    #org $scrpit
                                    lock
                                    faceplayer
                                    message $question
                                    $question 1 = Are you from Pallet Town?
                                    boxset 5
                                    compare 0x800d 0x0001
                                    if 0x01 goto $yes
                                    message $no
                                    $no 1 = You're not? That's too bad.
                                    boxset 6
                                    release
                                    end

                                    #org $yes
                                    message $yes1
                                    $yes1 1 = You are? That's great!
                                    boxset 6
                                    release
                                    end


                                    Yes or no question i wont talk to me
                                    i only started yesterday

                                    this is the only mistake i saw, but i don't think this will help...

                                      #2424    
                                    Old October 21st, 2009 (2:27 AM).
                                    Ben.'s Avatar
                                    Ben. Ben. is offline
                                    Orange I s l a n d s~
                                    • Silver Tier
                                     
                                    Join Date: Jun 2009
                                    Location: England
                                    Age: 21
                                    Gender: Male
                                    Nature: Quirky
                                    Posts: 626

                                    Quote:
                                    Originally Posted by bigtukker View Post
                                    this is the only mistake i saw, but i don't think this will help...
                                    Thanks i forgot to burn it to the rom is the problem *faceplam*

                                    __________________



                                      #2425    
                                    Old October 21st, 2009 (3:56 AM).
                                    destinedjagold's Avatar
                                    destinedjagold destinedjagold is offline
                                    Oh Hai Thar~
                                    • Silver Tier
                                     
                                    Join Date: May 2007
                                    Location: Philippines
                                    Age: 26
                                    Gender: Male
                                    Nature: Careful
                                    Posts: 8,526

                                    Quote:
                                    Originally Posted by trebornosliw View Post
                                    My own problem:
                                    Spoiler:

                                    #dynamic 0x800000
                                    #org @rival1
                                    lockall
                                    checkflag 0x100B
                                    if 0x1 goto @done
                                    msgbox @hey 0x6
                                    applymovement 0x1 @walkdown
                                    waitmovement 0x0
                                    msgbox @who 0x6
                                    trainerbattle 0x1 0x001 0x0 @begin @end @after
                                    releaseall
                                    end
                                    #org @after
                                    msgbox @noway 0x6
                                    applymovement 0x1 @thinking
                                    waitmovement 0x0
                                    msgbox @noway2 0x6
                                    applymovement 0x1 @donethinking
                                    waitmovement 0x0
                                    msgbox @goodbye 0x6
                                    applymovement 0x1 @leaving
                                    waitmovement 0x0
                                    hidesprite 0x1
                                    setflag 0x100B
                                    release
                                    end
                                    #org @done
                                    releaseall
                                    end
                                    #org @hey
                                    = Hey, what're you doing out here?
                                    #org @who
                                    = Who're you? And how'd you get\nout here? There aren't supposed\lto be any humans living out this\lfar!\p...\n...\l...\lWhat, never seen another human\lbeing before? Speak up!\p...\nWHAT?!\lYou can't be serious. How can\lanyone be raised by Pok\h1bmon?!\p...And you've got Pok\h1bballs on\nyour belt, where'd you get those?\pA Pok\h1bmon gave them to you?\nAre you crazy? Pok\h1bmon don't\leven understand English! You can't\ltalk to a Pok\h1bmon!\pAlright, I'm tired of this. You\nmust be a Trainer, so let's\lbattle!\p...you...don't...know...what...\na...battle...is...\p..........................\n......................\pWHAT IS WRONG WITH YOU?!\p...(Sheesh, maybe all that talk\nwas true after all. If it\lwas, I'll beat this rookie easily...)\pAlright then, I'll show you how\nto battle. Send out your Pok\h1bmon!
                                    #org @begin
                                    = Ready, go!
                                    #org @end
                                    = Impossible! You must have been\nlying to me!
                                    #org @noway
                                    = WHAT! I LOST?!\p...Liar! There's no way this was\nyour first battle! I refuse\lto accept it!\p...Urk, I can't believe I lost...
                                    #org @noway2
                                    = (But then, if that story was a lie...\phow...all the way out here...
                                    #org @goodbye
                                    = Fine then, I'll head back to\nFrontier Town. Next time, I won't\lgo so easy on you!
                                    #org @walkdown
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0x10
                                    #raw 0xFE

                                    #org @thinking
                                    #raw 0x01
                                    #raw 0x1C
                                    #raw 0x63
                                    #raw 0xFE

                                    #org @donethinking
                                    #raw 0x1C
                                    #raw 0x1C
                                    #raw 0x00
                                    #raw 0xFE

                                    #org @leaving
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x1E
                                    #raw 0x60
                                    #raw 0xFE


                                    The applymovement target doesn't walk down like I want him to. People # is 100B, so he vanishes right, and event # is 1. Oh, Unknown is 3, Movement 11, and on the script itself, unknown 3 var number 4050.

                                    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~

                                    __________________



                                    FC: 0061-1111-6462
                                    TSV: 1364(X), 0790(OR)

                                    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 4:12 AM.