• 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] Aion hurt himself in confusion...

24
Posts
9
Years
    • Seen Nov 18, 2023
    Okay so I'm still trying to get my Give Pikachu script to work...and no luck... I press A to talk to the guy to initiate the script...and nothing happens.. it just beeps when I press A and thats it... What the hell is happening >:( Heres is the script attached to him



    #org 0x886B6CC
    '-----------------------------------
    #raw 0xFF
    lock
    faceplayer
    checkflag 0x1200
    if true jump 0x886B6F1 ' Flag is set
    msgbox 0x886B714 ' Hey there!\pYou seem...
    compare LASTRESULT 0x1
    if == jump 0x886B6F9 ' Equal To
    msgbox 0x886B759 ' Oh? That's too bad.\...
    release
    end

    #org 0x886B6F1
    '-----------------------------------
    msgbox 0x886B809 ' How's that pikachu d...
    release
    end

    #org 0x886B6F9
    '-----------------------------------
    msgbox 0x886B790 ' Oh! That's GREAT!\pH...
    fanfare 0x13E
    msgbox 0x886B7F2 ' \v\h01 recieved a PI...
    waitfanfare
    setflag 0x1200
    msgbox 0x886B7AF ' Thanks again! I thin...
    release
    end


    #org 0x886B714
    = Hey there!\pYou seem like a nice person!\nWould you like this Pikachu?

    #org 0x886B759
    = Oh? That's too bad.\pCome back if you change your mind.

    #org 0x886B809
    = How's that pikachu doing?\nHopefully good.

    #org 0x886B790
    = Oh! That's GREAT!\pHere you go!

    #org 0x886B7F2
    = \v\h01 recieved a PIKACHU!

    #org 0x886B7AF
    = Thanks again! I think it will have\nmore fun with you than with me.
     

    Phantom Phoenix

    Lost on the road of life
    167
    Posts
    8
    Years
    • Age 27
    • ???
    • Seen Jul 1, 2020
    msgbox 0x886B790 ' Oh! That's GREAT!\pH...
    fanfare 0x13E
    givepolemon 0x(pokemon species number in hex) 0x(level of pkmn) 0x(item to hold) 0x0 0x0 0x0
    msgbox F2 ' \v\h01 recieved a PI...
    you haven't used givepokemon command there.So,you will never get a pokemon..
     
    24
    Posts
    9
    Years
    • Seen Nov 18, 2023
    Oops.. forgot to put that rofl.. thought i did XD

    EDIT: Added that in..still nothing
     
    794
    Posts
    10
    Years
  • What is that scripting language? Syntax looks terrible, anyway any reason you're using flag 0x1200? It's not a safe flag.
     

    Phantom Phoenix

    Lost on the road of life
    167
    Posts
    8
    Years
    • Age 27
    • ???
    • Seen Jul 1, 2020
    It was compiled with PKSV

    I am not familiar with PKSV scripting language.But,PKSV has a script generator.So,make sample givepokemon script through script generator and then see how givepokemon is done in PKSV.Then I think you will figure out yourself how it is done
     

    Micael Alighieri

    Helix Boo / Lord Kaktus, ex-member from Whack a Ha
    97
    Posts
    16
    Years
    • Seen May 24, 2017
    The problem is quite simple actually, I'm not familiarized with PKSV's language, but I think you forgot the callstd commands after every msgbox.
     
    Back
    Top