hi sir tomato my password is syvniti
gggggggggggggggggg
- 581
- Posts
- 18
- Years
- My user name _ asciii_ +&h1!" lulz
- Seen Aug 3, 2023
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:
So an example of an XSE script that could run the bike would be:
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:
![[PokeCommunity.com] let's use some Items though scripting. [PokeCommunity.com] let's use some Items though scripting.](https://images.huffingtonpost.com/gen/123681/original.jpg)
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