The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page Tutorial let's use some Items though scripting.
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Reply
 
Thread Tools
  #1    
Old June 17th, 2011 (6: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

Relevant Advertising!

  #2    
Old June 17th, 2011 (4:44 PM).
linkandzelda's Avatar
linkandzelda linkandzelda is offline
n00b desu ka?
 
Join Date: Dec 2006
Location: Hastings, England
Gender: Male
Nature: Careful
Posts: 775
This is awesome thanks so much!! :D
__________________
Reply With Quote
  #3    
Old June 18th, 2011 (3: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 (4:38 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 24
Gender: Male
Nature: Modest
Posts: 1,152
Thanks for posting this man.

Quote:
Originally Posted by Meta Paradox View Post
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 GMT -8. The time now is 10:15 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.