• 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.
H
Reaction score
14

Profile posts Latest activity Postings Albums About

  • tyson, is the script you're asking about in the Script Help Thread the one for when you walk into the Pokemart?
    This might be able to help you...
    Spoiler:
    The original Professor Oak script takes you into the lab, where you choose your first Pokemon. Your rival also chooses your first Pokemon then. Then you have to go to Viridian to get the parcel. You should think about how you want your rival and the player to interact and how you want your rival to get his first Pokemon before we do any scripting, since that may affect each of those scripts. I can write what you need, but I'm not sure what you want to happen with the rival and how you want the player to get the Pokedex.
    Sure. Make sure you look at the script I wrote, though, and understand it. If you need to write a script like that one, you should be able to do some copy/paste. Also, check out XSE's F1 Command help and XSE's F2 guide. I also found these pages helpful:

    Commands Part 1
    Commands Part 2

    I can assist you in using most of these commands in a script. But yeah, I'm ready for something else.
    Here's the ROM (in IPS, of course), with the script compiled in it. You can open up the ROM in A-map and the script in XSE to see what I did. There are also a couple save states in case you don't want to go through the intro. Hope this helps.

    ~RaycrowX

    EDIT: You use VBA, right?

    And also, I included a file called "stdmove.rbh" which I use to do my movements. For it to work, it must be in the same directory as the XSE executable.
    Are you still using var 4050? ...cuz I would recommended using 5000 instead. I know 5000 is initialized to 0.
    No problem.

    A couple things...

    -------------------------------------------------------------

    #define LSVARNUM [4050]
    #define PROFOAKPID [0000]
    #define PROFOAK [3]

    Sorry, no brackets on these. That's my fault, it wasn't clear.

    #define LSVARNUM 4050
    #define PROFOAKPID 0000
    #define PROFOAK 3

    ---------------------------------------------------------------

    #define LSVARNUM 4050

    You can use 4050, but I would recommend using vars 5000 and over, as they are unused.

    ----------------------------------------------------------------

    #define PROFOAKPID 0000

    You need to give him a Person ID. I'm not exactly sure on these, I'd try 1000. Put it in here and A-map.

    #define PROFOAKPID 1000

    In A-map:

    Person ID: 1000

    ----------------------------------------------------------------

    applymovement 0x03 @walktowardplayer

    should be

    applymovement PROFOAK @walktoplayer

    Sorry, that's my bad about the offset. And the PROFOAK will be automatically be replaced by 3. The 3rd line of the script does that for you; I like using this in case I the number changes and for readability. You should replace these in showsprite and waitmovement also.

    ---------------------------------------------------------------------

    Other than that, should be fine. I've got to go, but I'll be back in a few hours.

    ~RaycrowX
    Here's the code. I have to go in about fifteen minutes, so if you have a question, ask it now. I can make a ROM (IPS) with it for you, but it will be tomorrow at least. I'm not sure if this is exactly what you want, but here's what I have:

    Spoiler:
    Right. I've used 0x5000 - 0x7FFF.

    Quick question:

    Do you want Professor Oak to walk back into the lab after he gives you the Pikachu and never come back out there?
    Woo your back!

    Well ive had no luck finding my sprites that I lost so Im afraid Im going to have to start again.
    Man this SUCKS!!!! ARRRGGGGHHHH! ohh well should have to you withing week. (it'll take so long because I have my exams this week as well so busy busy busy)
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Back
Top