diff options
author | yenatch <yenatch@gmail.com> | 2016-08-11 15:55:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 15:55:32 -0400 |
commit | 700321a7fb2d6c852ffc91cc0b8867526cb76813 (patch) | |
tree | 1a81b2ef5a4d7a2e5a9433e990ea178f5083acbf /battle/sliding_intro.asm | |
parent | c33ba049a5a993fc678fd1698645039ce4974022 (diff) | |
parent | 050a0162b89c645c4a2a3ed311c4da791fb3de6c (diff) |
Merge pull request #342 from PikalaxALT/master
More label interpretations
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 |