Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Delayed Looking Script Help (like you watching Gary in FR/LG)

Notices
For all updates, view the main page.

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 October 5th, 2008 (07:08 AM). Edited April 11th, 2009 by diegoisawesome.
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 978
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
Diego's Miscellaneous Patches
GBA Intro Manager
The Secret Sauce: Triple-Layer Tiles
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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 04:35 AM.