Resolve some "???" comments

This commit is contained in:
Rangi
2020-11-17 11:09:02 -05:00
parent cd3fb2ca72
commit 9b3c45b14d
15 changed files with 33 additions and 25 deletions

View File

@@ -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