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

Derlo

Tired....
  • 135
    Posts
    16
    Years
    No one seem to provide an answer to my question, so here's my question again, and I hope ya all don't mind...

    Code:
    INTRO: I made a script of a trainer battle with the trainer number 001,
    then, the trainer disappeared forever in the script...
    
    QUESTION: Could I use the same trainer number 001 again for my next script..?

    Thanks in advance.

    You could only use if it went a REMACH.
     
    Can anyone make these two for me? They both don't work when I try to make them...

    You: *talks to person*
    person: Do you want me to bring you to a training place?
    person: *if said yes* ok lets warp. *warps to the map*
    person: *if said no* ok that's fine.


    And:
    You: *talks to guard*
    Guard *If you have the BP(Eon Ticket)* Ok you may enter *takes one step to the left and one step up*
    Guard: *If you don't have BP*Get a BATTLEPASS first.

    These don't work. And I don't know why. I've tried multiple things but they all screw up in the end -.-

    I forgot to say this is for FireRed.:)
     

    Hedgehogger

    Learning ASM, but struggling
  • 204
    Posts
    17
    Years
    I forgot to say this is for FireRed.:)

    Shoop da whoop.

    Spoiler:


    Spoiler:




    And since I'm not allowed to Double Post, I have a question:

    Any reason how or why the following script fails to work?

    Spoiler:
    Now, I checked the script and its offsets to make sure nothing overwrote anything. When I tested it in the game, it works properly up until where you choose the yes/no option. No matter which one you pick, the script releases you (Like how it should when it's over) and the text box is floating on screen as you walk.
     

    Derlo

    Tired....
  • 135
    Posts
    16
    Years
    Hello!
    Does anybody know as just doing the "screen" of the game to move??
    Example: The HERO is stopped in as the screen moves for the scenery...

    Thanks for all!
     

    Who Cares bout me?

    There is enough space to la
  • 5
    Posts
    16
    Years
    Can somebody please fix this up:

    Spoiler:


    Firstly, you start the hack on it, but it doesn't work automatically - you must step off the tile and step bkac on it. Secondly, when you step on it, it ****s the game with tons of dark colours. Please fix it somebody!
     

    Derlo

    Tired....
  • 135
    Posts
    16
    Years
    Can somebody please fix this up:

    Spoiler:


    Firstly, you start the hack on it, but it doesn't work automatically - you must step off the tile and step bkac on it. Secondly, when you step on it, it ****s the game with tons of dark colours. Please fix it somebody!

    ]#org $Reallylongscript
    checkflag 0x200
    if B_TRUE goto $Done
    message $yeah
    $yeah 1 = \c\h01\h09\v\h03: Go, SPEAROW!\lSPEAROW, use PECK!\pThis is fun, but we might be\ncaught in the middle of class.
    boxset 6
    message $Class
    $Class 1 = \c\h01\h04Class, you may leave.\l \v\h01 and \v\h03, stay for\n a minute.\pLook kids, I know you want to\nbe POKéMON masters when you\pgrow up, but[...]\l[...]Nevermind. Come over here.
    boxset 6
    applymovement 0xff $Teacher
    applymovement 4 $Teacher

    pause 0x50
    message $Pokemon
    $Pokemon 1 = \c\h01\h04The PRINCIPAL wants you.\lHis office is north of here.\nHe has something for you, I think...\lJust don't go into the grass!
    boxset 6
    setflag 0x200
    release
    end

    #org $Teacher
    $Teacher 1 ; #binary 0x12 0x12 0x11 0x11 0x13 0xFE

    #org $Done
    release
    end

    and put the numbers 03 00 50 40 (in that order) in the header of the script event.
     

    ~*Pikafan*~

    Man I gotta stop leaving!
  • 202
    Posts
    16
    Years
    • Age 30
    • Seen Oct 23, 2011
    How do you make a script continue from a warp? I was trying to make a script that i listed before but I made it shorter, and I tried to make the warp, but when I did, it stopped and sent me somewhere else. I also tried to make it so that after the movement, he says something else, but it doesn't load, and when I try to make the warp and the text happen, it just stops at the head of the room.
     

    Teamtyranitar

    Fizz-X
  • 214
    Posts
    16
    Years
    ok

    i found out how to work the program can sombody tell me why this does not work
    #org $start
    Lock
    Faceplayer
    Checkflag 0x200
    If b_true goto $done
    Message $poke
    Boxset 5
    Compare LASTRESULT 1
    If b_true goto $recieve
    Message $no
    Boxset 6
    Release
    End

    #org $done
    Message $how
    Boxset 6
    Release
    end

    #org $recieve
    Givepokemon 25 15 0
    Jingle
    Message $here
    Boxset 6
    Setflag 0x200
    Release
    end

    #org $poke
    $poke 1 =Would you like your a\ppikachu?

    #org $how
    $how 1 =How's your Pikachu going?

    #org $here
    $here 1 =You received your Pikachu.

    #org $no
    $no 1 =I'm sure somebody else would\ntake uit.
     

    Juan

    Brazilian with a bad English
  • 92
    Posts
    16
    Years
    Any reason how or why the following script fails to work?

    Spoiler:
    Now, I checked the script and its offsets to make sure nothing overwrote anything. When I tested it in the game, it works properly up until where you choose the yes/no option. No matter which one you pick, the script releases you (Like how it should when it's over) and the text box is floating on screen as you walk.

    I do not know if he was this that you wanted, but I remade script for the Pokescript:
    Spoiler:


    i found out how to work the program can sombody tell me why this does not work
    #org $start
    Lock
    Faceplayer
    Checkflag 0x200
    If b_true goto $done
    Message $poke
    Boxset 5
    Compare LASTRESULT 1
    If b_true goto $recieve
    Message $no
    Boxset 6
    Release
    End

    #org $done
    Message $how
    Boxset 6
    Release
    end

    #org $recieve
    Givepokemon 25 15 0
    Jingle
    Message $here
    Boxset 6
    Setflag 0x200
    Release
    end

    #org $poke
    $poke 1 =Would you like your a\ppikachu?

    #org $how
    $how 1 =How's your Pikachu going?

    #org $here
    $here 1 =You received your Pikachu.

    #org $no
    $no 1 =I'm sure somebody else would\ntake uit.

    Spoiler:


    Its script functions, only lacked to activate the POKEMENU
     
    Last edited:

    Teamtyranitar

    Fizz-X
  • 214
    Posts
    16
    Years
    Spoiler:


    Its script functions, only lacked to activate the POKEMENU
    Thanks... now if they would approve my hack
     
    Shoop da whoop.

    Spoiler:

    It won't work. I use PokéScript... Allthough this works with the nat dex, this didn't. I get all strange purple colors etc.
     
  • 6
    Posts
    16
    Years
    • Seen Aug 10, 2009
    Good afternoon ! I have got a problem for a script. I can to insert the script but i can't running this one. That put a small windows on the top to right. I press A and it block :(

    Help, thank you in advance.

    NB : I'm french, sorry for my spelling mistake ...
     

    Hedgehogger

    Learning ASM, but struggling
  • 204
    Posts
    17
    Years
    I do not know if he was this that you wanted, but I remade script for the Pokescript:
    Spoiler:

    I'm glad you wanted to help me, but I don't use PokeWitch. Not to sound stubborn, but it's a lot of going out of my way and excess time spent to learn how to use it.
     

    ~*Pikafan*~

    Man I gotta stop leaving!
  • 202
    Posts
    16
    Years
    • Age 30
    • Seen Oct 23, 2011
    Wow, why won't anyone answer my posts...

    Anyways, I have a new problem with this script. Whenever you land on it, the game resets. I was trying to make it so that when you step on it, someone yells at you to come back over to the right and you do, but it just resets.

    Code:
    #org $begin
    checkflag 0x201
    if B_True goto $done
    message $wait
    applymovement 0xFF $right1
    pause 0x10
    release
    end
    
    #org $done
    checkflag 0x203
    if B_true goto $finish
    message $hey
    applymovement 0x02 $move1
    pause 0x10
    message $poke
    giveitem 0x4 5
    jingle
    message $gotball
    giveitem 0xD 1
    jingle
    message $gotpoti
    giveitem 0xD0 1
    jingle
    message $gotmag
    giveitem 0x17
    jingle
    message $gotfull
    setflag 0x203
    release
    end
    
    #org $hey
    $hey 1 = Wait, \v\h01!
    
    #org $gotfull
    $gotfull 1 = \v\h01 obtained a Full Heal!
    
    #org $gotmag
    $gotmag 1 = \v\h01 obtained a Magnet!
    
    #org $gotpoti
    $gotpoti 1 = \v\h01 obtained a Potion!
    
    #org $gotball
    $gotball 1 = \v\h01 obtained 5 Pokeballs!
    
    #org $poke
    $poke 1 = Before you go, take\nthese items.\pYou'll need them\non your journey.
    
    #org $wait
    $wait 1 = Hey, where do you think\n You're going?  Go see your dad!
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    I don't know if this will work. Maybe someone can check either our scripts, but well, here's what I think will work now...

    Code:
    #org $begin
    checkflag 0x201
    if b_true goto $done
    message $wait
    applymovement 0xFF $right1
    pause 0x10
    release
    end
    
    #org $done
    checkflag 0x203
    if B_true goto $finish
    message $hey
    applymovement 0x02 $move1
    pause 0x10
    message $poke
    giveitem 0x4 5
    jingle
    message $gotball
    giveitem 0xD 1
    jingle
    message $gotpoti
    giveitem 0xD0 1
    jingle
    message $gotmag
    giveitem 0x17
    jingle
    message $gotfull
    setflag 0x203
    release
    end
    
    #org $finish
    release
    end
    
    #org $hey
    $hey 1 = Wait, \v\h01!
    
    #org $gotfull
    $gotfull 1 = \v\h01 obtained a Full Heal!
    
    #org $gotmag
    $gotmag 1 = \v\h01 obtained a Magnet!
    
    #org $gotpoti
    $gotpoti 1 = \v\h01 obtained a Potion!
    
    #org $gotball
    $gotball 1 = \v\h01 obtained 5 Pokeballs!
    
    #org $poke
    $poke 1 = Before you go, take\nthese items.\pYou'll need them\non your journey.
    
    #org $wait
    $wait 1 = Hey, where do you think\n You're going?  Go see your dad!
    
    (where's the $move1 ..?)
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Well, I know the jingle command isn't going to work so you can change that to
    Fanfare 0x13E or if someone is giving you something: fanfare 0x13D.

    You should also put "pausemove 0" or waitmove, so that it waits for the applymovement to finish. Pause is to pause the game, and 10 doesn't mean 1 sec. it means something else like 1 hour, because it happened to me.

    Well, that doesn't mean I"M BACK TO FR!!!
    anyways, I'm wondering if I can request gold scripts here...But the only person that will help is Blazichu.....

    also you forgot to put $right1.
     

    ~*Pikafan*~

    Man I gotta stop leaving!
  • 202
    Posts
    16
    Years
    • Age 30
    • Seen Oct 23, 2011
    Whoops, The whole thing wasn't copied, I dunno why. I'm going to put it in a new code.

    And cooley, I have no Idea what you're talking about. Pause 0x10 means that he is going to walk 1 step. I've never seen that in any script, but I'll try.

    Code:
    #org $begin
    checkflag 0x201
    if B_True goto $done
    message $wait
    applymovement 0xFF $right1
    pause 0x10
    release
    end
    
    #org $done
    checkflag 0x203
    if B_true goto $finish
    message $hey
    applymovement 0x02 $move1
    pause 0x10
    message $poke
    giveitem 0x4 5
    jingle
    message $gotball
    giveitem 0xD 1
    jingle
    message $gotpoti
    giveitem 0xD0 1
    jingle
    message $gotmag
    giveitem 0x17
    jingle
    message $gotfull
    setflag 0x203
    release
    end
    
    #org $hey
    $hey 1 = Wait, \v\h01!
    
    #org $gotfull
    $gotfull 1 = \v\h01 obtained a Full Heal!
    
    #org $gotmag
    $gotmag 1 = \v\h01 obtained a Magnet!
    
    #org $gotpoti
    $gotpoti 1 = \v\h01 obtained a Potion!
    
    #org $gotball
    $gotball 1 = \v\h01 obtained 5 Pokeballs!
    
    #org $poke
    $poke 1 = Before you go, take\nthese items.\pYou'll need them\non your journey.
    
    #org $wait
    $wait 1 = Hey, where do you think\n You're going?  Go see your dad!
    
    #org $move1
    $move1 1 ; #binary 0x12 0xFE
    
    #org $right1
    $right1 ; #binary 0x13 0xFE
    
    #org $finish
    release
    end
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    No... He means that if you use pausemove 0x10.., the game will pause for an hour before executing the next command. Oh, and cooley, thanks for those fanfare commands, but could I ask for a fanfare command that'll work for Ruby..? Thanks.
     
  • 489
    Posts
    16
    Years
    Can someone please make me this script.

    Script 1
    You step on the scipt and Prof Oak walks up to you going 3 spaces down and 3 spaces right then he leads you 4 spaces left and 4 spaces up. On 4th step going up he needs to enter his lab.

    Script 2
    You step on the script and Prof Oak walks up to you going 4 spaces down and 3 spaces right then he leads you 4 spaces left and 5 spaces up. On 5th step going up he needs to enter his lab.

    Script 1 & 2 continue in this script.
    Then the rest of the script for inside the lab needs to be the same as it usually is.
     
    Status
    Not open for further replies.
    Back
    Top