• 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.

[Other✓] Someone please help me, issue with hack

20
Posts
11
Years
    • Seen Nov 1, 2018
    Hey guys. I really need help. I'm making a pokemon fire red rom hack and my 1st script works great and everything but when you go to my second script downstairs the mom does the first apply movement then the screen changes colors and resets the rom. Another issue I had was when I walked outside my house it reseted. I did change the house picture if that had anything to do with it. but I kept the warp tiles just didn't seem to work. please help.
     

    Logan

    [img]http://pldh.net/media/pokecons_action/403.gif
    10,417
    Posts
    15
    Years
  • Hey guys. I really need help. I'm making a pokemon fire red rom hack and my 1st script works great and everything but when you go to my second script downstairs the mom does the first apply movement then the screen changes colors and resets the rom. Another issue I had was when I walked outside my house it reseted. I did change the house picture if that had anything to do with it. but I kept the warp tiles just didn't seem to work. please help.
    Thread belongs in the Beginner's Lounge subforum.

    Moved.
     
    20
    Posts
    11
    Years
    • Seen Nov 1, 2018
    How can anyone possibly diagnose an issue from a vague description? If you don't even have the script any more, why not just recreate it?
    Okay so heres the script please help its happening with all my scripts

    Spoiler:
     
    Last edited by a moderator:

    Danny0317

    Fluorite's back, brah
    1,067
    Posts
    10
    Years
    • Age 24
    • Seen Nov 19, 2023
    Pretty sure you have to put waitmovement 0x0, not the person number
     
    5,256
    Posts
    16
    Years
  • Code:
    #dynamic 0x800000
    #include stditems.rbh
    #include stdpoke.rbh
    
    //---------------
    #org @start
    lock
    applymovement 0x1 @move1
    waitmovement 0x0
    textcolor 0x0
    msgbox @string1 MSG_NORMAL //"[red_fr]Mom: [player]!\pOh my gosh..."
    closeonkeypress
    fadesong 0x152
    applymovement 0x1 @move2
    waitmovement 0x0
    applymovement 0x2 @move3
    waitmovement 0x0
    msgbox @string2 MSG_NORMAL //"Friend: I am so sorry [player].\nI..."
    closeonkeypress
    goto @snippet1
    
    //---------------
    #org @snippet1
    hidepokepic
    showpokepic PKMN_HITMONLEE 0xA 0x3
    bufferpokemon 0x0 PKMN_HITMONLEE
    msgbox @string3 MSG_YESNO //"Do you want [buffer1]?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet2
    goto @snippet3
    
    //---------------
    #org @snippet2
    setvar 0x8004 0x6A
    goto @snippet4
    
    //---------------
    #org @snippet3
    hidepokepic
    showpokepic PKMN_HITMONCHAN 0xA 0x3
    bufferpokemon 0x0 PKMN_HITMONCHAN
    msgbox @string3 MSG_YESNO //"Do you want [buffer1]?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet5
    goto @snippet1
    
    //---------------
    #org @snippet4
    hidepokepic
    bufferpokemon 0x0 0x8004
    givepokemon 0x8004 0x5 ITEM_NONE 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @string4 MSG_KEEPOPEN //"[black_fr][player] obtained\na [bu..."
    setflag 0x828
    waitfanfare
    closeonkeypress
    msgbox @string5 MSG_NORMAL //"Here, have this POKéDEX.\pYou can'..."
    fanfare 0x13E
    msgbox @string6 MSG_KEEPOPEN //"[black_fr][player] obtained\na POK..."
    setflag 0x829
    waitfanfare
    closeonkeypress
    msgbox @string7 MSG_NORMAL //"Also, you'll need something to\nca..."
    giveitem ITEM_POKEBALL 0x5 MSG_OBTAIN
    msgbox @string8 MSG_KEEPOPEN //"Well. I'm going to help you on\nyo..."
    closeonkeypress
    applymovement 0x2 @move4
    waitmovement 0x0
    setvar 0x4011 0x1
    release
    end
    
    //---------------
    #org @snippet5
    setvar 0x8004 0x6B
    goto @snippet4
    
    
    //---------
    // Strings
    //---------
    #org @string1
    = [red_fr]Mom: [player]!\pOh my gosh this is horrible.\pI really didn't think I would ever\nhave to tell me son this.\pThis morning me and your father\nwent on a little walk on Route 1\lto talk about some stuff.\pWhen some strange men walked out\nof the cave and took Dad!\pLike they just picked him up and\nwalked away!\p[.]I'm so sorry son.\pI'm gonna go find somewhere\nprivate to think.\pI love you.
    
    #org @string2
    = Friend: I am so sorry [player].\nI saw it all.\pI was fighting some wild POKéMON\nwhen the weird men took your dad[.]\pThey were in strange outfits[.]\pI have two POKéMON, if you'd like\nto take one.
    
    #org @string3
    = Do you want [buffer1]?
    
    #org @string4
    = [black_fr][player] obtained\na [buffer1]!
    
    #org @string5
    = Here, have this POKéDEX.\pYou can't have more POKéMON\nwithout a POKéDEX!\pWith this, you can record how many\nPOKéMON you've both seen and\lcaught!
    
    #org @string6
    = [black_fr][player] obtained\na POKéDEX!
    
    #org @string7
    = Also, you'll need something to\ncatch POKéMON with.
    
    #org @string8
    = Well. I'm going to help you on\nyour way.\pI feel so bad.\pI'm going to the Elite Four one\nday.\pMaybe after you avenge your father\nyou can try to beat the Elite Four!\pYou're going to need to fight\nthrough the all the Gyms though, a\llittle challenge.\pWell, I gotta go, I'm going to go\nfight through all the Gyms so I\lcan reach the Elite Four.\pCatch ya later!\pI'm sorry about your father bud.
    
    
    //-----------
    // Movements
    //-----------
    #org @move1
    #raw 0x61 //Show
    #raw 0x53 //Jump in Place (Facing Up)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0xFE //End of Movements
    
    #org @move2
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (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 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x60 //Hide
    #raw 0xFE //End of Movements
    
    #org @move3
    #raw 0x61 //Show
    #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 0x11 //Step Up (Normal)
    #raw 0x11 //Step Up (Normal)
    #raw 0x11 //Step Up (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0xFE //End of Movements
    
    #org @move4
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (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 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x60 //Hide
    #raw 0xFE //End of Movements

    I've tried to salvage that script to something somewhat usable. I haven't tested it completely in-game but it should work.
     
    20
    Posts
    11
    Years
    • Seen Nov 1, 2018
    Code:
    #dynamic 0x800000
    #include stditems.rbh
    #include stdpoke.rbh
    
    //---------------
    #org @start
    lock
    applymovement 0x1 @move1
    waitmovement 0x0
    textcolor 0x0
    msgbox @string1 MSG_NORMAL //"[red_fr]Mom: [player]!\pOh my gosh..."
    closeonkeypress
    fadesong 0x152
    applymovement 0x1 @move2
    waitmovement 0x0
    applymovement 0x2 @move3
    waitmovement 0x0
    msgbox @string2 MSG_NORMAL //"Friend: I am so sorry [player].\nI..."
    closeonkeypress
    goto @snippet1
    
    //---------------
    #org @snippet1
    hidepokepic
    showpokepic PKMN_HITMONLEE 0xA 0x3
    bufferpokemon 0x0 PKMN_HITMONLEE
    msgbox @string3 MSG_YESNO //"Do you want [buffer1]?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet2
    goto @snippet3
    
    //---------------
    #org @snippet2
    setvar 0x8004 0x6A
    goto @snippet4
    
    //---------------
    #org @snippet3
    hidepokepic
    showpokepic PKMN_HITMONCHAN 0xA 0x3
    bufferpokemon 0x0 PKMN_HITMONCHAN
    msgbox @string3 MSG_YESNO //"Do you want [buffer1]?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet5
    goto @snippet1
    
    //---------------
    #org @snippet4
    hidepokepic
    bufferpokemon 0x0 0x8004
    givepokemon 0x8004 0x5 ITEM_NONE 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @string4 MSG_KEEPOPEN //"[black_fr][player] obtained\na [bu..."
    setflag 0x828
    waitfanfare
    closeonkeypress
    msgbox @string5 MSG_NORMAL //"Here, have this POKéDEX.\pYou can'..."
    fanfare 0x13E
    msgbox @string6 MSG_KEEPOPEN //"[black_fr][player] obtained\na POK..."
    setflag 0x829
    waitfanfare
    closeonkeypress
    msgbox @string7 MSG_NORMAL //"Also, you'll need something to\nca..."
    giveitem ITEM_POKEBALL 0x5 MSG_OBTAIN
    msgbox @string8 MSG_KEEPOPEN //"Well. I'm going to help you on\nyo..."
    closeonkeypress
    applymovement 0x2 @move4
    waitmovement 0x0
    setvar 0x4011 0x1
    release
    end
    
    //---------------
    #org @snippet5
    setvar 0x8004 0x6B
    goto @snippet4
    
    
    //---------
    // Strings
    //---------
    #org @string1
    = [red_fr]Mom: [player]!\pOh my gosh this is horrible.\pI really didn't think I would ever\nhave to tell me son this.\pThis morning me and your father\nwent on a little walk on Route 1\lto talk about some stuff.\pWhen some strange men walked out\nof the cave and took Dad!\pLike they just picked him up and\nwalked away!\p[.]I'm so sorry son.\pI'm gonna go find somewhere\nprivate to think.\pI love you.
    
    #org @string2
    = Friend: I am so sorry [player].\nI saw it all.\pI was fighting some wild POKéMON\nwhen the weird men took your dad[.]\pThey were in strange outfits[.]\pI have two POKéMON, if you'd like\nto take one.
    
    #org @string3
    = Do you want [buffer1]?
    
    #org @string4
    = [black_fr][player] obtained\na [buffer1]!
    
    #org @string5
    = Here, have this POKéDEX.\pYou can't have more POKéMON\nwithout a POKéDEX!\pWith this, you can record how many\nPOKéMON you've both seen and\lcaught!
    
    #org @string6
    = [black_fr][player] obtained\na POKéDEX!
    
    #org @string7
    = Also, you'll need something to\ncatch POKéMON with.
    
    #org @string8
    = Well. I'm going to help you on\nyour way.\pI feel so bad.\pI'm going to the Elite Four one\nday.\pMaybe after you avenge your father\nyou can try to beat the Elite Four!\pYou're going to need to fight\nthrough the all the Gyms though, a\llittle challenge.\pWell, I gotta go, I'm going to go\nfight through all the Gyms so I\lcan reach the Elite Four.\pCatch ya later!\pI'm sorry about your father bud.
    
    
    //-----------
    // Movements
    //-----------
    #org @move1
    #raw 0x61 //Show
    #raw 0x53 //Jump in Place (Facing Up)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1E //Step Up (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0x1F //Step Left (Fast)
    #raw 0xFE //End of Movements
    
    #org @move2
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (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 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x60 //Hide
    #raw 0xFE //End of Movements
    
    #org @move3
    #raw 0x61 //Show
    #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 0x11 //Step Up (Normal)
    #raw 0x11 //Step Up (Normal)
    #raw 0x11 //Step Up (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0x12 //Step Left (Normal)
    #raw 0xFE //End of Movements
    
    #org @move4
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (Normal)
    #raw 0x13 //Step Right (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 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x10 //Step Down (Normal)
    #raw 0x60 //Hide
    #raw 0xFE //End of Movements

    I've tried to salvage that script to something somewhat usable. I haven't tested it completely in-game but it should work.
    Thank you! it worked somewhat. Can you tell me how you did this so that next time I can do it the correct way
     
    Back
    Top