summaryrefslogtreecommitdiff
path: root/docs/battle_anim_commands.md
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-03-10 22:43:57 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2019-03-10 22:43:57 -0400
commit70ef2f3432a2d6a11585fdbc8fb9e2e25d63f316 (patch)
treee4af1f79e413d6fa58494f2a9bdbe069f7823014 /docs/battle_anim_commands.md
parent388e5a2a7897c20c6711fd726cd337ecd3cfed19 (diff)
Fix documentation links to work with GitHub Pages
Diffstat (limited to 'docs/battle_anim_commands.md')
-rw-r--r--docs/battle_anim_commands.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/battle_anim_commands.md b/docs/battle_anim_commands.md
index 16b19bd35..403048ee2 100644
--- a/docs/battle_anim_commands.md
+++ b/docs/battle_anim_commands.md
@@ -1,6 +1,6 @@
# Battle Animation Commands
-Defined in [macros/scripts/battle_anims.asm](/macros/scripts/battle_anims.asm) and [engine/battle_anims/anim_commands.asm:BattleAnimCommands](/engine/battle_anims/anim_commands.asm).
+Defined in [macros/scripts/battle_anims.asm](https://github.com/pret/pokecrystal/macros/scripts/battle_anims.asm) and [engine/battle_anims/anim_commands.asm:BattleAnimCommands](https://github.com/pret/pokecrystal/engine/battle_anims/anim_commands.asm).
## `$00`−`$CF`: <code>anim_wait <i>length</i></code>
@@ -14,7 +14,7 @@ Defined in [macros/scripts/battle_anims.asm](/macros/scripts/battle_anims.asm) a
Spawns an *object* at coordinate (*x*, *y*).
-- *object*: `ANIM_OBJ` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm))
+- *object*: `ANIM_OBJ` constants (see [constants/battle_anim_constants.asm](https://github.com/pret/pokecrystal/constants/battle_anim_constants.asm))
- *x*: the x position in pixels
- *y*: the y position in pixels
- *x_tile*: an added x position in tiles (8 pixels)
@@ -45,7 +45,7 @@ The y position also depends on the y offset defined by the object.
Loads 1-5 sets of graphics. Will overwrite any previously loaded sets.
-- *gfx*: `ANIM_GFX` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm))
+- *gfx*: `ANIM_GFX` constants (see [constants/battle_anim_constants.asm](https://github.com/pret/pokecrystal/constants/battle_anim_constants.asm))
Caveats:
- These will override any currently-loaded GFX.
@@ -74,7 +74,7 @@ Objects are state machines. `anim_setobj` changes the state of an object.
Increments a bg effect's state.
-- *bg_effect*: `ANIM_BG` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm))
+- *bg_effect*: `ANIM_BG` constants (see [constants/battle_anim_constants.asm](https://github.com/pret/pokecrystal/constants/battle_anim_constants.asm))
Since there can't be two of the same bg effect, the effect type is used. This is distinct from `anim_incobj`.
@@ -94,7 +94,7 @@ Caveats:
## `$DB`: `anim_checkpokeball`
-Sets `BattleAnimVar` to the result of [GetPokeBallWobble](/engine/battle_anims/pokeball_wobble.asm).
+Sets `BattleAnimVar` to the result of [GetPokeBallWobble](https://github.com/pret/pokecrystal/engine/battle_anims/pokeball_wobble.asm).
## `$DC`: `anim_transform`
@@ -179,7 +179,7 @@ Jumps to another script and decrements `param` until it reaches 0. Similar to `a
## `$F0`: <code>anim_bgeffect <i>bg_effect</i>, <i>unknown1</i>, <i>unknown2</i>, <i>unknown3</i></code>
-- *bg_effect*: `ANIM_BG` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm))
+- *bg_effect*: `ANIM_BG` constants (see [constants/battle_anim_constants.asm](https://github.com/pret/pokecrystal/constants/battle_anim_constants.asm))
## `$F1`: <code>anim_bgp <i>colors</i></code>