Function3af0 -> GetBattleAnimByte

This commit is contained in:
yenatch 2013-12-05 15:01:32 -05:00
parent b85244eade
commit 37dd85797a
2 changed files with 40 additions and 40 deletions

View File

@ -2423,7 +2423,7 @@ Function3ae1: ; 3ae1
ret ret
; 3af0 ; 3af0
Function3af0: ; 3af0 GetBattleAnimByte: ; 3af0
push hl push hl
push de push de
ld hl, $d410 ld hl, $d410

View File

@ -87458,7 +87458,7 @@ Functioncc267: ; cc267
Functioncc275: ; cc275 Functioncc275: ; cc275
call Function3af0 call GetBattleAnimByte
cp $ff cp $ff
jr nz, .asm_cc286 jr nz, .asm_cc286
@ -87577,9 +87577,9 @@ BattleAnimCmd_FF: ; cc305 (33:4305)
; no known jump sources ; no known jump sources
BattleAnimCmd_FE: ; cc317 (33:4317) BattleAnimCmd_FE: ; cc317 (33:4317)
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
push de push de
ld hl, $d410 ld hl, $d410
@ -87601,9 +87601,9 @@ BattleAnimCmd_FE: ; cc317 (33:4317)
; no known jump sources ; no known jump sources
BattleAnimCmd_FC: ; cc339 (33:4339) BattleAnimCmd_FC: ; cc339 (33:4339)
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87613,7 +87613,7 @@ BattleAnimCmd_FC: ; cc339 (33:4339)
; no known jump sources ; no known jump sources
BattleAnimCmd_FD: ; cc348 (33:4348) BattleAnimCmd_FD: ; cc348 (33:4348)
call Function3af0 call GetBattleAnimByte
ld hl, $d40f ld hl, $d40f
bit 2, [hl] bit 2, [hl]
jr nz, .asm_cc35b jr nz, .asm_cc35b
@ -87629,9 +87629,9 @@ BattleAnimCmd_FD: ; cc348 (33:4348)
jr z, .asm_cc372 jr z, .asm_cc372
dec [hl] dec [hl]
.asm_cc363 .asm_cc363
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87659,9 +87659,9 @@ BattleAnimCmd_EF: ; cc383 (33:4383)
and a and a
jr z, .asm_cc39a jr z, .asm_cc39a
dec [hl] dec [hl]
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87682,7 +87682,7 @@ BattleAnimCmd_EF: ; cc383 (33:4383)
; no known jump sources ; no known jump sources
BattleAnimCmd_F9: ; cc3a6 (33:43a6) BattleAnimCmd_F9: ; cc3a6 (33:43a6)
call Function3af0 call GetBattleAnimByte
ld [$d416], a ld [$d416], a
ret ret
@ -87694,7 +87694,7 @@ BattleAnimCmd_FA: ; cc3ad (33:43ad)
; no known jump sources ; no known jump sources
BattleAnimCmd_FB: ; cc3b2 (33:43b2) BattleAnimCmd_FB: ; cc3b2 (33:43b2)
call Function3af0 call GetBattleAnimByte
ld hl, $d416 ld hl, $d416
cp [hl] cp [hl]
jr z, .asm_cc3c7 jr z, .asm_cc3c7
@ -87709,9 +87709,9 @@ BattleAnimCmd_FB: ; cc3b2 (33:43b2)
ld [hl], e ld [hl], e
ret ret
.asm_cc3c7 .asm_cc3c7
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87721,7 +87721,7 @@ BattleAnimCmd_FB: ; cc3b2 (33:43b2)
; no known jump sources ; no known jump sources
BattleAnimCmd_F8: ; cc3d6 (33:43d6) BattleAnimCmd_F8: ; cc3d6 (33:43d6)
call Function3af0 call GetBattleAnimByte
ld hl, $c689 ld hl, $c689
cp [hl] cp [hl]
jr z, .asm_cc3eb jr z, .asm_cc3eb
@ -87736,9 +87736,9 @@ BattleAnimCmd_F8: ; cc3d6 (33:43d6)
ld [hl], e ld [hl], e
ret ret
.asm_cc3eb .asm_cc3eb
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87748,7 +87748,7 @@ BattleAnimCmd_F8: ; cc3d6 (33:43d6)
; no known jump sources ; no known jump sources
BattleAnimCmd_EE: ; cc3fa (33:43fa) BattleAnimCmd_EE: ; cc3fa (33:43fa)
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
ld a, [$c689] ld a, [$c689]
and e and e
@ -87764,9 +87764,9 @@ BattleAnimCmd_EE: ; cc3fa (33:43fa)
ld [hl], e ld [hl], e
ret ret
.asm_cc410 .asm_cc410
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
call Function3af0 call GetBattleAnimByte
ld d, a ld d, a
ld hl, $d410 ld hl, $d410
ld [hl], e ld [hl], e
@ -87776,45 +87776,45 @@ BattleAnimCmd_EE: ; cc3fa (33:43fa)
; no known jump sources ; no known jump sources
BattleAnimCmd_D0: ; cc41f (33:441f) BattleAnimCmd_D0: ; cc41f (33:441f)
call Function3af0 call GetBattleAnimByte
ld [$d419], a ld [$d419], a
call Function3af0 call GetBattleAnimByte
ld [$d41a], a ld [$d41a], a
call Function3af0 call GetBattleAnimByte
ld [$d41b], a ld [$d41b], a
call Function3af0 call GetBattleAnimByte
ld [$d41c], a ld [$d41c], a
call Functioncc9a1 call Functioncc9a1
ret ret
; no known jump sources ; no known jump sources
BattleAnimCmd_F0: ; cc43b (33:443b) BattleAnimCmd_F0: ; cc43b (33:443b)
call Function3af0 call GetBattleAnimByte
ld [$d419], a ld [$d419], a
call Function3af0 call GetBattleAnimByte
ld [$d41a], a ld [$d41a], a
call Function3af0 call GetBattleAnimByte
ld [$d41b], a ld [$d41b], a
call Function3af0 call GetBattleAnimByte
ld [$d41c], a ld [$d41c], a
call Functionccb4f call Functionccb4f
ret ret
; no known jump sources ; no known jump sources
BattleAnimCmd_F1: ; cc457 (33:4457) BattleAnimCmd_F1: ; cc457 (33:4457)
call Function3af0 call GetBattleAnimByte
ld [$cfc7], a ld [$cfc7], a
ret ret
; no known jump sources ; no known jump sources
BattleAnimCmd_F2: ; cc45e (33:445e) BattleAnimCmd_F2: ; cc45e (33:445e)
call Function3af0 call GetBattleAnimByte
ld [$cfc8], a ld [$cfc8], a
ret ret
; no known jump sources ; no known jump sources
BattleAnimCmd_F3: ; cc465 (33:4465) BattleAnimCmd_F3: ; cc465 (33:4465)
call Function3af0 call GetBattleAnimByte
ld [$cfc9], a ld [$cfc9], a
ret ret
@ -87856,7 +87856,7 @@ BattleAnimCmd_D5: ; cc485 (33:4485)
ld a, [$d419] ld a, [$d419]
cp $4f cp $4f
ret nc ret nc
call Function3af0 call GetBattleAnimByte
ld [hli], a ld [hli], a
ld a, [$d419] ld a, [$d419]
ld [hli], a ld [hli], a
@ -87883,7 +87883,7 @@ BattleAnimCmd_D5: ; cc485 (33:4485)
; no known jump sources ; no known jump sources
BattleAnimCmd_D6: ; cc4c0 (33:44c0) BattleAnimCmd_D6: ; cc4c0 (33:44c0)
call Function3af0 call GetBattleAnimByte
ld e, $a ld e, $a
ld bc, $d30a ld bc, $d30a
.asm_cc4c8 .asm_cc4c8
@ -87908,7 +87908,7 @@ BattleAnimCmd_D6: ; cc4c0 (33:44c0)
; no known jump sources ; no known jump sources
BattleAnimCmd_D8: ; cc4e3 (33:44e3) BattleAnimCmd_D8: ; cc4e3 (33:44e3)
call Function3af0 call GetBattleAnimByte
ld e, $5 ld e, $5
ld bc, $d3fa ld bc, $d3fa
.asm_cc4eb .asm_cc4eb
@ -87933,7 +87933,7 @@ BattleAnimCmd_D8: ; cc4e3 (33:44e3)
; no known jump sources ; no known jump sources
BattleAnimCmd_D7: ; cc506 (33:4506) BattleAnimCmd_D7: ; cc506 (33:4506)
call Function3af0 call GetBattleAnimByte
ld e, $a ld e, $a
ld bc, $d30a ld bc, $d30a
.asm_cc50e .asm_cc50e
@ -87951,7 +87951,7 @@ BattleAnimCmd_D7: ; cc506 (33:4506)
jr nz, .asm_cc50e jr nz, .asm_cc50e
ret ret
.asm_cc523 .asm_cc523
call Function3af0 call GetBattleAnimByte
ld hl, $e ld hl, $e
add hl, bc add hl, bc
ld [hl], a ld [hl], a
@ -88357,7 +88357,7 @@ BattleAnimCmd_F7: ; cc7cc (33:47cc)
; no known jump sources ; no known jump sources
BattleAnimCmd_E0: ; cc7cd (33:47cd) BattleAnimCmd_E0: ; cc7cd (33:47cd)
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
srl a srl a
srl a srl a
@ -88373,7 +88373,7 @@ BattleAnimCmd_E0: ; cc7cd (33:47cd)
ld a, [hl] ld a, [hl]
ld [$c2bc], a ld [$c2bc], a
call Function3af0 call GetBattleAnimByte
ld e, a ld e, a
ld d, 0 ld d, 0
callab PlayStereoSFX callab PlayStereoSFX
@ -88401,7 +88401,7 @@ Functioncc7fc: ; cc7fc (33:47fc)
; no known jump sources ; no known jump sources
BattleAnimCmd_E1: ; cc807 (33:4807) BattleAnimCmd_E1: ; cc807 (33:4807)
call Function3af0 call GetBattleAnimByte
and 3 and 3
ld e, a ld e, a
ld d, 0 ld d, 0