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

[Archive] Simple Questions

Status
Not open for further replies.

w_rink_ly

Novice Hacker
72
Posts
18
Years
    • Seen Feb 23, 2024
    Hi. How would I go about making a wild pokemon appear rare in a certain grass area and then change the area when the player moves from one area to another? In other words, how would I 'emulate' the legendary dogs encounters or latios/latias encounters after one beats the elite 4?
     
    91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    @ christos
    Well thanks for the applymovement, MY sprite moves.
    But, how do you get OTHER sprites to move?
    movesprite 0xEventnummer 0xOffset?
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    @ christos
    Well thanks for the applymovement, MY sprite moves.
    But, how do you get OTHER sprites to move?
    movesprite 0xEventnummer 0xOffset?

    "applymovement 0xFF 0x[offset]" is for the player

    For other sprites it's "applymovement 0x[sprite's people nr.] 0x[offset]
     
    91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    I mean if you use the #org offset of the script in AM.
    For a PEOPLE event, or a SCRIPT event.
    I'm trying things out with this script:

    #org 0x86AB40
    applymovement 0x13 0x86AB50
    pause 0x10
    end

    #org 0x86AB50
    #raw 3
    #raw FE

    If i use it with a SCRIPT event in AM, then the game freezes.
     

    Liquinn

    Banned
    439
    Posts
    18
    Years
    • Seen Aug 2, 2007
    A G/S/C question for you to awnser.


    This is a dumb question...

    Do I have to map both floors of the National park, and if you go into a bug contest will it automaticlly transfer you to the national park floor map 2 so you can take part in the bug contest in the floor 2, so like the floor one will be used to visit it without you been in the bug contest.

    So basiclly.

    Do I need to re map both ones and will the game transfer me to the Secound floor of the national park during a bug catching contest?

    Liquinn.
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    I mean if you use the #org offset of the script in AM.
    For a PEOPLE event, or a SCRIPT event.
    I'm trying things out with this script:

    #org 0x86AB40
    applymovement 0x13 0x86AB50
    pause 0x10
    end

    #org 0x86AB50
    #raw 3
    #raw FE

    If i use it with a SCRIPT event in AM, then the game freezes.

    If you use it on a "people" event or a script event it's the same thing.
    But in the script event put 03 00 for "Unknown" and something for "var Number". If it still freezes or doesn't do anything, try using something different for "Var Number".
     

    Blaziken626

    Pokemon Black Shadow
    208
    Posts
    17
    Years
    • Seen Aug 25, 2015
    Aaugh! Now I have a new problem! I used Thingy32, and opened my ROM and 2 Table files, but then it said Runtime Error '14': Out of String Space!
    What does that mean? (And it worked perfectly this morning.) A-a-a-and, I did the whole Hello World! tutorial in Elite Map, but the fat guy ended up saying a whole bunch of weird symbols that are probably hex or something. How do I fix that?
     
    Last edited:

    GargnaroK

    So... How Does my soul tastes?
    14
    Posts
    17
    Years
  • Can someone explain me the pause command?
    I know its based on the time in milliseconds, but how can I relate it to the steps that a sprite makes during an applymovement script?

    Thanks in advance
    [[[[[[[[[[[[[]]]]]]]]]]]]]]
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    Can someone explain me the pause command?
    I know its based on the time in milliseconds, but how can I relate it to the steps that a sprite makes during an applymovement script?

    Thanks in advance
    [[[[[[[[[[[[[]]]]]]]]]]]]]]

    You have to put 0x10 for each step. For example, if in the script the sprite moves 4 steps you have to put "pause 0x40".
     
    Last edited:
    91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    @ christos again. ( meh, i begin to like you ^^ )

    Last time i focused to much on the applymovement, And you also said something about trainerbattle.
    Well, i don't get trainerbattle yet.

    you said:
    Code:
    [B]trainerbattle[/B]
    trainerbattle bKind iBattle ptrIntro ptrDefeat
    Starts a trainer battle.
    bKind is 0x00 for normal battles, 0x04 for 2-on-2 and 0x05 for rematches

    What do you have to put in by battle intro defeat o_o
     

    charimon

    Yeah hacking !! ^^
    156
    Posts
    18
    Years
  • He is really nice huh ^^

    well I'll try to explain it:

    trainerbattle
    trainerbattle bKind iBattle ptrIntro ptrDefeat
    Starts a trainer battle.
    bKind is 0x00 for normal battles, 0x04 for 2-on-2 and 0x05 for rematches.

    Bkind is double/normal/gym, Ibattle is nr. of the trainer in PET(if i'm correct O_O), Ptr Intro is the tekst the trainer says first. PtrDefeat is when you defeated him.
    for Ptr Intro/Defeat you just place the offset of the message.

    the only thing i miss is a third pointer O_O at least that's what rubikon says xD.
     

    GargnaroK

    So... How Does my soul tastes?
    14
    Posts
    17
    Years
  • You have to put 0x10 for each step. For example, if in the script the sprite moves 4 steps you have to put "pause 0x10".

    Then, for example, if I want the sprite to moves 51 steps at any direction I must insert 51 pause 0x10 in the script?

    [[[[[[[[[[]]]]]]]]]]]]
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    Then, for example, if I want the sprite to moves 51 steps at any direction I must insert 51 pause 0x10 in the script?

    [[[[[[[[[[]]]]]]]]]]]]

    Sorry, my mistake. If it's 1 step it's "pause 0x10", 2 steps "pause 0x20" etc.
    But remember that it's in hexadecimal so 10 steps should be "pause 0xA", 11 steps "pause 0xB" etc.
    If you put 51 steps you have to add "pause 0x33".
     
    Last edited:

    GargnaroK

    So... How Does my soul tastes?
    14
    Posts
    17
    Years
  • What's wrong with this script? It makes the first movement(applymovement 0x4 0x7256C9) and then the game freezes!=\

    Code:
    #org 0x7256B4
    checkflag 0xA10
    if 0 0x7256BF
    release
    end
    
    #org 0x7256BF
    lock
    faceplayer
    applymovement 0x4 0x7256C9
    pause 0x70
    message 0x7256DF
    boxset 0x4
    applymovement 0x4 0x7256ED
    applymovement 0xFF 0x7256FF
    pause 0x35
    message 0x72572D
    boxset 0x4
    applymovement 0x4 0x725739
    applymovement 0xFF 0x725742
    pause 0x10
    message 0x725753
    boxset 0x4
    applymovement 0x4 0x72576A
    applymovement 0xFF 0x72576F
    pause 0x20
    setflag 0xA10
    release
    end
    
    #org 0x7256C9
    #raw 3 62 1C 1C 1C 1C 13 FE
    
    #org 0x7256DF
    = ...!
    
    #org 0x726ED
    #raw 10 10 10 10 10 10 10 10 12 10 12 12 12 12 12 12 12 10 10 10 10 10 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 10 10 12 12 12 10 12 12 12 12 12 12 12 12 12 5 FE
    
    #org 0x7256FF
    #raw 12 10 10 10 10 10 10 10 10 12 10 12 12 12 12 12 12 12 10 10 10 10 10 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 10 10 12 12 12 10 12 12 12 12 12 12 12 12 5 FE
    
    #org 0x72572D
    = ...!
    
    #org 0x725739
    #raw 6 FE
    
    #org 0x725742
    #raw 7 FE
    
    #org 0x725753
    = scarfendowras!
    
    #org 0x72576A
    #raw 11 11 FE
    
    #org 0x72576F
    #raw 5 FE

    [[[[[[[[[[[[[]]]]]]]]]]]]]
     
    Last edited:
    2
    Posts
    17
    Years
    • Seen Aug 7, 2010
    Change the Pokémon Dude Catches

    Hi; this is my first post here, and possibly my only one. I did a few searches and found nothing of value, so hopefully I'm not breaking any rules.

    I'm doing an edit of Pokémon Gold. It's mainly just making humorous changes to the text, but there are a few other things that I'm changing as well. Everything has been going well so far...

    ...until I try to change the Pokémon that the NPC referred to only as DUDE catches when he gives you a Pokémon catching tutorial. I did a pointer search for the start of the tutorial. The offset for the pointer is 128F78. I've only been able to find two pointer calculators for Gold, and they all lead to 4A784F... which doesn't seem to exist!

    If anyone could help me, I would be very thankful. I'm trying to change the Lv. 5 Rattata that he catches to a Lv. 99 Ho-Oh. I'm hoping I can do this by changing a 0513 (Lv. 5 Rattatta) to 99FA (Level 99 Ho-Oh.) Please tell me if these codes are wrong as well.
     
    91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    Stupid applymovement.
    I can't get it to work.
    People event doesn't work, and neither script.
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    Stupid applymovement.
    I can't get it to work.
    People event doesn't work, and neither script.

    Did you compile the script correctly?
    Save the script as an .rbc file in the folder where ScriptED is. Its name must have no spaces in the name. The ROM must be in there too with no spaces in the name as well.
     
    91
    Posts
    17
    Years
    • Seen Nov 1, 2010
    I use diamondcutter instead of scriptED.
    For some reason scriptED doesn't work o_o. the scripts don't work.
    Anyway, other script i compile @ diamondcutter work, so that isn't the problem.
     
    Status
    Not open for further replies.
    Back
    Top