• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] JPAN Hacked Engine Specials Problem

leyn09

Truant Trainer
  • 84
    Posts
    14
    Years
    Is there anyone knowledgeable on how to use specials of the Fire Red Hacked Engine? the script below uses special 0x62 (erase party special) and 0x6 (pokemon decrypt special)

    #org @start
    special 0x9f > this opens the pokemon selection screen
    special 0x6 > decrpyts selected pokemon to RAM
    setvar 0x8004 0xf > select whole party
    special 0x62 > deletes whole party
    setvar 0x8004 0x0 > sets the var to zero
    special 0x6 > encrypts the pokemon to slot 0
    release
    end

    I tried it ingame and I was directed to the pokemon selection screen, it was already empty and I can't select anything. (I've had 3 pokemon before that). I don't know where I was mistaken, I think there's something to do with my ram?

    Help's appreciated. Thanks!
     
    This is because you didn't add a waitstate after special 0x9F, so the other commands were already executed before the menu was loaded. I fail to see why you're using special 0x9F anyway, because you appear to be ignoring whatever the player inputs by setting 0x8004 to 0xF yourself.
     
    What are you trying to do in your script exactly? As Spherical Ice said, the special requires a wait state, but it may not be needed depending on what you're trying to do. If you're just trying to delete the party, you don't need to decrypt anything. It should be just overwriting the Pokemon in RAM with free space.


    Anyways, if I were to take a guess, you're trying to delete every Pokemon except the one selected by special 0x9F? As far as I know there's no ASM out there to do that except my PSS system. So either you can use that, or you have to be decent at scripting. Anyways, I wrote a script for you (which I haven't tested) what should delete all the Pokemon except the one you selected. Like I said I haven't tested it, so it might not work :D

    Spoiler:
     
    Thanks guys. I can't believe I actually forgot to put waitstate. xD And also to FBI: Your guess was right and thanks for the script! It will be a great reference! :)
     
    i'm having this error on my computer.
    Driver Power State Failure
     
    ukutr, if you are having issues with your computer, than you shouldn't post it on this website. Pokecommunity is made for pokemon-related things. Consult a technician that can help you, or post the issue on a website that deals with this stuff. And IF it is from a pokemon-related tool you should make a new thread. Also, when you post a error, computer info(specs) is needed.
     
    Back
    Top