summaryrefslogtreecommitdiff
path: root/battle/sliding_intro.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-04 11:46:23 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-04 11:46:23 -0400
commit3713b71d9e3f3f1bc099d4704910cb9c1d172dcf (patch)
tree03069bd1fb4576c16b773b23bab0071aabb7cabd /battle/sliding_intro.asm
parent82f1534925c5fe1f0d876ea88119b0121cfa65a6 (diff)
More splitting of main.asm; remove unneeded rept 2
Diffstat (limited to 'battle/sliding_intro.asm')
-rwxr-xr-xbattle/sliding_intro.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/battle/sliding_intro.asm b/battle/sliding_intro.asm
index 194a4cd1b..4b3be76c7 100755
--- a/battle/sliding_intro.asm
+++ b/battle/sliding_intro.asm
@@ -39,12 +39,10 @@ BattleIntroSlidingPics: ; 4e980
ld a, d
ld [hSCX], a
call .subfunction5
-rept 2
inc e
-endr
-rept 2
+ inc e
+ dec d
dec d
-endr
pop af
push af
cp $1
@@ -66,9 +64,8 @@ endr
ld c, $12 ; 18
ld de, $4
.loop3
-rept 2
dec [hl]
-endr
+ dec [hl]
add hl, de
dec c
jr nz, .loop3