You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
@@ -80,9 +80,9 @@ endr
|
||||
BattleAnimOAMUpdate:
|
||||
call InitBattleAnimBuffer
|
||||
call GetBattleAnimFrame
|
||||
cp dowait_command
|
||||
cp oamwait_command
|
||||
jp z, .done
|
||||
cp delanim_command
|
||||
cp oamdelete_command
|
||||
jp z, .delete
|
||||
|
||||
push af
|
||||
|
@@ -29,9 +29,9 @@ GetBattleAnimFrame:
|
||||
inc [hl]
|
||||
call .GetPointer
|
||||
ld a, [hli]
|
||||
cp dorestart_command
|
||||
cp oamrestart_command
|
||||
jr z, .restart
|
||||
cp endanim_command
|
||||
cp oamend_command
|
||||
jr z, .repeat_last
|
||||
|
||||
push af
|
||||
@@ -44,7 +44,7 @@ GetBattleAnimFrame:
|
||||
pop hl
|
||||
.okay
|
||||
ld a, [hl]
|
||||
and Y_FLIP << 1 | X_FLIP << 1 ; The << 1 is compensated in the "frame" macro
|
||||
and Y_FLIP << 1 | X_FLIP << 1 ; The << 1 is compensated in the "oamframe" macro
|
||||
srl a
|
||||
ld [wBattleAnimTempFrameOAMFlags], a
|
||||
pop af
|
||||
|
Reference in New Issue
Block a user