Merge pull request #167 from Pokechu22/rgbds-0.3.3

Update for RGBDS 0.3.3
This commit is contained in:
yenatch 2017-09-29 22:41:34 -04:00 committed by GitHub
commit 5c24193831
21 changed files with 219 additions and 38 deletions

View file

@ -213,7 +213,7 @@ PlayAnimation:
ld h,a
ld de,.nextAnimationCommand
push de
jp [hl] ; jump to special effect function
jp hl ; jump to special effect function
.playSubanimation
ld c,a
and a,%00111111
@ -457,7 +457,7 @@ PlayApplyingAttackAnimation:
ld a,[hli]
ld h,[hl]
ld l,a
jp [hl]
jp hl
AnimationTypePointerTable:
dw ShakeScreenVertically ; enemy mon has used a damaging move without a side effect
@ -642,7 +642,7 @@ DoSpecialEffectByAnimationId:
ld l,a
ld de,.done
push de
jp [hl]
jp hl
.done
pop bc
pop de
@ -1080,7 +1080,7 @@ CallWithTurnFlipped:
ld [H_WHOSETURN],a
ld de,.returnAddress
push de
jp [hl]
jp hl
.returnAddress
pop af
ld [H_WHOSETURN],a