• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Script help thread

Status
Not open for further replies.
112
Posts
17
Years
  • ...But the offset in a-map is like this form:$16582F,not like this:800046

    But it didn't work well...the log like this:
    Code:
    #PROCESS: D:\HACK ROM工程\ROM\修改后的ROM\Pokemon - Fire Red Version.gba F:2 for read
    ------------------------------------------------------------------------------
    #PROCESS: D:\HACK ROM工程\ROM\修改后的ROM\Pokemon - Fire Red Version.gba F:3 for read
    ------------------------------------------------------------------------------
    - Pushed test.$showtext to 800046
    - Pushed test.$nocookie to 800050
    #PROCESS: D:\HACK ROM工程\ROM\修改后的ROM\Pokemon - Fire Red Version.gba F:4 for read
    ------------------------------------------------------------------------------
    - Adjusting test.$nocookie in 0 at 8800050
    - Putting [jZ
    - Putting [?′á
    |
    \- Processed 0 Lines
    There are some Chinese characters in it ,but
    Notice this:
    - Putting [jZ
    - Putting [?′á

    It's not normal ,isn't it ?And what should I do?I want to get the right Offsets.

    Well, maybe its that your ROM is not a clean one...the problem most people have and do not consider re downloading. Are you sure your ROM is a US one? As in when you downloaded it, was its name Pokemon Fire Red (U)?
    It seems that there your ROM is a Japanese one..pretty wierd.
    Also, if the offset is 800046 then you put it in AdvanceMap as $800046, not so hard, self explanatory really.. Do not need to know rocket science for that...
     
    24
    Posts
    16
    Years
  • Well, maybe its that your ROM is not a clean one...the problem most people have and do not consider re downloading. Are you sure your ROM is a US one? As in when you downloaded it, was its name Pokemon Fire Red (U)?
    It seems that there your ROM is a Japanese one..pretty wierd.
    Also, if the offset is 800046 then you put it in AdvanceMap as $800046, not so hard, self explanatory really.. Do not need to know rocket science for that...

    Lol what Giovanni said....
     
    112
    Posts
    17
    Years
  • how do you know if you have a clean rom or not?

    Well, obviously if you cannot hack the ROM properly, it is most likely to not be a nice clean copy. Just you have to download it off a reliable site, which i cannot give links to, and thats about it. Also, if you cant patch a hack into the ROM then again it is most probable that the ROM is not clean. If you ever encounter consistant problems which you cant find faults in your scripts, or anything while hacking, try redownloading a new ROM, its a good solution.
     

    WindBlows

    It's been a long time!
    749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    I suck at scripting.... really....

    I need help with Applymovement Scripts... really I would pay GOLD for lessons.

    Anyways I need a basic apply movement Script would be very useful:

    This start when you step on a S Square.

    A "!" pops out from OW #1

    She looks left and locks you and tells you:

    SUN YE: Hey, I was looking for you.
    Prof. Ahgoo is looking for a person that
    can take care of a Pokémon.
    You should go and recieve it...
    Anyways, I have to go and find the YASANGMA
    CITY train station.

    See you and good luck!

    And then that OW walks 2 down, 3 left, and 5 down and dissappears..

    thanks that's all ^^.
     

    Lord Skall

    Zeik Tuvai
    15
    Posts
    16
    Years
    • Seen Apr 25, 2009
    Hi, could someone please help me with my script? It shows: Prof. Kauri: Hello \v\h01, \n your turning 14 today\p then ends and i have the Pokemon but it enables the Pokedex and it says i'm in the safari zone.

    #org $begin
    lock
    faceplayer
    checkflag 0x800
    if B_true goto $gotit
    message $q
    boxset 0x6
    givepokemon 133 5 0
    setflag 0x800
    release
    end
    #org $gotit
    message $hi
    boxset 0x6
    release
    end
    #org $q
    $q 1 = Prof. Kauri: Hello \v\h01, \n your turning 14 today\p
    arn't you? All trainers get \na Pokémon at this age.\p
    I only have one left. \nThis Pokémon has many \p
    different evolutions so \nchoose carefuly.\p
    You should go on to \nthe next town and\p
    see the Pokémon Researcher \nthat lives there. Good\p
    luck on your journey \n\v\h01.
    #org $hi
    $hi 1 = Prof. Kauri: Hello \v\h01, how's \nyour journey going?
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • I suck at scripting.... really....

    I need help with Applymovement Scripts... really I would pay GOLD for lessons.

    Anyways I need a basic apply movement Script would be very useful:

    This start when you step on a S Square.

    A "!" pops out from OW #1

    She looks left and locks you and tells you:

    SUN YE: Hey, I was looking for you.
    Prof. Ahgoo is looking for a person that
    can take care of a Pokémon.
    You should go and recieve it...
    Anyways, I have to go and find the YASANGMA
    CITY train station.

    See you and good luck!

    And then that OW walks 2 down, 3 left, and 5 down and dissappears..

    thanks that's all ^^.
    Ok, I'll try!

    Code:
    #org $start
    checkflag 0x(flag)
    if b_true goto $happened
    applymovement 0x01 $exclamation
    $exclamation 1 ; 0x62 0xFE
    pausemove 0
    applymovement 0x01 $turn
    applymovement 0xFF $turn1
    $turn 1 ; 0x02 0xFE
    $turn1 1 ; 0x03 0xFE
    pausemove 0
    message $talk
    $talk 1 = SUN YE: Hey, I was looking for you.\pProf. Ahgoo is looking for a person \nthat can take care of a Pokémon.\pYou should go and recieve it...\n
    Anyways, I have to go and find the\lYASANGMA CITY train station.
    boxset 6
    applymovement 0x01 $bye
    $bye 1 ; 0x10 0x10 0x12 0x12 0x12 0x10 0x10 0x10 0x10 0x10 0xFE
    pausemove 0
    #raw 0x53 0x01 0x00
    setflag 0x(flag)
    release
    end
    
    #org $happened
    release
    end

    That wasn't so hard...

    Remember to put in People ID(people no. 1) the flag number.



    Hi, could someone please help me with my script? It shows: Prof. Kauri: Hello \v\h01, \n your turning 14 today\p then ends and i have the Pokemon but it enables the Pokedex and it says i'm in the safari zone.

    Code:
    #org $begin
    lock
    faceplayer
    checkflag 0x800
    if B_true goto $gotit
    message $q
    boxset 0x6
    givepokemon 133 5 0
    setflag 0x800
    release
    end
    #org $gotit
    message $hi
    boxset 0x6
    release
    end
    #org $q
    $q 1 = Prof. Kauri: Hello \v\h01, \n your turning 14 today\p
    arn't you? All trainers get \na Pokémon at this age.\p
    I only have one left. \nThis Pokémon has many \p
    different evolutions so \nchoose carefuly.\p 
    You should go on to \nthe next town and\p
    see the Pokémon Researcher \nthat lives there. Good\p 
    luck on your journey \n\v\h01.
    #org $hi
    $hi 1 = Prof. Kauri: Hello \v\h01, how's \nyour journey going?

    Setflag 0x800 is the Safari Zone menu activator thingy. In fireRed/Leafgreen
    setflag 0x829 is the Pokedex enabler on Fr/Lg
    Special 0x16F is the National pokedex enabler on fr/lg
     
    Last edited:

    WindBlows

    It's been a long time!
    749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    Thanks cooley!

    That's was really helpful!

    Anyways Read your PM's please!
     
    219
    Posts
    16
    Years
  • Well, maybe its that your ROM is not a clean one...the problem most people have and do not consider re downloading. Are you sure your ROM is a US one? As in when you downloaded it, was its name Pokemon Fire Red (U)?
    It seems that there your ROM is a Japanese one..pretty wierd.
    Also, if the offset is 800046 then you put it in AdvanceMap as $800046, not so hard, self explanatory really.. Do not need to know rocket science for that...
    No, It's a US version ROM,and very clean. I try to fill up with the offset $800000, but when I talk to the man , it just pop up a blank with nothing......
    This is my script :
    Code:
    #org $begin
    lock
    faceplayer
    message $howareyou
    $howareyou 1 =Hey \v\h01!\nHows your journey going?
    boxset 6
    release
    end
    And this is the log:
    Code:
     - Pushed test.$begin to 800000
     - Pushed test.$howareyou to 80000C
    #PROCESS: D:\HACK ROM\ROM\hack ROM\Pokemon - Fire Red Version.gba F:3 for read
    -----------------------------------------------------------------------------
     - Adjusting test.$howareyou in 0 at 880000C
     - Putting [jZ
     - Putting [?ùí
    |
    \- Processed 0 Lines
    That's too bad...
     

    Lord Skall

    Zeik Tuvai
    15
    Posts
    16
    Years
    • Seen Apr 25, 2009
    Thanks, could you tell me what flag activates the Pokemon option in the menu?
     

    /Circa

    a face in the clouds.
    881
    Posts
    16
    Years
  • No, It's a US version ROM,and very clean. I try to fill up with the offset $800000, but when I talk to the man , it just pop up a blank with nothing......
    This is my script :
    Code:
    #org $begin
    lock
    faceplayer
    message $howareyou
    $howareyou 1 =Hey \v\h01!\nHows your journey going?
    boxset 6
    release
    end
    And this is the log:
    Code:
     - Pushed test.$begin to 800000
     - Pushed test.$howareyou to 80000C
    #PROCESS: D:\HACK ROM\ROM\hack ROM\Pokemon - Fire Red Version.gba F:3 for read
    -----------------------------------------------------------------------------
     - Adjusting test.$howareyou in 0 at 880000C
     - Putting [jZ
     - Putting [?ùí
    |
    \- Processed 0 Lines
    That's too bad...

    Doesn't BufRite come up? Cause then you have to click the book, find your Rom, click the first offset. Then click assign, now burn it and the offset should be there. Maybe you don't compile it properly?
     
    18
    Posts
    16
    Years
    • Seen Feb 12, 2011
    Cutscene?

    Is it possible to add a cutscene to your game? (a series of images or something? .avi, .mp4 maybe?) If so could anyone explain it to me?

    Thanks,
    bcj15
     
    112
    Posts
    17
    Years
  • I'm sure that the script has been complied......is the right offset in the BufR window??


    0x800,That's what you want

    Well, if the box pops up and nothing appears like you said before, then the script compiled properly but the text didnt, meaning that there is some error in the text, and i think it might be this:
    $howareyou 1 =Hey \v\h01!\nHows your journey going?
    I think it should be:
    $howareyou 1 = Hey \v\h01!\nHow's your journey going?(Note the gap i put between the equals sign and they Hey)
     
    Last edited:
    219
    Posts
    16
    Years
  • Well, if the box pops up and nothing appears like you said before, then the script compiled properly but the text didnt, meaning that there is some error in the text, and i think it might be this:
    $howareyou 1 =Hey \v\h01!\nHows your journey going?
    I think it should be:
    $howareyou 1 = Hey \v\h01!\nHow's your journey going?(Note the gap i put between the equals sign and they Hey)
    My god...still doesn't work ....
    But thank you ~
     
    112
    Posts
    17
    Years
  • My god...still doesn't work ....
    But thank you ~

    Ok i got a solution.
    Open up a hex editor, if you dont have one download Translhextion, best one in my opinion.
    Now go to offset 0x80000C which in a hex editor should be under 0080000C
    This particular offset because your compiler said that the script was compiled into the offset 0x80000C.
    Now, in the documents\tutorials, look for thethethethe's guide on scripting in hex and then go to the bit where it says what hexdecimal means each letter.
    Next, check that the script you compiled is there. If it isnt, alternatively, just script it straight into there, by using the hexdecimal for each letter(such as like AD = a full stop).
    Also, you might want to check 00800000 to see if there is a bit in the script that points to 0080000C, just look at thex4 tut for more explanation on doing so or PM me.
     
    219
    Posts
    16
    Years
  • Ok i got a solution.
    Open up a hex editor, if you dont have one download Translhextion, best one in my opinion.
    Now go to offset 0x80000C which in a hex editor should be under 0080000C
    This particular offset because your compiler said that the script was compiled into the offset 0x80000C.
    Now, in the documents\tutorials, look for thethethethe's guide on scripting in hex and then go to the bit where it says what hexdecimal means each letter.
    Next, check that the script you compiled is there. If it isnt, alternatively, just script it straight into there, by using the hexdecimal for each letter(such as like AD = a full stop).
    Also, you might want to check 00800000 to see if there is a bit in the script that points to 0080000C, just look at thex4 tut for more explanation on doing so or PM me.
    Is there another way?? I don't understand thethethethe's that tutorials......
     
    Status
    Not open for further replies.
    Back
    Top