The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.


Advertise here

Reply
 
Thread Tools
  #1    
Old October 5th, 2008, 07:08 AM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky

Advertise here
This tutorial is, obviously, how to make a "delayed looking script".

I think that this only works for FR/LG.

What you need:
A Pokémon Fire Red/Leaf Green ROM (obviously)
A Pokémon Advance script editor
Some scripting knowhow

How to do this:
1. Open up the script that you want to make a delayed look on.
Code:
message @farewell 0x6
applymovement 0xFF @look
applymovement 0x03 @bye
waitmovement 0x0

#org @look
#raw 0x1C
#raw 0x1B
#raw 0x2D
#raw 0x1C
#raw 0x30
#raw 0xFE

#org @bye
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
You see that part at pointer $look ?

You have this:

#org @look
#raw 0x1C
#raw 0x1B
#raw 0x2D
#raw 0x1C
#raw 0x30
#raw 0xFE

#raw 0x1C:This is like a pause 0x1C for the movements themselves.
#raw 0x1B:And this is like a pause 0x1B.
#raw 0x2D and #raw 0x30 :Those are the delayed movements.

Delayed Movements:
Spoiler:
Face Down (delayed): #raw 0x2D
Face Up (delayed): #raw 0x2E
Face Left (delayed): #raw 0x2F
Face Right (delayed): #raw 0x30


You can have a lot of delayed movements, but you need to have #raw 0x1C and #raw 0x1B at the beginning and #raw 0x1C before any other delayed looks.

Ex.
Spoiler:
#org @look
#raw 0x1C
#raw 0x1B
#raw 0x2E
#raw 0x1C
#raw 0x2D
#raw 0x1C
#raw 0x2F
#raw 0xFE


Or:
Spoiler:
#raw 0x1C
#raw 0x1B
#raw 0x2E
#raw 0xFE


If you don't get what I'm saying, post here and I'll try to clarify it.
If I have something wrong, tell me and I'll fix it.

Also, be sure to check out my hack located in my sig.

See ya later!

diegoisawesome
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles

Last edited by diegoisawesome; April 11th, 2009 at 08:27 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:15 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.