diff options
Diffstat (limited to 'battle/sliding_intro.asm')
-rwxr-xr-x | battle/sliding_intro.asm | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/battle/sliding_intro.asm b/battle/sliding_intro.asm index 194a4cd1b..ed78add8e 100755 --- a/battle/sliding_intro.asm +++ b/battle/sliding_intro.asm @@ -5,10 +5,10 @@ BattleIntroSlidingPics: ; 4e980 ld [rSVBK], a call .subfunction1 ld a, rSCX - $ff00 - ld [hFFC6], a + ld [hLCDCPointer], a call .subfunction2 xor a - ld [hFFC6], a + ld [hLCDCPointer], a pop af ld [rSVBK], a ret @@ -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 |