diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-17 10:56:28 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-17 10:56:28 -0500 |
commit | dd73b278b585266922424e09cd99faeeba02a2f4 (patch) | |
tree | dfe10f0e37b9de9a90453405db90921ecfc03a48 /engine/battle_anims/functions.asm | |
parent | 10bda1f6b2b57d44525b0b32e92fe09c8a2d10d9 (diff) |
Resolve some "???" comments
Diffstat (limited to 'engine/battle_anims/functions.asm')
-rw-r--r-- | engine/battle_anims/functions.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle_anims/functions.asm b/engine/battle_anims/functions.asm index a38bf152..a26c106c 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 |