Primary Zelda Hacking
April 21, 2014, 09:43:57 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Zelda Oracles Hacking Suite beta version: 0.05
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Link actions list  (Read 490 times)
Jigglysaint
Hacking Guru
Full Member
*****
Offline Offline

Posts: 150


View Profile
« on: February 23, 2011, 07:16:32 PM »

This is a short list for specific actions that happens to Link.  The list is for both Seasons and Ages.  The byte is at D004, and seems to be loaded using 1E 04  Edit:  Actually not all values are the same for each game, but most notable is 13, which IS present in both games, though in Ages I don't recall anywhere where Link gets petrified.

00 - nothing

01 - Link's default state

02 - Link falls down a hole and gets damaged

03 - Link dies

04 - unsure

05 - Link jumps into what seems like nothing, the screen dims, and Link appears somewhere in the room in a sleeping position and all health is restored

06 - Link jumps up one screen(on same map)

07 - Link keeps spinning

08 - Link walks in the same direction

09 - Link trampoline jumps to the floor above  In ages is used in sideview areas to permit scrolling up or down screens.

0A - Second part of the trampoline jump

0C - boss destroyed sound heard, Link frozen.

10 -  Link faces up

11 -  Link gets squashed

12 - Link jumps down from a ledge.  Permits screen scrolling if link touches boundry, Link lands on first walkable object, or smashes objects that are breakable, including lock blocks.

13 - Link turns to stone(is present in Seasons and Ages)

14 -  Link is stunned for a moment.

15 - end of list
« Last Edit: February 23, 2011, 07:24:31 PM by Jigglysaint » Logged
Lin
ZOLE Creator
Administrator
Hero Member
*****
Offline Offline

Posts: 580



View Profile
« Reply #1 on: February 23, 2011, 10:31:37 PM »

Very interesting. I guess this means the action byte depends on what it is, because here's what I had in my notes on enemies from a while ago:

Dx84 - Enemy stage (For example, 09 in a stalfos is walk, 0A is prepare jump, 0B is jumping)

Though, I guess it's rather obvious because AI would be pretty bland without an action value.
Logged
Supreme Dirt
Jr. Member
**
Offline Offline

Posts: 64


View Profile
« Reply #2 on: February 24, 2011, 10:04:47 PM »

"09 - Link trampoline jumps to the floor above  In ages is used in sideview areas to permit scrolling up or down screens."

This is a godsend, you have no idea.
Logged
Jigglysaint
Hacking Guru
Full Member
*****
Offline Offline

Posts: 150


View Profile
« Reply #3 on: February 25, 2011, 04:20:41 AM »

Actually in Ages it's used in the Great Moblin event where Link discoveres the collapsing floor and jumps back.  However, it's also written to ram when you go up or down a ladder.  Now ladder usage is already programmed into Seasons and Ages, but you can't jump up a screen or fall down a screen normally.  If you try to fall down at the bottom, you will get stuck and just slide around.  However, in one spot in Ages, an "enemy" exists that actually allows you to drop off the bottom of the screen, but it's only programmed to work in one specific spot on screen.  It's possible to remove this limitation, but it would mean that enemy 2B must be on screen before that can happen.  It could be turned into an interaction too I think, but it's not pre-programmed to work on any map.

BTW, if you want to force Link to scroll a screen, try using CD02.  00-03 is Link's direction, and writing bit 7 will force that scroll, or if you are over a warp tile, force that warp.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!