• 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 Requests/Sharing/Discussion

Status
Not open for further replies.

light_trainer921

Flamethrower Helper
137
Posts
17
Years
  • Well, I'm not sure about editing the level script. You may want to read (teh baro's?, not sure) tutorial on Levfel scripts at WaH. I can tell you how to remove the event if you want.

    Add 'setvar 0x4057 0x1' to an earlier script to negate the oak's parcel event.

    I'm not going to negate it. The parcel is for another character who is also in the lab(a trainer, not the rival).
     
    9
    Posts
    17
    Years
    • Seen Sep 7, 2012
    Erh...Why is it that an error message will pop up saying 'Run time error 6: Overflow' everytime I try to compile script?
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • Alright, I have a script.
    I think I know what it does x].

    When you land on the spot, the person comes over to you and talks to you, then you follow him to the next spot? If so, how can I make him walk away and dissapear so the script doesn't happen again?

    Code:
    #org $begin
    checkflag 0x200
    if B_true goto $done
    playsound 0x13B
    #raw 0x33
    applymovement 0x01 $mw1
    [B]pausemove 0[/B] - You'd be better off doing that, because you don't have to count. You put 'pause 0x50' its supposed to be 0x100
    message $mt1
    boxset 6
    applymovement 0x01 $mw2
    applymovement 0xFF $mw2
    pause 0x50
    fadesound
    [B]setflag 0x200[/B]
    release
    end
    
    #org $done
    release
    end
    
    #org $mw1
    $mw1 ; #binary 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0xFE
    
    #org $mt1
    $mt1 1 = Did you see someone come through here?\lArgh, wait...\lYour the new neighbour!\pLets find this guy!
    
    #org $mw2
    $mw2 1 ; #binary 0x13 0x13 0x11 0x11 0x11 0xFE

    Thanks.

    Oh, and what do I have to do to make this work for a certain person?
    Like.. Person number 18?
    To make him dissapear then add 0x60 to the end of an apllymovement script.

    Just put the people number on the applymovement script, like: Applymovement 0x18 $offset, I think.


    I also edited the changes in Bold.
     

    light_trainer921

    Flamethrower Helper
    137
    Posts
    17
    Years
  • Can someone make me a scirpt when the Viridian Mart keeper gives you a Town Map instead of Oak's Parcel?

    Somebody?

    You'd be better off not messing with the mart. The event is programmed into the map, and cannot be altered.(Correct me if I'm Wrong).

    Reason: Because, You would have to give prof.OAK the town map, and he won't accept it because it isn't Oak's Parcel.
    Then you can't go back to the mart and buy supplies, because you need to give oak his parcel, and it continues.

    Unless you can script real good, then you shouldn't mess with it.

    Like I said, the parcel is at the at building I created at A-Map and it's not for Oak it for someone in Oak's lab but I still need to trigger the Pokédex event.

    Well, I'm not sure about editing the level script. You may want to read (teh baro's?, not sure) tutorial on Levfel scripts at WaH. I can tell you how to remove the event if you want.

    Add 'setvar 0x4057 0x1' to an earlier script to negate the oak's parcel event.

    Tried but it's Spanish even if I click the English version of WaH.
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • Question: Can I add a signpost script to a map, and when I click on it a wild battle will occur? (In other words, I add a wildbattle script to a signpost script)

    Tried but it's Spanish even if I click the English version of WaH.
    Just Translate that block of text.
     

    Lupe

    isn't she cute...
    119
    Posts
    16
    Years
  • hey got a question i added mew in a route in fr and it wont obey me even thou i already have all the badges,sorry i dont know if this question was asked before
     

    spenceroone3

    <he eats lots of burgers.
    215
    Posts
    16
    Years
  • That is not really related to hacking at all, that is part of Nintendos programming. They wanted to stop people from Gamesharking/Action Replaying their game. Hey, it worked! lol.
     
    1,104
    Posts
    16
    Years
  • hey got a question i added mew in a route in fr and it wont obey me even thou i already have all the badges,sorry i dont know if this question was asked before

    Well... I'm not that sure but I think it's because there is something in the 'programming' of mew that stops it from listening unless you catch it on faraway island(Is that where you catch it?). Someone would have to check it to tell you for sure. It might be beyond me, but I'll try and look, one day, eventually. Sorry that isn't much help.
     
    31
    Posts
    16
    Years
    • Seen Mar 26, 2008
    Can anybody change this script, so the person walks up to the player?

    Spoiler:
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • What's wrong with my script?
    When the earthquak begin,it doesn't stop^^
    and the second text don't work:


    #org $start
    lock
    faceplayer
    message $temps
    boxset 6
    special 0x136
    message $quoi
    boxeset 6
    release
    end

    #org $temps
    $temps 1 =La Gs BaLL reagit...

    #org $quoi
    $quoi 1 =Hein!!Que ce t'il passé?
     

    WindBlows

    It's been a long time!
    749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    I need a script please,

    It's only an earthquake of 5 seconds, and the text:

    Whoa! That's was huge!

    thanks
     
    185
    Posts
    16
    Years
  • A Pokéscript script I made, but for some reason, the pokeball doesn't disappear after I get the item... :

    Code:
    #ORG $start
    checkflag 0x2FE
    if b_True goto $stop
    lock
    giveitem 0x8 1
    message $Received
    $Received 1 =You received a NET BALL.
    jingle
    release
    setflag 0x2FE
    end
    
    #ORG $stop
    end

    Plz tell me what's wrong with this....
     

    Martin Yiu

    disappeared... forever
    493
    Posts
    18
    Years
    • Seen Feb 8, 2008
    So, I might be wrong, but I think the point's in the improper position of the setflag command.
    Code:
    #ORG $start
    lock
    checkflag 0x2FE
    if b_True goto $stop
    giveitem 0x8 1
    message $Received
    $Received 1 =You received a NET BALL.
    jingle
    setflag 0x2FE
    release
    end
    
    #ORG $stop
    release
    end

    You had the lock command improperly put in, it has to be in the very start of the script, usually. And the release and end command should be one after another. So, try this one. But since I don't like the pokéscript scripting language, I will make you a classic script and try to compile with classic ScriptEd or use HackMew's XSE.
    Code:
    #org 0x800000 
    lock
    checkflag 0x2FE
    if 0x1 goto 0x800100  
    giveitem 0x8 0x1
    fanfare 0x13F
    msgbox 0x800200 
    waitfanfare
    setflag 0x2FE
    release
    end
    
    #org 0x800200 
    = You received a NET BALL. 
    
    #org 0x800100
    release
    end

    This one may have some mistakes. Try to use the Pokéscript one first, if not working, try this one, if still not working, post again.
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • Hi, i've got a probleme with my script:

    Code:
    #org $start
    lock
    faceplayer
    message $pika
    boxset 6
    #raw 75
    #raw 01
    #raw 99
    #raw 0A
    #raw 03
    #raw 76
    release 
    end
    
    #org $pika
    $pika 1 =Pika!!!!

    I want to character say: Pika!!!
    then the Jirachi pictures appear
    But when i insert the script,something is wrong.
    Script Requests/Sharing/Discussion

    And the texte doesn't appear.
    Can anyone help me please?
    Thank you.
     
    31
    Posts
    16
    Years
    • Seen Mar 26, 2008
    Is there anyway to change prof. oaks introduction without using a-text (a-text is cracking the rom everytime)
     

    spenceroone3

    <he eats lots of burgers.
    215
    Posts
    16
    Years
  • Can anybody change this script, so the person walks up to the player?

    Spoiler:
    I saw this problem with this script...
    Code:
    #org $Startscript
    lock
    faceplayer
    checkflag 0x200
    if B_true goto $done
    message $aidtalk
    boxset 6
    givepokemon 133 5 0x0
    setflag 0x200
    setflag 0x829
    setflag 0x800
    special 0x16F 
    release
    end
    
    #org $done
    message $aidtalk2
    boxset 6
    release
    end
    
    #org $aidtalk
    $aidtalk 1 = You need a Pokemon before \pyou leave. Take this one...
    
    #org $aidtalk2
    $aidtalk2 1 = Take good care of it!
    If that doesn't work, I don't know how to fix it.
     
    1,104
    Posts
    16
    Years
  • Is there anyway to change prof. oaks introduction without using a-text (a-text is cracking the rom everytime)

    Well, you mean the intro at the beginning where he asks you if you're a boy or not. If so, this has nothing to do with scriting, and should be posted in the Simple Questions thread. But anway, if you can't edit it with a-text, as far as I know, you're only other option is a hex editor.

    Hi, i've got a probleme with my script:

    Code:
    #org $start
    lock
    faceplayer
    message $pika
    boxset 6
    #raw 75
    #raw 01
    #raw 99
    #raw 0A
    #raw 03
    #raw 76
    release 
    end
    
    #org $pika
    $pika 1 =Pika!!!!

    I want to character say: Pika!!!
    then the Jirachi pictures appear
    But when i insert the script,something is wrong.
    Script Requests/Sharing/Discussion

    And the texte doesn't appear.
    Can anyone help me please?
    Thank you.

    This command is pretty funny. You have to use the pokemon number un-reversed. But I guess it depend which type of list you have. I've changed it and it should work now. You also may want to add a pause in between the #raw 03 and #raw 76. So you have control of the time that the picture box is open.
    Code:
    #org $start
    lock
    faceplayer
    message $pika
    boxset 6
    #raw 75
    #raw 99
    #raw 01
    #raw 0A
    #raw 03
    #raw 76
    release 
    end
    
    #org $pika
    $pika 1 =Pika!!!!


    Can anybody change this script, so the person walks up to the player?

    Spoiler:

    Post the movements and the people no. and I can write it for you.
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • This command is pretty funny. You have to use the pokemon number un-reversed. But I guess it depend which type of list you have. I've changed it and it should work now. You also may want to add a pause in between the #raw 03 and #raw 76. So you have control of the time that the picture box is open.
    Code:
    #org $start
    lock
    faceplayer
    message $pika
    boxset 6
    #raw 75
    #raw 99
    #raw 01
    #raw 0A
    #raw 03
    #raw 76
    release 
    end
    
    #org $pika
    $pika 1 =Pika!!!!

    It work thanks but now the window doesn't close.
    i add a pause but it doesn't work too.
     
    Status
    Not open for further replies.
    Back
    Top