Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Reload this Page let's use some Items though scripting.

Notices
For all updates, view the main page.

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.



Reply
 
Thread Tools
  #1    
Old June 17th, 2011 (06:08 AM).
hi sir tomato my password is syvniti's Avatar
hi sir tomato my password is syvniti hi sir tomato my password is syvniti is offline
gggggggggggggggggg
 
Join Date: Jan 2007
Location: My user name _ asciii_ +&h1!" lulz
Posts: 581
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
__________________
THE CAKE IS A LIE!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #2    
Old June 17th, 2011 (04:44 PM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 770
This is awesome thanks so much!! :D
__________________
Reply With Quote
  #3    
Old June 18th, 2011 (03:13 AM).
Meta Paradox Meta Paradox is offline
Researching FireRed...
 
Join Date: Apr 2011
Gender: Male
Nature: Serious
Posts: 56
Why'd you put up the sharks? O.o
By the way, thanks. :D
__________________
Meta Paradox On The Web:
http://metaparadox.webs.com/
Reply With Quote
  #4    
Old June 18th, 2011 (04:38 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Thanks for posting this man.

Quote originally posted by Meta Paradox:
Why'd you put up the sharks? O.o
By the way, thanks. :D
Because Sebbe is great/amusing.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 02:12 AM.