summaryrefslogtreecommitdiff
path: root/Add-a-new-move.md
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-24 22:48:58 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-24 22:48:58 -0400
commitcd7e915b044213918291bc9d26ce6f6682405737 (patch)
tree9d8d958b719591e37209bba292b2e2b80bec187b /Add-a-new-move.md
parent662cd29ce7cd56e419cde80480b656799ed47780 (diff)
Remove address comments
Diffstat (limited to 'Add-a-new-move.md')
-rw-r--r--Add-a-new-move.md23
1 files changed, 9 insertions, 14 deletions
diff --git a/Add-a-new-move.md b/Add-a-new-move.md
index 757fdc9..6178550 100644
--- a/Add-a-new-move.md
+++ b/Add-a-new-move.md
@@ -58,7 +58,7 @@ A name can be up to 12 characters long, plus a "@" at the end.
Now edit [data/moves/descriptions.asm](../blob/master/data/moves/descriptions.asm):
```diff
- MoveDescriptions:: ; 2cb52
+ MoveDescriptions::
; entries correspond to move ids (see constants/move_constants.asm)
dw PoundDescription
...
@@ -69,7 +69,6 @@ Now edit [data/moves/descriptions.asm](../blob/master/data/moves/descriptions.as
dw MoveFEDescription
dw MoveFFDescription
dw Move00Description
- ; 2cd52
-MoveFCDescription:
MoveFDDescription:
@@ -87,7 +86,6 @@ Now edit [data/moves/descriptions.asm](../blob/master/data/moves/descriptions.as
+NastyPlotDescription:
+ db "Sharply increases"
+ next "user's SPCL.ATK.@"
- ; 2ed44
```
A description has two lines, each with up to 18 characters, plus a "@" at the end.
@@ -98,7 +96,7 @@ A description has two lines, each with up to 18 characters, plus a "@" at the en
Edit [data/moves/moves.asm](../blob/master/data/moves/moves.asm):
```diff
- Moves: ; 41afb
+ Moves:
; entries correspond to constants/move_constants.asm
move POUND, EFFECT_NORMAL_HIT, 40, NORMAL, 100, 35, 0
...
@@ -122,7 +120,7 @@ The `move` defines these properties:
Edit [data/moves/animations.asm](../blob/master/data/moves/animations.asm):
```diff
- BattleAnimations:: ; c906f
+ BattleAnimations::
; entries correspond to constants/move_constants.asm
dw BattleAnim_0
dw BattleAnim_Pound
@@ -136,20 +134,18 @@ Edit [data/moves/animations.asm](../blob/master/data/moves/animations.asm):
; $100
dw BattleAnim_ThrowPokeBall
...
- ; c929b
- BattleAnim_0: ; c929b
--BattleAnim_252: ; c929b
- BattleAnim_253: ; c929b
- BattleAnim_254: ; c929b
- BattleAnim_MirrorMove: ; c929b
+ BattleAnim_0:
+-BattleAnim_252:
+ BattleAnim_253:
+ BattleAnim_254:
+ BattleAnim_MirrorMove:
anim_ret
- ; c929c
...
+BattleAnim_NastyPlot:
-BattleAnim_PsychUp: ; cb917
+BattleAnim_PsychUp:
anim_1gfx ANIM_GFX_STATUS
anim_call BattleAnim_FollowEnemyFeet_0
anim_bgeffect ANIM_BG_1A, $0, $1, $20
@@ -163,7 +159,6 @@ BattleAnim_PsychUp: ; cb917
anim_call BattleAnim_ShowMon_0
anim_wait 16
anim_ret
-; cb940
```
Designing a new animation is beyond the scope of this tutorial. They require careful placement and timing of different elements, and the scripting system used to do this is [poorly understood](../blob/master/docs/battle_anim_commands.md). Here we're just reusing Psych Up's animation for Nasty Plot, since it looks appropriate.