View Full Version : let's use some Items though scripting.

hi sir tomato my password is syvniti
June 17th, 2011, 06:08 AM
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.
Fishing Rod --> 0x80A1410 +1
Bicycle ------> 0x80a1304 +1
Vs Seeker ----> 0x810C670 +1

Here is a picture of some stupid looking sharks:
http://images.huffingtonpost.com/gen/123681/original.jpgSo an example of an XSE script that could run the bike would be:
#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

June 17th, 2011, 04:44 PM
This is awesome thanks so much!! :D

Meta Paradox
June 18th, 2011, 03:13 AM
Why'd you put up the sharks? O.o
By the way, thanks. :D

June 18th, 2011, 04:38 AM
Thanks for posting this man. ^_^

Why'd you put up the sharks? O.o
By the way, thanks. :D

Because Sebbe is great/amusing.