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

Script Help Thread (DO NOT REQUEST SCRIPTS)

Status
Not open for further replies.

trebornosliw

Learning
516
Posts
14
Years
    • Seen Jul 22, 2012
    I have a huge problem, and to be honest, I'm not even sure if it's script related...
    Basically, the whole screen just goes blue after the intro. Nothing else happens. What's up?
    Is it possibly because I put a level script on the bottom floor of my house?
     

    NarutoActor

    The rocks cry out to me
    1,974
    Posts
    15
    Years
  • maby the level script is messet up(45%) maby the rom got croupted some how(10%) try going to wah (something hacking).com theres a tutorial dealing with patching that automaticaly fixes a big problem :D
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    I assume you mean whackahack.com.
    I'll give it a try. Thanks!
    Still, if anyone else knows exactly what this is, please tell me. I really don't want to have to start this project all over again...
    EDIT: Just checked, the whole site is in Spanish.
     
    Last edited:

    NarutoActor

    The rocks cry out to me
    1,974
    Posts
    15
    Years
  • I dont think you will need to start over again and If nothing works rip every new thing you made in the hack and insert it to a clean one at loungest it should only take a whole day
     

    monkeyman2092

    Aipom Awesome!!
    140
    Posts
    14
    Years
    • Seen Sep 7, 2009
    I assume you mean whackahack.com.
    I'll give it a try. Thanks!
    Still, if anyone else knows exactly what this is, please tell me. I really don't want to have to start this project all over again...
    EDIT: Just checked, the whole site is in Spanish.

    A good way to translate the whackahack.com website, use Google translate.
     

    trebornosliw

    Learning
    516
    Posts
    14
    Years
    • Seen Jul 22, 2012
    I have political and ethical issues with using Google...
    But anyway, I couldn't even find anything that looked remotely related to my problem...
    I'll wait for a bit, then maybe start transferring...
    Aargh...
     
    74
    Posts
    14
    Years
    • Age 29
    • USA
    • Seen Aug 22, 2010
    I've always had problems with give item scripts, and flags. Would anyone be able to tell me what the problem is with this one? The guy says his line twice, and then doesn't give me the item.

    Spoiler:


    There's the script.
     

    NarutoActor

    The rocks cry out to me
    1,974
    Posts
    15
    Years
  • #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    if 0x1 goto @empty
    release
    end

    #org @success
    msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x200
    end

    #org @empty
    msgbox @nopotion 0x3 MSG_KEEPOPEN
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!

    there I added the keep open if you still have trouble post here
     
    74
    Posts
    14
    Years
    • Age 29
    • USA
    • Seen Aug 22, 2010
    #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    if 0x1 goto @empty
    release
    end

    #org @success
    msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x200
    end

    #org @empty
    msgbox @nopotion 0x3 MSG_KEEPOPEN
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!

    there I added the keep open if you still have trouble post here
    The same crap happens. Except now, I can walk around when he's talking, and I still don't receive a potion.
     

    NarutoActor

    The rocks cry out to me
    1,974
    Posts
    15
    Years
  • #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    if 0x1 goto @empty
    release
    end

    #org @success
    Lock
    msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x200
    release
    end

    #org @empty
    lock
    msgbox @nopotion 0x3 MSG_KEEPOPEN
    release
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!

    I aded some locks and releases
     
    Last edited:
    74
    Posts
    14
    Years
    • Age 29
    • USA
    • Seen Aug 22, 2010
    #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    if 0x1 goto @empty
    release
    end

    #org @success
    Lock
    msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x200
    release
    end

    #org @empty
    lock
    msgbox @nopotion 0x3 MSG_KEEPOPEN
    release
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!

    I aded some locks and releases
    Alright, one problem is fixed. It stopped letting me walk around as he talked. But, I still do not receive the potion, and he still says the @stole part twice!
     

    Sierraffinity

    Desperately trying to retire from ROM hacking
    1,069
    Posts
    16
    Years
  • #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    checkflag 0x200
    if 0x1 goto @empty
    release
    end

    #org @success
    lock
    msgbox @stole MSG_NORMAL
    giveitem 0xD 0x1 0x0
    setflag 0x200
    release
    end

    #org @empty
    lock
    msgbox @nopotion MSG_NORMAL
    release
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!
    Try this one, where I built upon NarutoActor's script.
     

    Pokepal17

    More cowbell~
    1,519
    Posts
    15
    Years
  • #dynamic 0x800A0B

    #org @start
    lock
    faceplayer
    checkflag 0x200
    if 0x0 goto @success
    if 0x1 goto @empty
    release
    end

    #org @success
    Lock
    msgbox msgbox @stole 0x3 MSG_KEEPOPEN '
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x200
    release
    end

    #org @empty
    lock
    msgbox @nopotion 0x3 MSG_KEEPOPEN
    release
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!

    I aded some locks and releases

    Here's the optimized fixed version.
    #org @start
    checkflag 0x1000
    if 0x0 goto @success
    msgbox @nopotion MSG_FACE
    end

    #org @success
    lock
    msgbox msgbox @stole 0x3 MSG_NORMAL
    giveitem 0xD 0x1 0x3
    fanfare 0x13E
    waitfanfare
    setflag 0x1000
    release
    end

    #org @stole
    = He appears to be sleeping.\pWhat's that in his hand?\nLet's take it!

    #org @nopotion
    = He is still sleeping...\nbut doesn't have anymore potions!


    Also, use flags which are 0x1000 and above.
     
    Status
    Not open for further replies.
    Back
    Top