• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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.

let's use some Items though scripting.

  • 581
    Posts
    18
    Years
    what up pc?
    I was asked the other day to debug the routine for the vs seeker, so It could be ran though scripts. I found out it can be done REALLY simply, so I thought I'd share it. Just call the Routine at 0x80A1084 (+1 because it's thumb), and the last of those kind of items will be used.

    The offset to the last routine is storred at 0x2039998 in the WRAM.
    So just replace it, with whatever you want.
    Examples:
    Fishing Rod --> 0x80A1410 +1
    Bicycle ------> 0x80a1304 +1
    Vs Seeker ----> 0x810C670 +1

    Here is a picture of some stupid looking sharks:
    Spoiler:
    So an example of an XSE script that could run the bike would be:
    Code:
    #org 0x1A9C81
    msgbox 0x8184F2E '"Let's do some biking"
    callstd 0x2
    writebytetooffset 0x5 0x2039998
    writebytetooffset 0x13 0x2039999
    writebytetooffset 0xA 0x203999A
    writebytetooffset 8 0x203999B
    callasm 0x80A1305
    end
     
    Back
    Top