my_wiki>Synergy Blades |
(No difference)
|
Revision as of 21:05, 14 October 2006
- Opcode: 0x63
- Short name: SCRLA
- Long name: Scroll To Entity
Memory layout
Arguments
- const UByte B: Bank for the scroll speed, or zero if it is specified as a literal value.
- const UShort S: Speed of the scroll, in frames, or the address to find the speed if B is non-zero.
- const UByte E: Entity ID to scroll to.
- const UByte T: Type of scroll.
Description
Scrolls the current view so that the field object associated with entity E is in the center of the view. The scroll occurs at speed S, and with a particular style, T. If an entity is given that does not have a field object, the view centers on the walkmesh origin. If the object is moving as the scroll occurs, the scroll will follow the object until it is centered. Also of note is that the scroll will not leave the boundaries of the background (as defined by the range values in section 8), unlike the standard "scroll to coordinate" opcodes.
Scroll Types
ID
|
Scroll Type
|
0
|
No Scroll
|
1
|
Instantaneous
|
2
|
Linear
|
3
|
Smooth
|