summaryrefslogtreecommitdiff
path: root/engine/battle_anims/functions.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-17 11:09:02 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-17 11:09:02 -0500
commit9b3c45b14d40d084b6301129d25376ee115b25ad (patch)
tree70b6dc198e201c9df6dc266c9676ebb55a8153c4 /engine/battle_anims/functions.asm
parentcd3fb2ca724475df55f2a2f908761d100bcf2a4b (diff)
Resolve some "???" comments
Diffstat (limited to 'engine/battle_anims/functions.asm')
-rw-r--r--engine/battle_anims/functions.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle_anims/functions.asm b/engine/battle_anims/functions.asm
index af24bf6c0..349226bf6 100644
--- a/engine/battle_anims/functions.asm
+++ b/engine/battle_anims/functions.asm
@@ -124,17 +124,17 @@ BattleAnimFunction_ThrowFromUserToTarget:
ld hl, BATTLEANIMSTRUCT_YCOORD
add hl, bc
dec [hl]
- ; Decrease ??? and hold onto its previous value (argument of the sine function)
+ ; Decrease var1 and hold onto its previous value (argument of the sine function)
ld hl, BATTLEANIMSTRUCT_VAR1
add hl, bc
ld a, [hl]
dec [hl]
- ; Get ???, which is the amplitude of the sine function
+ ; Get param (amplitude of the sine function)
ld hl, BATTLEANIMSTRUCT_PARAM
add hl, bc
ld d, [hl]
call BattleAnim_Sine
- ; Store the result in the Y offset
+ ; Store the sine result in the Y offset
ld hl, BATTLEANIMSTRUCT_YOFFSET
add hl, bc
ld [hl], a