summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-10 12:31:49 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-10 12:31:49 -0400
commitae36ef2c7fb722b7480d73c7a95a5d1e2ece7831 (patch)
treec6cfbfa143807b10f3baf86eeed3ff6275237c72 /battle/effect_commands.asm
parente95d42e0af1921f516c1fd4269024aa3f586514f (diff)
Labeled every function in ROM0 that's referenced in the source
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 32d247e8c..6cc4db94e 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -3402,9 +3402,9 @@ HitSelfInConfusion: ; 355dd
sla c
rl b
.mimic_screen
-rept 3
dec hl
-endr
+ dec hl
+ dec hl
ld a, [hli]
ld l, [hl]
ld h, a
@@ -3948,9 +3948,9 @@ BattleCommand_Encore: ; 35864
set SUBSTATUS_ENCORED, [hl]
call BattleRandom
and $3
-rept 3
inc a
-endr
+ inc a
+ inc a
ld [de], a
call CheckOpponentWentFirst
jr nz, .finish_move
@@ -4089,12 +4089,12 @@ BattleCommand_PainSplit: ; 35926
ld a, [CurDamage + 1]
rr a
ld [CurDamage + 1], a
-rept 3
inc hl
-endr
-rept 3
+ inc hl
+ inc hl
+ inc de
+ inc de
inc de
-endr
.EnemyShareHP: ; 359ac
ld c, [hl]
@@ -7442,9 +7442,9 @@ BattleCommand_TrapTarget: ; 36c2d
ret nz
call BattleRandom
and 3
-rept 3
inc a
-endr
+ inc a
+ inc a
ld [hl], a
ld a, BATTLE_VARS_MOVE_ANIM
call GetBattleVar