< >
Hello, guest! Please log in or register.

The PokéCommunity

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

Notices

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 Post Reply
 
Thread Tools
  #1    
Old October 5th, 2008 (7: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: 19
Gender: Male
Nature: Quirky
Posts: 984
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

Relevant Advertising!

Reply Post 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 1:58 AM.


Contact Us Archive Privacy Statement Terms of Service Top