- negative values have no meaning - left in optional tile x/y for backwards compatibility
2.4 KiB
2.4 KiB
Battle Animation Commands
Defined in macros/scripts/battle_anims.asm and data/moves/animations.asm:BattleAnimations.
$00
−$EF
: anim_wait
length
$D0
: anim_obj
object, x, y, param
Alternate: anim_obj
object, x_tile, x, y_tile, y, param
Spawns an object at coordinate (x, y).
object: ANIM_OBJ
constants (see constants/battle_anim_constants.asm)
x: the x position in pixels
y: the x position in pixels
x_tile: an added x position in tiles (8 pixels)
y_tile: an added y position in tiles (8 pixels)
param: modifies the behavior of object. The meaning differs for each object.
TODO: what happens for x/y values greater than 160/144 respectively? TODO: useful positions TODO: document each object