pokecrystal-board/battle/anim_objects.asm

6635 lines
102 KiB
NASM
Raw Normal View History

; Objects used in battle animations.
QueueBattleAnimation: ; cc9a1 (33:49a1)
ld hl, ActiveAnimObjects
ld e, 10
.loop
ld a, [hl]
and a
jr z, .done
ld bc, $18
add hl, bc
dec e
jr nz, .loop
scf
ret
.done
ld c, l
ld b, h
2015-02-10 15:14:21 -08:00
ld hl, w5_d40e
inc [hl]
call Functioncc9c4
ret
Functioncc9bd: ; cc9bd
ld hl, $0
add hl, bc
ld [hl], $0
ret
; cc9c4
Functioncc9c4: ; cc9c4 (33:49c4)
ld a, [BattleAnimTemps]
ld e, a
ld d, 0
ld hl, BattleAnimObjects
2015-07-20 19:18:18 -07:00
rept 6
add hl, de
2015-07-20 19:18:18 -07:00
endr
ld e, l
ld d, h
ld hl, $0
add hl, bc
2015-02-10 15:14:21 -08:00
ld a, [w5_d40e]
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
inc de
ld [hli], a
ld a, [de]
call Functionccb31
ld [hli], a
ld a, [BattleAnimTemps + 1]
ld [hli], a
ld a, [BattleAnimTemps + 2]
ld [hli], a
xor a
2015-07-20 19:18:18 -07:00
rept 2
ld [hli], a
2015-07-20 19:18:18 -07:00
endr
ld a, [BattleAnimTemps + 3]
ld [hli], a
xor a
ld [hli], a
dec a
ld [hli], a
xor a
2015-07-20 19:18:18 -07:00
rept 2
ld [hli], a
2015-07-20 19:18:18 -07:00
endr
ld [hl], a
ret
Functioncca09: ; cca09
call Functionccaaa
call Functionce7d1
cp -3
jp z, .asm_ccaa5
cp -4
jp z, .asm_ccaa2
push af
ld hl, BattleAnimTemps
ld a, [BattleAnimTemps + 7]
xor [hl]
and $e0
ld [hl], a
pop af
push bc
call Functionce83c
ld a, [BattleAnimTemps + 2]
add [hl]
ld [BattleAnimTemps + 2], a
inc hl
ld a, [hli]
ld c, a
ld a, [hli]
ld h, [hl]
ld l, a
2015-02-10 15:14:21 -08:00
ld a, [w5_d418]
ld e, a
ld d, $c4
.asm_cca3c
ld a, [BattleAnimTemps + 4]
ld b, a
ld a, [BattleAnimTemps + 6]
add b
ld b, a
push hl
ld a, [hl]
ld hl, BattleAnimTemps
bit 6, [hl]
jr z, .asm_cca53
add $8
xor $ff
inc a
.asm_cca53
pop hl
add b
ld [de], a
inc hl
inc de
ld a, [BattleAnimTemps + 3]
ld b, a
ld a, [BattleAnimTemps + 5]
add b
ld b, a
push hl
ld a, [hl]
ld hl, BattleAnimTemps
bit 5, [hl]
jr z, .asm_cca6f
add $8
xor $ff
inc a
.asm_cca6f
pop hl
add b
ld [de], a
inc hl
inc de
ld a, [BattleAnimTemps + 2]
add $31
add [hl]
ld [de], a
inc hl
inc de
ld a, [BattleAnimTemps]
ld b, a
ld a, [hl]
xor b
and $e0
ld b, a
ld a, [hl]
and $10
or b
ld b, a
ld a, [BattleAnimTemps + 8]
and $f
or b
ld [de], a
inc hl
inc de
ld a, e
2015-02-10 15:14:21 -08:00
ld [w5_d418], a
cp $a0
jr nc, .asm_ccaa7
dec c
jr nz, .asm_cca3c
pop bc
jr .asm_ccaa5
.asm_ccaa2
call Functioncc9bd
.asm_ccaa5
and a
ret
.asm_ccaa7
pop bc
scf
ret
; ccaaa
Functionccaaa: ; ccaaa
ld hl, $1
add hl, bc
ld a, [hl]
and $80
ld [BattleAnimTemps], a
xor a
ld [BattleAnimTemps + 7], a
ld hl, $5
add hl, bc
ld a, [hl]
ld [BattleAnimTemps + 8], a
ld hl, $2
add hl, bc
ld a, [hl]
ld [BattleAnimTemps + 1], a
ld hl, $6
add hl, bc
ld a, [hli]
ld [BattleAnimTemps + 2], a
ld a, [hli]
ld [BattleAnimTemps + 3], a
ld a, [hli]
ld [BattleAnimTemps + 4], a
ld a, [hli]
ld [BattleAnimTemps + 5], a
ld a, [hli]
ld [BattleAnimTemps + 6], a
ld a, [hBattleTurn]
and a
ret z
ld hl, $1
add hl, bc
ld a, [hl]
ld [BattleAnimTemps], a
bit 0, [hl]
ret z
ld hl, $7
add hl, bc
ld a, [hli]
ld d, a
ld a, $b4
sub d
ld [BattleAnimTemps + 3], a
ld a, [hli]
ld d, a
ld a, [BattleAnimTemps + 1]
cp $ff
jr nz, .asm_ccb09
ld a, $28
add d
jr .asm_ccb26
.asm_ccb09
sub d
push af
ld a, [FXAnimIDHi]
or a
jr nz, .asm_ccb25
ld a, [FXAnimIDLo]
cp $86
jr z, .asm_ccb20
cp $87
jr z, .asm_ccb20
cp $d0
jr nz, .asm_ccb25
.asm_ccb20
pop af
sub $8
jr .asm_ccb26
.asm_ccb25
pop af
.asm_ccb26
ld [BattleAnimTemps + 4], a
ld a, [hli]
xor $ff
inc a
ld [BattleAnimTemps + 5], a
ret
; ccb31
Functionccb31: ; ccb31 (33:4b31)
push hl
push bc
2015-02-10 15:14:21 -08:00
ld hl, w5_d300
ld b, a
ld c, $5
.asm_ccb39
ld a, [hli]
cp b
jr z, .asm_ccb44
inc hl
dec c
jr nz, .asm_ccb39
xor a
jr .asm_ccb45
.asm_ccb44
ld a, [hl]
.asm_ccb45
pop bc
pop hl
ret
_ExecuteBGEffects: ; ccb48
callab ExecuteBGEffects
ret
; ccb4f
_QueueBGEffect: ; ccb4f (33:4b4f)
callab QueueBGEffect
ret
; ccb56 (33:4b56)
BattleAnimObjects: ; ccb56
db $01, $ff, $00, $00, $02, $01
db $01, $ff, $01, $00, $02, $01
db $01, $ff, $02, $00, $02, $01
db $01, $90, $00, $00, $02, $01
db $01, $90, $01, $00, $02, $01
db $01, $90, $02, $00, $02, $01
db $01, $ff, $03, $00, $02, $01
db $01, $ff, $04, $1b, $02, $01
db $01, $ff, $05, $00, $02, $01
db $01, $ff, $06, $00, $02, $01
db $01, $90, $07, $09, $02, $01
db $01, $aa, $10, $10, $04, $03
db $01, $90, $0e, $04, $04, $03
db $01, $90, $0f, $03, $04, $03
db $01, $90, $10, $08, $04, $03
db $01, $90, $0f, $0a, $04, $03
db $01, $90, $11, $03, $04, $03
db $01, $90, $12, $08, $06, $0a
db $01, $90, $13, $00, $06, $0a
db $01, $90, $14, $01, $06, $0a
db $21, $78, $16, $0b, $05, $06
db $00, $00, $09, $12, $04, $0b
db $00, $00, $09, $13, $04, $0b
db $01, $90, $18, $00, $04, $08
db $01, $ff, $18, $00, $04, $08
db $01, $90, $1d, $06, $02, $0c
db $01, $b4, $1f, $38, $02, $0c
db $01, $90, $08, $00, $02, $07
db $01, $a0, $08, $00, $02, $07
db $01, $ff, $19, $07, $07, $09
db $01, $ff, $1a, $07, $07, $09
db $01, $b0, $1b, $36, $07, $09
db $01, $b0, $84, $36, $06, $21
db $01, $90, $21, $0c, $06, $0d
db $00, $00, $23, $0d, $06, $0d
db $01, $90, $24, $0e, $02, $0e
db $61, $80, $27, $0f, $06, $04
db $01, $b4, $2a, $00, $06, $04
db $01, $40, $2b, $11, $05, $0f
db $61, $98, $2c, $00, $03, $10
db $61, $98, $2d, $09, $03, $10
db $01, $b8, $2e, $00, $06, $0a
db $01, $b8, $2f, $00, $06, $0a
db $01, $b8, $30, $14, $07, $11
db $01, $90, $21, $14, $03, $0d
db $21, $b0, $31, $00, $03, $05
db $21, $b0, $32, $00, $03, $05
db $21, $b0, $33, $00, $03, $05
db $21, $90, $34, $15, $03, $05
db $21, $90, $36, $00, $03, $05
db $21, $90, $37, $03, $02, $08
db $21, $90, $38, $00, $03, $05
db $21, $90, $39, $03, $02, $08
db $21, $90, $3a, $16, $02, $02
db $01, $90, $3c, $17, $02, $02
db $21, $ff, $3e, $00, $02, $02
db $21, $ff, $3f, $00, $02, $02
db $21, $ff, $40, $00, $02, $02
db $21, $ff, $41, $00, $02, $02
db $21, $ff, $42, $00, $02, $02
db $01, $88, $43, $18, $05, $12
db $01, $88, $44, $00, $05, $12
db $21, $b8, $45, $19, $02, $13
db $21, $ff, $46, $00, $02, $14
db $21, $ff, $47, $00, $02, $14
db $21, $ff, $48, $1a, $02, $14
db $21, $ff, $49, $1a, $02, $14
db $21, $98, $4a, $01, $02, $14
db $21, $80, $4b, $00, $03, $11
db $01, $88, $4c, $1c, $05, $12
db $21, $b0, $4d, $1d, $02, $15
db $01, $b0, $51, $1e, $03, $11
db $21, $ff, $52, $1f, $05, $16
db $21, $ff, $54, $1f, $05, $16
db $21, $68, $56, $20, $05, $06
db $21, $90, $59, $21, $02, $0e
db $21, $90, $5c, $02, $02, $17
db $01, $90, $5d, $22, $03, $11
db $61, $88, $5f, $00, $03, $10
db $61, $88, $2d, $09, $03, $10
db $21, $88, $60, $00, $03, $18
db $21, $80, $60, $00, $02, $18
db $21, $50, $61, $23, $03, $19
db $01, $80, $63, $24, $02, $19
db $01, $80, $66, $25, $02, $19
db $01, $50, $1c, $00, $02, $0c
db $21, $a8, $67, $26, $07, $1a
db $21, $a8, $68, $00, $07, $1a
db $21, $90, $69, $01, $02, $1a
db $21, $90, $6d, $28, $03, $19
db $21, $90, $6a, $27, $02, $1b
db $00, $00, $6f, $29, $02, $1c
db $21, $48, $70, $29, $02, $1c
db $21, $48, $6f, $29, $02, $1c
db $21, $78, $6f, $2a, $02, $1c
db $61, $90, $71, $2b, $02, $1d
db $61, $90, $72, $2c, $02, $1d
db $01, $48, $73, $2d, $04, $1e
db $01, $90, $74, $06, $02, $15
db $01, $ff, $75, $2e, $07, $19
db $21, $90, $4a, $02, $02, $14
db $01, $80, $30, $2f, $02, $11
db $01, $78, $76, $2a, $04, $23
db $01, $80, $77, $30, $02, $1f
db $01, $90, $77, $02, $02, $1f
db $01, $ff, $77, $00, $02, $1f
db $01, $80, $78, $08, $03, $23
db $21, $90, $79, $00, $02, $1f
db $01, $ff, $7a, $31, $03, $11
db $01, $88, $7a, $31, $03, $11
db $21, $88, $7b, $32, $02, $20
db $21, $98, $7c, $00, $02, $04
db $21, $80, $7d, $00, $02, $18
db $01, $80, $21, $2f, $06, $0d
db $01, $b0, $7e, $33, $03, $12
db $01, $80, $7f, $2f, $02, $08
db $21, $a0, $6f, $34, $02, $1c
db $21, $a0, $74, $35, $02, $15
db $21, $b0, $80, $33, $02, $14
db $01, $88, $81, $37, $02, $11
db $01, $88, $85, $00, $02, $22
db $01, $88, $86, $00, $02, $22
db $01, $90, $87, $39, $02, $1f
db $01, $80, $30, $3a, $03, $11
db $21, $90, $34, $00, $03, $05
db $a1, $88, $88, $3b, $06, $13
db $01, $80, $76, $25, $04, $23
db $01, $98, $10, $34, $04, $03
db $01, $a8, $0f, $3c, $04, $03
db $21, $68, $89, $29, $02, $1f
db $21, $b0, $8a, $00, $02, $1f
db $21, $80, $8c, $00, $02, $1f
db $21, $50, $8d, $00, $03, $1f
db $01, $40, $24, $40, $02, $0e
db $21, $a8, $8e, $41, $04, $1f
db $21, $88, $8f, $3e, $02, $1f
db $21, $88, $93, $3e, $02, $1f
db $21, $90, $97, $3d, $02, $1f
db $21, $90, $78, $3d, $03, $23
db $01, $ff, $99, $2e, $02, $19
db $21, $a0, $74, $02, $02, $15
db $21, $a0, $99, $35, $04, $19
db $21, $70, $8b, $3f, $02, $1f
db $01, $90, $15, $08, $02, $0a
db $01, $90, $11, $02, $04, $03
db $01, $80, $7f, $42, $02, $08
db $01, $90, $9a, $00, $02, $1b
db $21, $a0, $9b, $35, $04, $23
db $21, $80, $9c, $23, $02, $25
db $21, $80, $9d, $25, $02, $25
db $21, $80, $9c, $00, $02, $25
db $21, $80, $9e, $00, $06, $25
db $61, $80, $9f, $3a, $05, $23
db $21, $80, $a0, $16, $02, $23
db $21, $70, $78, $43, $03, $23
db $21, $c0, $a2, $01, $02, $25
db $21, $40, $a3, $44, $03, $24
db $01, $80, $a4, $00, $02, $24
db $01, $80, $a5, $00, $03, $24
db $01, $88, $43, $45, $04, $12
db $21, $ff, $a6, $00, $02, $02
db $21, $ff, $a7, $00, $02, $02
db $21, $00, $b4, $4a, $07, $0f
db $21, $90, $a8, $02, $03, $05
db $21, $40, $9c, $11, $02, $25
db $61, $90, $a9, $46, $02, $23
db $00, $00, $24, $47, $02, $0e
db $01, $80, $aa, $00, $02, $24
db $21, $b8, $ab, $48, $02, $13
db $21, $90, $ac, $44, $02, $13
db $01, $a8, $05, $00, $02, $01
db $01, $90, $24, $43, $02, $0e
db $01, $88, $ad, $00, $06, $17
db $01, $a8, $ae, $49, $02, $01
db $21, $90, $af, $01, $03, $11
db $21, $00, $b0, $4a, $02, $04
db $00, $00, $70, $4b, $04, $1c
db $01, $88, $b1, $4c, $02, $19
db $01, $b8, $19, $4d, $07, $09
db $61, $98, $b3, $00, $03, $27
db $61, $98, $74, $04, $06, $15
db $21, $ff, $19, $4e, $07, $09
db $01, $90, $73, $08, $04, $1e
db $01, $ff, $89, $4f, $04, $1f
db $00, $00, $b5, $00, $00, $28
db $00, $00, $b6, $00, $01, $29
db $00, $00, $b7, $00, $00, $28
db $00, $00, $b8, $00, $01, $29
; ccfbe
Functionccfbe: ; ccfbe
ld hl, $4
add hl, bc
ld e, [hl]
ld d, 0
ld hl, .Jumptable
2015-07-20 19:18:18 -07:00
rept 2
add hl, de
2015-07-20 19:18:18 -07:00
endr
ld a, [hli]
ld h, [hl]
ld l, a
jp [hl]
; ccfce
.Jumptable: ; ccfce (33:4fce)
dw Functioncd06e
dw Functioncd12a
dw Functioncd146
dw Functioncd0e3
dw Functioncd0a6
dw Functioncd081
dw Functioncd079
dw Functioncd2be
dw Functioncd306
dw Functioncd3ae
dw Functioncd3f2
dw Functioncd478
dw Functioncd5e9
dw Functioncd66a
dw Functioncd6e3
dw Functioncd71a
dw Functioncd284
dw Functioncd777
dw Functioncd15c
dw Functioncd212
dw Functioncd7a4
dw Functioncd80c
dw Functioncd824
dw Functioncd89a
dw Functioncd900
dw Functioncd954
dw Functioncdafa
dw Functioncdb06
dw Functioncda0a
dw Functioncdb80
dw Functioncdca6
dw Functioncda31
dw Functioncda4d
dw Functioncdcc3
dw Functioncdd2a
dw Functioncdd90
dw Functioncddf9
dw Functioncde28
dw Functioncde54
dw Functioncde6b
dw Functioncde89
dw Functioncdedd
dw Functioncdf59
dw Functionce063
dw Functionce0c5
dw Functioncdf1b
dw Functionce10e
dw Functionce15c
dw Functionce1e7
dw Functionce226
dw Functionce255
dw Functionce2cc
dw Functioncdf8c
dw Functionce00b
dw Functionce2fd
dw Functionce35f
dw Functionce389
dw Functionce3b4
dw Functionce3d2
dw Functionce3ff
dw Functioncdfcb
dw Functionce416
dw Functionce43a
dw Functioncdad6
dw Functionce49c
dw Functionce4dc
dw Functionce1b0
dw Functionce508
dw Functionce532
dw Functionce55b
dw Functionce593
dw Functionce5b4
dw Functionce5dc
dw Functionce5ee
dw Functionce62f
dw Functionce688
dw Functionce6b3
dw Functionce6d2
dw Functioncd58a
dw Functionce6bf
Functioncd06e: ; cd06e (33:506e)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd078
dw Functioncd075
Functioncd075: ; cd075 (33:5075)
call Functioncc9bd
Functioncd078: ; cd078 (33:5078)
ret
Functioncd079: ; cd079 (33:5079)
call Functioncd081
ret c
call Functioncc9bd
ret
Functioncd081: ; cd081 (33:5081)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
ret nc
add $2
ld [hl], a
ld hl, $8
add hl, bc
dec [hl]
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
ld hl, $b
add hl, bc
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
scf
ret
Functioncd0a6: ; cd0a6 (33:50a6)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
jr c, .asm_cd0b3
call Functioncc9bd
ret
.asm_cd0b3
add $2
ld [hl], a
ld hl, $8
add hl, bc
dec [hl]
ld hl, $f
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 4
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, $10
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
sra a
sra a
sra a
sra a
ld [hl], a
ret
Functioncd0e3: ; cd0e3 (33:50e3)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd0ea
dw Functioncd106
Functioncd0ea: ; cd0ea (33:50ea)
call Functionce72c
ld hl, $b
add hl, bc
bit 7, [hl]
ld a, $0
jr z, .asm_cd0f9
ld a, $20
.asm_cd0f9
ld hl, $f
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $7f
ld [hl], a
Functioncd106: ; cd106 (33:5106)
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $b
add hl, bc
ld d, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ret
Functioncd12a: ; cd12a (33:512a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd135
dw Functioncd131
Functioncd131: ; cd131 (33:5131)
call Functioncc9bd
ret
Functioncd135: ; cd135 (33:5135)
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
ret nc
ld hl, $b
add hl, bc
ld a, [hl]
call Functionce70a
ret
Functioncd146: ; cd146 (33:5146)
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
jr nc, .asm_cd158
ld hl, $b
add hl, bc
ld a, [hl]
call Functionce70a
ret
.asm_cd158
call Functioncc9bd
ret
Functioncd15c: ; cd15c (33:515c)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd177
dw Functioncd17e
dw Functioncd1dc
dw Functioncd196
dw Functioncd1a7
dw Functioncd1dc
dw Functioncd1d2
dw Functioncd1dd
dw Functioncd1ee
dw Functioncd1dc
dw Functioncd1ee
dw Functioncd20e
Functioncd177: ; cd177 (33:5177)
call Functioncd249
call Functionce72c
ret
Functioncd17e: ; cd17e (33:517e)
call Functioncd081
ret c
ld hl, $a
add hl, bc
ld a, [hl]
ld hl, $8
add hl, bc
add [hl]
ld [hl], a
ld a, $b
call Functionce7bf
call Functionce72c
ret
Functioncd196: ; cd196 (33:5196)
call Functionce72c
ld a, $9
call Functionce7bf
ld hl, $f
add hl, bc
ld [hl], $0
inc hl
ld [hl], $10
Functioncd1a7: ; cd1a7 (33:51a7)
ld hl, $f
add hl, bc
ld a, [hli]
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
dec a
ld [hl], a
and $1f
ret nz
ld [hl], a
ld hl, $10
add hl, bc
ld a, [hl]
sub $4
ld [hl], a
ret nz
ld a, $c
call Functionce7bf
call Functionce72c
ret
Functioncd1d2: ; cd1d2 (33:51d2)
ld a, $d
call Functionce7bf
ld hl, $e
add hl, bc
dec [hl]
Functioncd1dc: ; cd1dc (33:51dc)
ret
Functioncd1dd: ; cd1dd (33:51dd)
call Functioncd249
ld a, $a
call Functionce7bf
call Functionce72c
ld hl, $10
add hl, bc
ld [hl], $20
Functioncd1ee: ; cd1ee (33:51ee)
ld hl, $f
add hl, bc
ld a, [hli]
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
dec a
ld [hl], a
and $1f
jr z, Functioncd20e
and $f
ret nz
call Functionce72c
ret
Functioncd20e: ; cd20e (33:520e)
call Functioncc9bd
ret
Functioncd212: ; cd212 (33:5212)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd21b
dw Functioncd222
dw Functioncd232
Functioncd21b: ; cd21b (33:521b)
call Functioncd249
call Functionce72c
ret
Functioncd222: ; cd222 (33:5222)
ld hl, $7
add hl, bc
ld a, [hl]
cp $70
jr nc, .asm_cd22f
call Functioncd081
ret
.asm_cd22f
call Functionce72c
Functioncd232: ; cd232 (33:5232)
ld hl, $8
add hl, bc
ld a, [hl]
cp $80
jr nc, .asm_cd245
add $4
ld [hl], a
ld hl, $7
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ret
.asm_cd245
call Functioncc9bd
ret
Functioncd249: ; cd249 (33:5249)
ld hl, Unknown_cd26c
ld a, [rSVBK]
push af
ld a, $1
ld [rSVBK], a
ld a, [CurItem] ; CurItem
ld e, a
pop af
ld [rSVBK], a
.asm_cd25a
ld a, [hli]
cp $ff
jr z, .asm_cd265
cp e
jr z, .asm_cd265
inc hl
jr .asm_cd25a
.asm_cd265
ld a, [hl]
ld hl, SPRITEANIMSTRUCT_YCOORD
add hl, bc
ld [hl], a
ret
; cd26c (33:526c)
Unknown_cd26c: ; cd26c
db MASTER_BALL, 5
db ULTRA_BALL, 3
db GREAT_BALL, 6
db POKE_BALL, 4
db HEAVY_BALL, 2
db LEVEL_BALL, 7
db LURE_BALL, 6
db FAST_BALL, 6
db FRIEND_BALL, 3
db MOON_BALL, 2
db LOVE_BALL, 4
db $ff, 2
; cd284
Functioncd284: ; cd284 (33:5284)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd291
dw Functioncd2a0
dw Functioncd2b1
dw Functioncd2b5
dw Functioncd2bd
Functioncd291: ; cd291 (33:5291)
ld hl, $b
add hl, bc
ld a, [hl]
swap a
and $f
ld hl, $e
add hl, bc
ld [hl], a
ret
Functioncd2a0: ; cd2a0 (33:52a0)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
ret nc
ld hl, $b
add hl, bc
ld a, [hl]
call Functionce70a
ret
Functioncd2b1: ; cd2b1 (33:52b1)
call Functioncc9bd
ret
Functioncd2b5: ; cd2b5 (33:52b5)
call Functionce72c
ld a, $f
call Functionce7bf
Functioncd2bd: ; cd2bd (33:52bd)
ret
Functioncd2be: ; cd2be (33:52be)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd2c5
dw Functioncd2d1
Functioncd2c5: ; cd2c5 (33:52c5)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $30
inc hl
ld [hl], $48
Functioncd2d1: ; cd2d1 (33:52d1)
ld hl, $f
add hl, bc
ld a, [hli]
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $3f
ret nz
ld hl, $f
add hl, bc
ld [hl], $20
ld hl, $10
add hl, bc
ld a, [hl]
ld hl, $b
add hl, bc
sub [hl]
jr z, .asm_cd302
jr c, .asm_cd302
ld hl, $10
add hl, bc
ld [hl], a
ret
.asm_cd302
call Functioncc9bd
ret
Functioncd306: ; cd306 (33:5306)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd311
dw Functioncd321
dw Functioncd32a
dw Functioncd37d
Functioncd311: ; cd311 (33:5311)
ld hl, $7
add hl, bc
ld a, [hl]
cp $80
jr nc, .asm_cd31e
call Functioncd38e
ret
.asm_cd31e
call Functionce72c
Functioncd321: ; cd321 (33:5321)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $0
Functioncd32a: ; cd32a (33:532a)
ld hl, $f
add hl, bc
ld a, [hl]
cp $40
jr nc, .asm_cd363
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $18
call BattleAnim_Cosine
sub $18
sra a
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $18
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld hl, $f
add hl, bc
add [hl]
ld [hl], a
ret
.asm_cd363
ld hl, $b
add hl, bc
ld a, [hl]
and $f0
jr z, .asm_cd37a
sub $10
ld d, a
ld a, [hl]
and $f
or d
ld [hl], a
ld hl, $e
add hl, bc
dec [hl]
ret
.asm_cd37a
call Functionce72c
Functioncd37d: ; cd37d (33:537d)
ld hl, $7
add hl, bc
ld a, [hl]
cp $b0
jr c, .asm_cd38a
call Functioncc9bd
ret
.asm_cd38a
call Functioncd38e
ret
Functioncd38e: ; cd38e (33:538e)
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld hl, $7
add hl, bc
add [hl]
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld e, a
srl e
ld hl, $8
add hl, bc
.asm_cd3a9
dec [hl]
dec e
jr nz, .asm_cd3a9
ret
Functioncd3ae: ; cd3ae (33:53ae)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd3b7
dw Functioncd3cc
dw Functioncd3ee
Functioncd3b7: ; cd3b7 (33:53b7)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $0
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld hl, $9
add hl, bc
ld [hl], a
Functioncd3cc: ; cd3cc (33:53cc)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_cd3d6
dec [hl]
ret
.asm_cd3d6
ld hl, $b
add hl, bc
ld a, [hl]
swap a
and $f
ld hl, $f
add hl, bc
ld [hl], a
ld hl, $9
add hl, bc
ld a, [hl]
xor $ff
inc a
ld [hl], a
ret
Functioncd3ee: ; cd3ee (33:53ee)
call Functioncc9bd
ret
Functioncd3f2: ; cd3f2 (33:53f2)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd409
dw Functioncd45c
dw Functioncd467
dw Functioncd472
dw Functioncd462
dw Functioncd46d
dw Functioncd477
dw Functioncd41d
dw Functioncd437
dw Functioncd458
Functioncd409: ; cd409 (33:5409)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $e
add hl, bc
ld [hl], a
cp $7
jr z, Functioncd41d
ld a, $11
call Functionce7bf
ret
Functioncd41d: ; cd41d (33:541d)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
jr nc, .asm_cd42f
add $2
ld [hl], a
ld hl, $8
add hl, bc
dec [hl]
ret
.asm_cd42f
call Functionce72c
ld a, $10
call Functionce7bf
Functioncd437: ; cd437 (33:5437)
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $10
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ret
Functioncd458: ; cd458 (33:5458)
call Functioncc9bd
ret
Functioncd45c: ; cd45c (33:545c)
ld hl, $a
add hl, bc
dec [hl]
ret
Functioncd462: ; cd462 (33:5462)
ld hl, $a
add hl, bc
inc [hl]
Functioncd467: ; cd467 (33:5467)
ld hl, $9
add hl, bc
dec [hl]
ret
Functioncd46d: ; cd46d (33:546d)
ld hl, $a
add hl, bc
inc [hl]
Functioncd472: ; cd472 (33:5472)
ld hl, $9
add hl, bc
inc [hl]
Functioncd477: ; cd477 (33:5477)
ret
Functioncd478: ; cd478 (33:5478)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd48d
dw Functioncd496
dw Functioncd4ee
dw Functioncd53a
dw Functioncd545
dw Functioncd545
dw Functioncd545
dw Functioncd545
dw Functioncd549
Functioncd48d: ; cd48d (33:548d)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $40
Functioncd496: ; cd496 (33:5496)
ld hl, $f
add hl, bc
ld a, [hl]
cp $30
jr nc, .asm_cd4bc
call Functionce72c
xor a
ld hl, $f
add hl, bc
ld [hli], a
ld [hl], a
ld a, $17
call Functionce7bf
ld hl, $b
add hl, bc
bit 6, [hl]
ret z
ld hl, $d
add hl, bc
ld [hl], $5
ret
.asm_cd4bc
ld hl, $b
add hl, bc
ld a, [hl]
and $3f
ld d, a
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
call Functioncd557
ld hl, $10
add hl, bc
ld a, [hl]
ld hl, $7
add hl, bc
ld h, [hl]
ld l, a
add hl, de
ld e, l
ld d, h
ld hl, $7
add hl, bc
ld [hl], d
ld hl, $10
add hl, bc
ld [hl], e
ret
Functioncd4ee: ; cd4ee (33:54ee)
ld hl, $a
add hl, bc
ld a, [hl]
cp $20
jr nz, .asm_cd4fb
call Functioncc9bd
ret
.asm_cd4fb
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $10
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
bit 6, [hl]
jr nz, .asm_cd519
ld hl, $f
add hl, bc
inc [hl]
jr .asm_cd51e
.asm_cd519
ld hl, $f
add hl, bc
dec [hl]
.asm_cd51e
ld de, $80
ld hl, $10
add hl, bc
ld a, [hl]
ld hl, $a
add hl, bc
ld h, [hl]
ld l, a
add hl, de
ld e, l
ld d, h
ld hl, $a
add hl, bc
ld [hl], d
ld hl, $10
add hl, bc
ld [hl], e
ret
Functioncd53a: ; cd53a (33:553a)
ld a, $16
call Functionce7bf
ld hl, $1
add hl, bc
res 5, [hl]
Functioncd545: ; cd545 (33:5545)
call Functionce72c
ret
Functioncd549: ; cd549 (33:5549)
ld hl, $7
add hl, bc
ld a, [hl]
cp $c0
ret nc
ld a, $8
call Functionce70a
ret
Functioncd557: ; cd557 (33:5557)
ld hl, $b
add hl, bc
ld a, [hl]
bit 7, a
jr nz, .negative
cp $20
jr nc, .plus_256
cp $18
jr nc, .plus_384
ld de, $200
ret
.plus_384
ld de, $180
ret
.plus_256
ld de, $100
ret
.negative
and $3f
cp $20
jr nc, .minus_256
cp $18
jr nc, .minus_384
ld de, -$200
ret
.minus_384
ld de, -$180
ret
.minus_256
ld de, -$100
ret
Functioncd58a: ; cd58a (33:558a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd591
dw Functioncd5aa
Functioncd591: ; cd591 (33:5591)
ld hl, $b
add hl, bc
ld a, [hl]
and $40
rlca
rlca
add $19
ld hl, $3
add hl, bc
ld [hl], a
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $40
Functioncd5aa: ; cd5aa (33:55aa)
ld hl, $f
add hl, bc
ld a, [hl]
cp $30
jr nc, .asm_cd5b7
call Functioncc9bd
ret
.asm_cd5b7
ld hl, $b
add hl, bc
ld a, [hl]
and $3f
ld d, a
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
call Functioncd557
ld hl, $10
add hl, bc
ld a, [hl]
ld hl, $7
add hl, bc
ld h, [hl]
ld l, a
add hl, de
ld e, l
ld d, h
ld hl, $7
add hl, bc
ld [hl], d
ld hl, $10
add hl, bc
ld [hl], e
ret
Functioncd5e9: ; cd5e9 (33:55e9)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd5f2
dw Functioncd5fb
dw Functioncd61b
Functioncd5f2: ; cd5f2 (33:55f2)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $c
Functioncd5fb: ; cd5fb (33:55fb)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_cd60d
dec [hl]
ld hl, $b
add hl, bc
ld a, [hl]
call Functionce70a
ret
.asm_cd60d
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $0
ld a, $22
call Functionce7bf
Functioncd61b: ; cd61b (33:561b)
ld hl, $7
add hl, bc
ld a, [hl]
cp $98
jr nc, .asm_cd63f
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $7
add hl, bc
ld h, [hl]
ld l, a
ld de, $60
add hl, de
ld e, l
ld d, h
ld hl, $f
add hl, bc
ld [hl], e
ld hl, $7
add hl, bc
ld [hl], d
.asm_cd63f
ld hl, $8
add hl, bc
ld a, [hl]
cp $20
ret c
ld hl, $b
add hl, bc
ld a, [hl]
and $f0
ld e, a
ld d, $ff
ld hl, $10
add hl, bc
ld a, [hl]
ld hl, $8
add hl, bc
ld h, [hl]
ld l, a
add hl, de
ld e, l
ld d, h
ld hl, $10
add hl, bc
ld [hl], e
ld hl, $8
add hl, bc
ld [hl], d
ret
Functioncd66a: ; cd66a (33:566a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd677
dw Functioncd687
dw Functioncd6c5
dw Functioncd6c6
dw Functioncd6d6
Functioncd677: ; cd677 (33:5677)
call Functionce72c
ld a, $42
ld [hLCDStatCustom], a
ld a, $58
ld [hLCDStatCustom + 1], a
ld a, $5e
ld [hLCDStatCustom + 2], a
ret
Functioncd687: ; cd687 (33:5687)
ld hl, $b
add hl, bc
ld e, [hl]
ld hl, $8
add hl, bc
ld a, [hl]
cp e
jr nc, .asm_cd69b
call Functionce72c
xor a
ld [hLCDStatCustom + 1], a
ret
.asm_cd69b
dec a
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $10
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $8
add hl, bc
add [hl]
sub $10
ret c
ld [hLCDStatCustom + 1], a
ld hl, $9
add hl, bc
ld a, [hl]
inc a
and $7
ld [hl], a
ld hl, $f
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
Functioncd6c5: ; cd6c5 (33:56c5)
ret
Functioncd6c6: ; cd6c6 (33:56c6)
ld hl, $8
add hl, bc
ld a, [hl]
cp $70
jr c, asm_cd6da
xor a
ld [hLCDStatCustom], a
ld [hLCDStatCustom + 1], a
ld [hLCDStatCustom + 2], a
Functioncd6d6: ; cd6d6 (33:56d6)
call Functioncc9bd
ret
asm_cd6da: ; cd6da (33:56da)
2015-07-20 19:18:18 -07:00
rept 2
inc a
2015-07-20 19:18:18 -07:00
endr
ld [hl], a
sub $10
ret c
ld [hLCDStatCustom + 1], a
ret
Functioncd6e3: ; cd6e3 (33:56e3)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd6ea
dw Functioncd6f7
Functioncd6ea: ; cd6ea (33:56ea)
call Functionce72c
ld hl, $b
add hl, bc
ld a, $24
add [hl]
call Functionce7bf
Functioncd6f7: ; cd6f7 (33:56f7)
ld hl, $7
add hl, bc
ld a, [hl]
cp $b8
jr c, .asm_cd704
call Functioncc9bd
ret
.asm_cd704
ld a, $2
call Functionce70a
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
ld d, $8
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ret
Functioncd71a: ; cd71a (33:571a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd725
dw Functioncd728
dw Functioncd763
dw Functioncd776
Functioncd725: ; cd725 (33:5725)
call Functionce72c
Functioncd728: ; cd728 (33:5728)
ld hl, $8
add hl, bc
ld a, [hl]
cp $30
jr c, .asm_cd747
ld a, $2
call Functionce70a
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
ld d, $8
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ret
.asm_cd747
call Functionce72c
ld a, $28
call Functionce7bf
ld hl, $a
add hl, bc
ld [hl], $0
ld hl, $8
add hl, bc
ld [hl], $30
ld hl, $1
add hl, bc
ld a, [hl]
and $1
ld [hl], a
Functioncd763: ; cd763 (33:5763)
ld hl, $a
add hl, bc
ld a, [hl]
cp $18
jr nc, .asm_cd76e
inc [hl]
ret
.asm_cd76e
call Functionce72c
ld a, $29
call Functionce7bf
Functioncd776: ; cd776 (33:5776)
ret
Functioncd777: ; cd777 (33:5777)
ld hl, $a
add hl, bc
ld a, [hl]
cp $38
jr c, .asm_cd784
call Functioncc9bd
ret
.asm_cd784
ld a, [hl]
ld hl, $f
add hl, bc
ld l, [hl]
ld h, a
ld de, $80
add hl, de
ld e, l
ld d, h
ld hl, $f
add hl, bc
ld [hl], e
ld hl, $a
add hl, bc
ld [hl], d
ld hl, $9
add hl, bc
ld a, [hl]
xor $10
ld [hl], a
ret
Functioncd7a4: ; cd7a4 (33:57a4)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd7ab
dw Functioncd7d2
Functioncd7ab: ; cd7ab (33:57ab)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
and $f0
ld hl, $10
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $f
sla a
sla a
sla a
ld hl, $f
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld [hl], $1
Functioncd7d2: ; cd7d2 (33:57d2)
ld hl, $10
add hl, bc
ld a, [hl]
and a
jr nz, .asm_cd7de
call Functioncc9bd
ret
.asm_cd7de
ld hl, $f
add hl, bc
ld a, [hl]
inc [hl]
ld hl, $10
add hl, bc
ld d, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
xor $1
ld [hl], a
ret z
ld hl, $10
add hl, bc
dec [hl]
ret
Functioncd80c: ; cd80c (33:580c)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd81f
dw Functioncd817
dw Functioncd81f
dw Functioncd820
Functioncd817: ; cd817 (33:5817)
call Functionce72c
ld a, $35
call Functionce7bf
Functioncd81f: ; cd81f (33:581f)
ret
Functioncd820: ; cd820 (33:5820)
call Functioncc9bd
ret
Functioncd824: ; cd824 (33:5824)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd835
dw Functioncd860
dw Functioncd88f
dw Functioncd88f
dw Functioncd88f
dw Functioncd88f
dw Functioncd893
Functioncd835: ; cd835 (33:5835)
call Functionce72c
ld hl, $3
add hl, bc
ld a, [hl]
ld hl, $10
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
bit 7, [hl]
jr nz, .asm_cd852
ld hl, $f
add hl, bc
ld [hl], $10
jr .asm_cd858
.asm_cd852
ld hl, $f
add hl, bc
ld [hl], $30
.asm_cd858
ld hl, $b
add hl, bc
ld a, [hl]
and $7f
ld [hl], a
Functioncd860: ; cd860 (33:5860)
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $b
add hl, bc
ld d, [hl]
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
bit 7, a
jr nz, .asm_cd87e
ld hl, $10
add hl, bc
ld a, [hl]
inc a
jr .asm_cd883
.asm_cd87e
ld hl, $10
add hl, bc
ld a, [hl]
.asm_cd883
call Functionce7bf
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $1f
ret nz
Functioncd88f: ; cd88f (33:588f)
call Functionce72c
ret
Functioncd893: ; cd893 (33:5893)
ld hl, $e
add hl, bc
ld [hl], $1
ret
Functioncd89a: ; cd89a (33:589a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd8ab
dw Functioncd8cc
dw Functioncd8f5
dw Functioncd8f5
dw Functioncd8f5
dw Functioncd8f5
dw Functioncd8f9
Functioncd8ab: ; cd8ab (33:58ab)
call Functionce72c
ld hl, $b
add hl, bc
bit 7, [hl]
jr nz, .asm_cd8be
ld hl, $f
add hl, bc
ld [hl], $10
jr .asm_cd8c4
.asm_cd8be
ld hl, $f
add hl, bc
ld [hl], $30
.asm_cd8c4
ld hl, $b
add hl, bc
ld a, [hl]
and $7f
ld [hl], a
Functioncd8cc: ; cd8cc (33:58cc)
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $b
add hl, bc
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
bit 7, a
jr nz, .asm_cd8e6
ld a, $3d
jr .asm_cd8e8
.asm_cd8e6
ld a, $3c
.asm_cd8e8
call Functionce7bf
ld hl, $f
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld a, [hl]
and $1f
ret nz
Functioncd8f5: ; cd8f5 (33:58f5)
call Functionce72c
ret
Functioncd8f9: ; cd8f9 (33:58f9)
ld hl, $e
add hl, bc
ld [hl], $1
ret
Functioncd900: ; cd900 (33:5900)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd907
dw Functioncd913
Functioncd907: ; cd907 (33:5907)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $28
inc hl
ld [hl], $0
Functioncd913: ; cd913 (33:5913)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
ld d, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_cd950
ld d, a
ld hl, $10
add hl, bc
ld e, [hl]
ld hl, hPushOAM ; $ff80
add hl, de
ld e, l
ld d, h
ld hl, $10
add hl, bc
ld [hl], e
ld hl, $f
add hl, bc
ld [hl], d
ret
.asm_cd950
call Functioncc9bd
ret
Functioncd954: ; cd954 (33:5954)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncd961
dw Functioncd96a
dw Functioncd96e
dw Functioncd96a
dw Functioncd97b
Functioncd961: ; cd961 (33:5961)
call Functionce72c
ld hl, $b
add hl, bc
ld [hl], $0
Functioncd96a: ; cd96a (33:596a)
call Functioncd99a
ret
Functioncd96e: ; cd96e (33:596e)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
jr c, asm_cd988
call Functionce72c
ret
Functioncd97b: ; cd97b (33:597b)
ld hl, $7
add hl, bc
ld a, [hl]
cp $b8
jr c, asm_cd988
call Functioncc9bd
ret
asm_cd988: ; cd988 (33:5988)
call Functioncd99a
ld hl, $7
add hl, bc
inc [hl]
ld a, [hl]
and $1
ret nz
ld hl, $8
add hl, bc
dec [hl]
ret
Functioncd99a: ; cd99a (33:599a)
call Functioncd9f4
ld hl, $f
add hl, bc
ld a, [hl]
push af
push de
call BattleAnim_Sine
sra a
sra a
sra a
sra a
ld hl, $b
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
sub $8
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and a
jr z, .asm_cd9d7
cp $c2
jr c, .asm_cd9e2
.asm_cd9d7
dec a
ld [hl], a
and $7
ret nz
ld hl, $10
add hl, bc
inc [hl]
ret
.asm_cd9e2
xor a
ld hl, $10
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld [hl], a
ld hl, $9
add hl, bc
ld [hli], a
ld [hl], a
ret
Functioncd9f4: ; cd9f4 (33:59f4)
ld hl, $10
add hl, bc
ld e, [hl]
ld d, 0
ld hl, Unknown_cda01
add hl, de
ld d, [hl]
ret
; cda01 (33:5a01)
Unknown_cda01: ; cda01
db 8, 6, 5, 4, 5, 6, 8, 12, 16
; cda0a
Functioncda0a: ; cda0a (33:5a0a)
ld hl, $7
add hl, bc
ld a, [hl]
cp $30
jr nc, .asm_cda17
call Functioncc9bd
ret
.asm_cda17
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld e, a
ld hl, $7
add hl, bc
ld a, [hl]
sub e
ld [hl], a
srl e
ld hl, $8
add hl, bc
.asm_cda2c
inc [hl]
dec e
jr nz, .asm_cda2c
ret
Functioncda31: ; cda31 (33:5a31)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncda4c
dw Functioncda3a
dw Functioncda4c
Functioncda3a: ; cda3a (33:5a3a)
ld hl, $3
add hl, bc
ld a, [hl]
inc a
call Functionce7bf
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $8
Functioncda4c: ; cda4c (33:5a4c)
ret
Functioncda4d: ; cda4d (33:5a4d)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncda58
dw Functioncda62
dw Functioncda7a
dw Functioncda8c
Functioncda58: ; cda58 (33:5a58)
call Functionce72c
ld hl, $10
add hl, bc
ld [hl], $40
ret
Functioncda62: ; cda62 (33:5a62)
ld hl, $10
add hl, bc
ld a, [hl]
cp $20
jr c, .asm_cda6f
call Functioncda8d
ret
.asm_cda6f
ld [hl], $40
ld a, $57
call Functionce7bf
call Functionce72c
ret
Functioncda7a: ; cda7a (33:5a7a)
ld hl, $10
add hl, bc
ld a, [hl]
and a
jr z, .asm_cda84
dec [hl]
ret
.asm_cda84
call Functionce72c
ld a, $58
call Functionce7bf
Functioncda8c: ; cda8c (33:5a8c)
ret
Functioncda8d: ; cda8d (33:5a8d)
dec [hl]
ld d, $20
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
add hl, bc
ld a, [hl]
add $2
ld [hl], a
ld hl, $f
add hl, bc
ld e, [hl]
ld hl, $7
add hl, bc
ld d, [hl]
ld hl, $b
add hl, bc
ld h, [hl]
ld a, h
and $f
swap a
ld l, a
ld a, h
and $f0
swap a
ld h, a
add hl, de
ld e, l
ld d, h
ld hl, $f
add hl, bc
ld [hl], e
ld hl, $7
add hl, bc
ld [hl], d
ld hl, $10
add hl, bc
ld a, [hl]
and $1
ret nz
ld hl, $8
add hl, bc
dec [hl]
ret
Functioncdad6: ; cdad6 (33:5ad6)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdadf
dw Functioncdae9
dw Functioncdaf9
Functioncdadf: ; cdadf (33:5adf)
call Functionce72c
ld hl, $10
add hl, bc
ld [hl], $40
ret
Functioncdae9: ; cdae9 (33:5ae9)
ld hl, $10
add hl, bc
ld a, [hl]
cp $20
jr c, .asm_cdaf6
call Functioncda8d
ret
.asm_cdaf6
call Functionce72c
Functioncdaf9: ; cdaf9 (33:5af9)
ret
Functioncdafa: ; cdafa (33:5afa)
call Functioncd0e3
ld hl, $f
add hl, bc
ld a, [hl]
add $f
ld [hl], a
ret
Functioncdb06: ; cdb06 (33:5b06)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdb13
dw Functioncdb14
dw Functioncdb28
dw Functioncdb50
dw Functioncdb65
Functioncdb13: ; cdb13 (33:5b13)
ret
Functioncdb14: ; cdb14 (33:5b14)
ld hl, $8
add hl, bc
ld a, [hl]
cp $30
jr c, .asm_cdb24
ld hl, $e
add hl, bc
ld [hl], $0
ret
.asm_cdb24
add $4
ld [hl], a
ret
Functioncdb28: ; cdb28 (33:5b28)
ld hl, $7
add hl, bc
ld a, [hl]
cp $98
ret nc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld hl, $1
add hl, bc
set 0, [hl]
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
add hl, bc
ld [hl], $90
ld hl, $d
add hl, bc
ld [hl], $0
ld hl, $c
add hl, bc
ld [hl], $2
ld hl, $8
add hl, bc
dec [hl]
ret
Functioncdb50: ; cdb50 (33:5b50)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $2c
ld hl, $d
add hl, bc
ld [hl], $0
ld hl, $c
add hl, bc
ld [hl], $80
Functioncdb65: ; cdb65 (33:5b65)
ld hl, $7
add hl, bc
ld a, [hl]
cp $98
ret nc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld hl, $f
add hl, bc
ld a, [hl]
inc [hl]
ld d, $8
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ret
Functioncdb80: ; cdb80 (33:5b80)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdb9f
dw Functioncdbb3
dw Functioncdbcf
dw Functioncdbeb
dw Functioncdc74
dw Functioncdc1a
dw Functioncdbc1
dw Functioncdc1e
dw Functioncdc27
dw Functioncdc39
dw Functioncdc74
dw Functioncdc48
dw Functioncdc57
dw Functioncdc74
Functioncdb9f: ; cdb9f (33:5b9f)
ld hl, $f
add hl, bc
ld [hl], $28
inc hl
ld [hl], $10
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $e
add hl, bc
ld [hl], a
ret
Functioncdbb3: ; cdbb3 (33:5bb3)
ld hl, $7
add hl, bc
ld a, [hl]
cp $40
jr nc, .asm_cdbbd
inc [hl]
.asm_cdbbd
call Functioncdc75
ret
Functioncdbc1: ; cdbc1 (33:5bc1)
ld hl, $7
add hl, bc
ld a, [hl]
cp $4b
jr nc, .asm_cdbcb
inc [hl]
.asm_cdbcb
call Functioncdc75
ret
Functioncdbcf: ; cdbcf (33:5bcf)
ld hl, $7
add hl, bc
ld a, [hl]
cp $88
jr nc, .asm_cdbe6
and $f
jr nz, asm_cdbfa
ld hl, $10
add hl, bc
ld [hl], $10
call Functionce72c
ret
.asm_cdbe6
call Functionce72c
inc [hl]
ret
Functioncdbeb: ; cdbeb (33:5beb)
ld hl, $10
add hl, bc
ld a, [hl]
and a
jr z, .asm_cdbf5
dec [hl]
ret
.asm_cdbf5
ld hl, $e
add hl, bc
dec [hl]
asm_cdbfa: ; cdbfa (33:5bfa)
ld hl, $7
add hl, bc
inc [hl]
ld hl, $8
add hl, bc
ld d, [hl]
ld hl, $f
add hl, bc
ld e, [hl]
ld hl, hPushOAM ; $ff80
add hl, de
ld e, l
ld d, h
ld hl, $8
add hl, bc
ld [hl], d
ld hl, $f
add hl, bc
ld [hl], e
ret
Functioncdc1a: ; cdc1a (33:5c1a)
call Functioncc9bd
ret
Functioncdc1e: ; cdc1e (33:5c1e)
ld a, $4e
call Functionce7bf
call Functionce72c
ret
Functioncdc27: ; cdc27 (33:5c27)
ld hl, $f
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, $2
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
ret
Functioncdc39: ; cdc39 (33:5c39)
ld a, $50
call Functionce7bf
ld hl, $a
add hl, bc
ld [hl], $4
call Functionce72c
ret
Functioncdc48: ; cdc48 (33:5c48)
ld a, $4f
call Functionce7bf
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $40
ret
Functioncdc57: ; cdc57 (33:5c57)
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $20
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
cp $30
jr c, .asm_cdc71
dec [hl]
ret
.asm_cdc71
call Functionce72c
Functioncdc74: ; cdc74 (33:5c74)
ret
Functioncdc75: ; cdc75 (33:5c75)
ld hl, $f
add hl, bc
ld a, [hli]
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $3f
ret nz
ld hl, $f
add hl, bc
ld [hl], $20
ld hl, $10
add hl, bc
ld a, [hl]
sub $8
ld [hl], a
ret nz
xor a
ld hl, $f
add hl, bc
ld [hli], a
ld [hl], a
call Functionce72c
ret
Functioncdca6: ; cdca6 (33:5ca6)
ld hl, $a
add hl, bc
ld a, [hl]
and a
jr z, .asm_cdcb6
cp $d8
jr nc, .asm_cdcb6
call Functioncc9bd
ret
.asm_cdcb6
ld hl, $b
add hl, bc
ld d, [hl]
ld hl, $a
add hl, bc
ld a, [hl]
sub d
ld [hl], a
ret
Functioncdcc3: ; cdcc3 (33:5cc3)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdcca
dw Functioncdced
Functioncdcca: ; cdcca (33:5cca)
ld a, [hBattleTurn]
and a
jr z, .asm_cdcd9
ld hl, $b
add hl, bc
ld a, [hl]
xor $ff
add $3
ld [hl], a
.asm_cdcd9
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $8
ld hl, $b
add hl, bc
ld a, $59
add [hl]
call Functionce7bf
ret
Functioncdced: ; cdced (33:5ced)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_cdcfa
dec [hl]
call Functioncdcfe
ret
.asm_cdcfa
call Functioncc9bd
ret
Functioncdcfe: ; cdcfe (33:5cfe)
ld hl, $10
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, $10
call BattleAnim_Sine
ld d, a
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and a
jr z, .asm_cdd20
dec a
ret z
ld hl, $a
add hl, bc
ld [hl], d
ret
.asm_cdd20
ld hl, $a
add hl, bc
ld a, d
xor $ff
inc a
ld [hl], a
ret
Functioncdd2a: ; cdd2a (33:5d2a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdd31
dw Functioncdd4f
Functioncdd31: ; cdd31 (33:5d31)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
and $3f
ld hl, $10
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $80
rlca
ld [hl], a
add $5d
call Functionce7bf
ret
Functioncdd4f: ; cdd4f (33:5d4f)
ld hl, $b
add hl, bc
ld a, [hl]
swap a
ld d, a
ld hl, $10
add hl, bc
ld a, [hl]
inc [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $7
add hl, bc
ld a, [hl]
cp $80
ret nc
ld hl, $10
add hl, bc
ld a, [hl]
and $3
jr nz, .asm_cdd87
ld hl, $8
add hl, bc
dec [hl]
.asm_cdd87
and $1
ret nz
ld hl, $7
add hl, bc
inc [hl]
ret
Functioncdd90: ; cdd90 (33:5d90)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdd97
dw Functioncddbc
Functioncdd97: ; cdd97 (33:5d97)
call Functionce72c
ld hl, $3
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
and $80
rlca
ld hl, $f
add hl, bc
add [hl]
call Functionce7bf
ld hl, $b
add hl, bc
ld a, [hl]
and $7f
ld [hl], a
Functioncddbc: ; cddbc (33:5dbc)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $10
push af
push de
call BattleAnim_Sine
sra a
sra a
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
and $3f
jr z, .asm_cddf0
and $1f
ret nz
ld hl, $f
add hl, bc
ld a, [hl]
inc a
jr .asm_cddf5
.asm_cddf0
ld hl, $f
add hl, bc
ld a, [hl]
.asm_cddf5
call Functionce7bf
ret
Functioncddf9: ; cddf9 (33:5df9)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncde02
dw Functioncde20
dw Functioncde21
Functioncde02: ; cde02 (33:5e02)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
add $63
call Functionce7bf
ld hl, $b
add hl, bc
ld e, [hl]
ld d, 0
ld hl, Unknown_cde25
add hl, de
ld a, [hl]
ld hl, $a
add hl, bc
ld [hl], a
Functioncde20: ; cde20 (33:5e20)
ret
Functioncde21: ; cde21 (33:5e21)
call Functioncc9bd
ret
; cde25 (33:5e25)
Unknown_cde25: ; cde25
db $ec, $f8, $00
; cde28
Functioncde28: ; cde28 (33:5e28)
ld hl, $f
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, $4
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $a
add hl, bc
ld d, [hl]
ld hl, $10
add hl, bc
ld e, [hl]
ld hl, $ffa0
add hl, de
ld e, l
ld d, h
ld hl, $a
add hl, bc
ld [hl], d
ld hl, $10
add hl, bc
ld [hl], e
ret
Functioncde54: ; cde54 (33:5e54)
ld hl, $f
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, $10
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $7
add hl, bc
inc [hl]
ret
Functioncde6b: ; cde6b (33:5e6b)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncde72
dw Functioncde88
Functioncde72: ; cde72 (33:5e72)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
and a
jr nz, .asm_cde83
ld hl, $1
add hl, bc
set 6, [hl]
.asm_cde83
add $6a
call Functionce7bf
Functioncde88: ; cde88 (33:5e88)
ret
Functioncde89: ; cde89 (33:5e89)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncde90
dw Functioncdebf
Functioncde90: ; cde90 (33:5e90)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $0
ld hl, $b
add hl, bc
ld e, [hl]
ld a, e
and $70
swap a
ld [hl], a
ld hl, $9
add hl, bc
ld a, e
and $80
jr nz, .asm_cdeb2
ld a, e
and $f
ld [hl], a
ret
.asm_cdeb2
ld a, e
and $f
xor $ff
inc a
ld [hl], a
ld a, $6e
call Functionce7bf
ret
Functioncdebf: ; cdebf (33:5ebf)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_cdec9
dec [hl]
ret
.asm_cdec9
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
ld [hl], a
ld hl, $9
add hl, bc
ld a, [hl]
xor $ff
inc a
ld [hl], a
ret
Functioncdedd: ; cdedd (33:5edd)
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $18
push af
push de
call BattleAnim_Sine
sra a
sra a
sra a
ld hl, $10
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $7
ret nz
ld hl, $10
add hl, bc
ld a, [hl]
cp $28
jr nc, .asm_cdf17
inc [hl]
ret
.asm_cdf17
call Functioncc9bd
ret
Functioncdf1b: ; cdf1b (33:5f1b)
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $18
push af
push de
call BattleAnim_Sine
sra a
sra a
sra a
ld hl, $10
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $3
ret nz
ld hl, $10
add hl, bc
ld a, [hl]
cp $28
jr nc, .asm_cdf55
inc [hl]
ret
.asm_cdf55
call Functioncc9bd
ret
Functioncdf59: ; cdf59 (33:5f59)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functioncdf60
dw Functioncdedd
Functioncdf60: ; cdf60 (33:5f60)
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
jr nc, .asm_cdf88
inc [hl]
ld hl, $f
add hl, bc
ld a, [hl]
inc [hl]
ld d, $18
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $7
add hl, bc
ld a, [hl]
and $1
ret nz
ld hl, $8
add hl, bc
dec [hl]
ret
.asm_cdf88
call Functionce72c
ret
Functioncdf8c: ; cdf8c (33:5f8c)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $18
push af
push de
call BattleAnim_Sine
sra a
sra a
sra a
ld hl, $10
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld a, [hl]
and $7
ret nz
ld hl, $10
add hl, bc
ld a, [hl]
cp $e8
jr z, .asm_cdfc7
dec [hl]
ret
.asm_cdfc7
call Functioncc9bd
ret
Functioncdfcb: ; cdfcb (33:5fcb)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $18
push af
push de
call BattleAnim_Sine
sra a
sra a
sra a
ld hl, $10
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld a, [hl]
and $3
ret nz
ld hl, $10
add hl, bc
ld a, [hl]
cp $d0
jr z, .asm_ce007
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ret
.asm_ce007
call Functioncc9bd
ret
Functionce00b: ; ce00b (33:600b)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce014
dw Functionce023
dw Functionce05f
Functionce014: ; ce014 (33:6014)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $34
ld hl, $10
add hl, bc
ld [hl], $10
Functionce023: ; ce023 (33:6023)
ld hl, $7
add hl, bc
ld a, [hl]
cp $6c
jr c, .asm_ce02d
ret
.asm_ce02d
ld a, $2
call Functionce70a
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $10
add hl, bc
ld d, [hl]
call BattleAnim_Sine
bit 7, a
jr nz, .asm_ce046
xor $ff
inc a
.asm_ce046
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
sub $4
ld [hl], a
and $1f
cp $20
ret nz
ld hl, $10
add hl, bc
srl [hl]
ret
Functionce05f: ; ce05f (33:605f)
call Functioncc9bd
ret
Functionce063: ; ce063 (33:6063)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce06e
dw Functionce083
dw Functionce091
dw Functionce09e
Functionce06e: ; ce06e (33:606e)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $e
add hl, bc
ld [hl], a
ld hl, $8
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
ld [hl], a
ret
Functionce083: ; ce083 (33:6083)
ld hl, $7
add hl, bc
ld a, [hl]
cp $58
ret nc
ld a, $2
call Functionce70a
ret
Functionce091: ; ce091 (33:6091)
ld hl, $10
add hl, bc
ld a, [hl]
cp $20
jr c, Functionce09e
call Functioncc9bd
ret
Functionce09e: ; ce09e (33:609e)
ld hl, $10
add hl, bc
ld a, [hl]
ld d, $8
call BattleAnim_Sine
ld hl, $9
add hl, bc
ld [hl], a
sra a
xor $ff
inc a
ld hl, $f
add hl, bc
add [hl]
ld hl, $8
add hl, bc
ld [hl], a
ld hl, $10
add hl, bc
ld a, [hl]
add $8
ld [hl], a
ret
Functionce0c5: ; ce0c5 (33:60c5)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce0ce
dw Functionce0f8
dw Functionce0dd
Functionce0ce: ; ce0ce (33:60ce)
ld hl, $b
add hl, bc
ld a, [hl]
and $f0
swap a
ld hl, $e
add hl, bc
ld [hl], a
ret
Functionce0dd: ; ce0dd (33:60dd)
ld hl, $f
add hl, bc
ld a, [hl]
ld d, $10
call BattleAnim_Sine
ld hl, $a
add hl, bc
bit 7, a
jr z, .asm_ce0f0
ld [hl], a
.asm_ce0f0
ld hl, $f
add hl, bc
ld a, [hl]
sub $4
ld [hl], a
Functionce0f8: ; ce0f8 (33:60f8)
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
jr c, .asm_ce105
call Functioncc9bd
ret
.asm_ce105
ld hl, $b
add hl, bc
ld a, [hl]
call Functionce70a
ret
Functionce10e: ; ce10e (33:610e)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce115
dw Functionce12a
Functionce115: ; ce115 (33:6115)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $28
ld hl, $8
add hl, bc
ld a, [hl]
sub $28
ld hl, $10
add hl, bc
ld [hl], a
Functionce12a: ; ce12a (33:612a)
ld hl, $f
add hl, bc
ld a, [hli]
ld d, [hl]
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
ld hl, $b
add hl, bc
and [hl]
jr nz, .asm_ce149
ld hl, $7
add hl, bc
dec [hl]
.asm_ce149
ld hl, $f
add hl, bc
inc [hl]
ld a, [hl]
and $3f
ret nz
ld hl, $f
add hl, bc
ld [hl], $20
inc hl
srl [hl]
ret
Functionce15c: ; ce15c (33:615c)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
ld d, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
inc [hl]
ld a, [hl]
and $1
jr nz, .asm_ce189
ld hl, $7
add hl, bc
dec [hl]
.asm_ce189
ld hl, $b
add hl, bc
ld a, [hl]
and $3
jr nz, .asm_ce197
ld hl, $8
add hl, bc
inc [hl]
.asm_ce197
ld hl, $7
add hl, bc
ld a, [hl]
ld hl, $f
add hl, bc
cp $5a
jr nc, .asm_ce1aa
ld a, [hl]
and a
jr z, .asm_ce1ac
dec [hl]
ret
.asm_ce1aa
inc [hl]
ret
.asm_ce1ac
call Functioncc9bd
ret
Functionce1b0: ; ce1b0 (33:61b0)
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
ld hl, $f
add hl, bc
ld d, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $10
add hl, bc
ld a, [hl]
inc [hl]
ld hl, $f
add hl, bc
cp $40
jr nc, .asm_ce1df
inc [hl]
ret
.asm_ce1df
ld a, [hl]
dec [hl]
and a
ret nz
call Functioncc9bd
ret
Functionce1e7: ; ce1e7 (33:61e7)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce1ee
dw Functionce1fb
Functionce1ee: ; ce1ee (33:61ee)
call Functionce72c
ld hl, $8
add hl, bc
ld a, [hl]
ld hl, $10
add hl, bc
ld [hl], a
Functionce1fb: ; ce1fb (33:61fb)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $30
call BattleAnim_Sine
ld hl, $10
add hl, bc
add [hl]
ld hl, $8
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
add $8
ld d, $30
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
inc [hl]
ret
Functionce226: ; ce226 (33:6226)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce22d
dw Functionce254
Functionce22d: ; ce22d (33:622d)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $10
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $10
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $10
add hl, bc
ld [hl], $f
Functionce254: ; ce254 (33:6254)
ret
Functionce255: ; ce255 (33:6255)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce260
dw Functionce274
dw Functionce278
dw Functionce289
Functionce260: ; ce260 (33:6260)
call Functionce72c
ld a, [hBattleTurn]
and a
jr nz, .asm_ce26c
ld a, $f0
jr .asm_ce26e
.asm_ce26c
ld a, $cc
.asm_ce26e
ld hl, $f
add hl, bc
ld [hl], a
ret
Functionce274: ; ce274 (33:6274)
call Functionce29f
ret
Functionce278: ; ce278 (33:6278)
call Functionce29f
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
ret nc
ld a, $4
call Functionce70a
ret
Functionce289: ; ce289 (33:6289)
call Functionce29f
ld hl, $7
add hl, bc
ld a, [hl]
cp $d0
jr nc, .asm_ce29b
ld a, $4
call Functionce70a
ret
.asm_ce29b
call Functioncc9bd
ret
Functionce29f: ; ce29f (33:629f)
ld hl, $10
add hl, bc
ld a, [hl]
and $7
inc [hl]
srl a
ld e, a
ld d, $0
ld a, [hSGB]
and a
jr nz, .asm_ce2b6
ld hl, Unknown_ce2c4
jr .asm_ce2b9
.asm_ce2b6
ld hl, Unknown_ce2c8
.asm_ce2b9
add hl, de
ld a, [hl]
ld hl, $f
add hl, bc
and [hl]
ld [wcfc8], a
ret
; ce2c4 (33:62c4)
Unknown_ce2c4: ; ce2c4
db $ff, $aa, $55, $aa
Unknown_ce2c8: ; ce2c8
db $ff, $ff, $00, $00
; ce2cc
Functionce2cc: ; ce2cc (33:62cc)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $18
call BattleAnim_Sine
sra a
sra a
sra a
ld hl, $10
add hl, bc
add [hl]
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
ld d, $18
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $10
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ret
Functionce2fd: ; ce2fd (33:62fd)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce306
dw Functionce330
dw Functionce34c
Functionce306: ; ce306 (33:6306)
ld hl, $a
add hl, bc
ld a, [hl]
cp $e0
jr nz, .asm_ce319
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $2
ret
.asm_ce319
ld d, a
ld hl, $f
add hl, bc
ld e, [hl]
ld hl, hPushOAM ; $ff80
add hl, de
ld e, l
ld d, h
ld hl, $a
add hl, bc
ld [hl], d
ld hl, $f
add hl, bc
ld [hl], e
ret
Functionce330: ; ce330 (33:6330)
ld hl, $10
add hl, bc
ld a, [hl]
and a
jr z, .asm_ce33a
dec [hl]
ret
.asm_ce33a
ld [hl], $4
ld hl, $f
add hl, bc
ld a, [hl]
xor $ff
inc a
ld [hl], a
ld hl, $a
add hl, bc
add [hl]
ld [hl], a
ret
Functionce34c: ; ce34c (33:634c)
ld hl, $7
add hl, bc
ld a, [hl]
cp $84
jr nc, .asm_ce35b
ld a, $4
call Functionce70a
ret
.asm_ce35b
call Functioncc9bd
ret
Functionce35f: ; ce35f (33:635f)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce366
dw Functionce375
Functionce366: ; ce366 (33:6366)
call Functionce72c
ld hl, $b
add hl, bc
ld a, [hl]
and $7f
add $81
call Functionce7bf
Functionce375: ; ce375 (33:6375)
ld hl, $b
add hl, bc
bit 7, [hl]
jr nz, .asm_ce383
ld hl, $9
add hl, bc
inc [hl]
ret
.asm_ce383
ld hl, $9
add hl, bc
dec [hl]
ret
Functionce389: ; ce389 (33:6389)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce392
dw Functionce39c
dw Functionce3ae
Functionce392: ; ce392 (33:6392)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $c
ret
Functionce39c: ; ce39c (33:639c)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_ce3a6
dec [hl]
ret
.asm_ce3a6
call Functionce72c
ld a, $20
call Functionce7bf
Functionce3ae: ; ce3ae (33:63ae)
ld hl, $a
add hl, bc
dec [hl]
ret
Functionce3b4: ; ce3b4 (33:63b4)
ld hl, $f
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
push af
ld d, $2
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop af
ld d, $8
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
Functionce3d2: ; ce3d2 (33:63d2)
ld hl, $a
add hl, bc
ld a, [hl]
cp $20
jr c, .asm_ce3df
call Functioncc9bd
ret
.asm_ce3df
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $8
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
add $2
ld [hl], a
and $7
ret nz
ld hl, $a
add hl, bc
inc [hl]
ret
Functionce3ff: ; ce3ff (33:63ff)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce406
dw Functionce412
Functionce406: ; ce406 (33:6406)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $7
add hl, bc
add [hl]
ld [hl], a
ret
Functionce412: ; ce412 (33:6412)
call Functioncc9bd
ret
Functionce416: ; ce416 (33:6416)
ld hl, $b
add hl, bc
ld a, [hl]
ld d, $18
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
sra a
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
ret
Functionce43a: ; ce43a (33:643a)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce443
dw Functionce465
dw Functionce490
Functionce443: ; ce443 (33:6443)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $28
ld hl, $b
add hl, bc
ld a, [hl]
and $f
ld hl, $3
add hl, bc
add [hl]
call Functionce7bf
ld hl, $b
add hl, bc
ld a, [hl]
and $f0
or $8
ld [hl], a
Functionce465: ; ce465 (33:6465)
ld hl, $f
add hl, bc
ld a, [hl]
and a
jr z, .asm_ce48b
dec [hl]
add $8
ld d, a
ld hl, $b
add hl, bc
ld a, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
.asm_ce48b
ld [hl], $10
call Functionce72c
Functionce490: ; ce490 (33:6490)
ld hl, $f
add hl, bc
ld a, [hl]
dec [hl]
and a
ret nz
call Functioncc9bd
ret
Functionce49c: ; ce49c (33:649c)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce4a3
dw Functionce4b0
Functionce4a3: ; ce4a3 (33:64a3)
call Functionce72c
ld hl, $b
add hl, bc
ld a, $24
add [hl]
call Functionce7bf
Functionce4b0: ; ce4b0 (33:64b0)
ld hl, $a
add hl, bc
ld a, [hl]
cp $38
jr nc, .asm_ce4d8
inc [hl]
ld hl, $f
add hl, bc
ld a, [hl]
inc [hl]
ld d, $18
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ld hl, $8
add hl, bc
ld a, [hl]
and $1
ret nz
ld hl, $7
add hl, bc
dec [hl]
ret
.asm_ce4d8
call Functioncc9bd
ret
Functionce4dc: ; ce4dc (33:64dc)
ld hl, $b
add hl, bc
ld a, [hl]
and a
ret z
ld d, a
ld hl, $f
add hl, bc
ld a, [hl]
inc [hl]
call BattleAnim_Sine
bit 7, a
jr nz, .asm_ce4f4
xor $ff
inc a
.asm_ce4f4
ld hl, $a
add hl, bc
ld [hl], a
ld hl, $f
add hl, bc
ld a, [hl]
and $1f
ret nz
ld hl, $b
add hl, bc
srl [hl]
ret
Functionce508: ; ce508 (33:6508)
ld hl, $f
add hl, bc
ld a, [hl]
cp $10
jr nc, .asm_ce52e
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ld d, a
ld hl, $b
add hl, bc
ld a, [hl]
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
.asm_ce52e
call Functioncc9bd
ret
Functionce532: ; ce532 (33:6532)
ld hl, $b
add hl, bc
ld e, [hl]
ld hl, $f
add hl, bc
ld d, [hl]
ld a, e
and $c0
rlca
rlca
add [hl]
ld [hl], a
ld a, e
and $3f
push af
push de
call BattleAnim_Sine
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
Functionce55b: ; ce55b (33:655b)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce564
dw Functionce56e
dw Functionce577
Functionce564: ; ce564 (33:6564)
ld d, $18
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
jr asm_ce58f
Functionce56e: ; ce56e (33:656e)
call Functionce72c
ld hl, $f
add hl, bc
ld [hl], $18
Functionce577: ; ce577 (33:6577)
ld hl, $f
add hl, bc
ld a, [hl]
cp $80
jr nc, .asm_ce58b
ld d, a
add $8
ld [hl], a
ld hl, $b
add hl, bc
ld a, [hl]
jr asm_ce58f
.asm_ce58b
call Functioncc9bd
ret
asm_ce58f: ; ce58f (33:658f)
call Functionce6f1
ret
Functionce593: ; ce593 (33:6593)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce5b3
dw Functionce59a
Functionce59a: ; ce59a (33:659a)
ld hl, $7
add hl, bc
ld a, [hl]
cp $30
jr c, .asm_ce5b0
ld hl, $7
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ld hl, $8
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ret
.asm_ce5b0
call Functioncc9bd
Functionce5b3: ; ce5b3 (33:65b3)
ret
Functionce5b4: ; ce5b4 (33:65b4)
ld d, $50
ld hl, $b
add hl, bc
ld a, [hl]
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
push af
push de
call BattleAnim_Sine
sra a
sra a
ld hl, $f
add hl, bc
add [hl]
inc [hl]
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
Functionce5dc: ; ce5dc (33:65dc)
ld hl, $a
add hl, bc
ld a, [hl]
cp $d0
jr z, .asm_ce5ea
2015-07-20 19:18:18 -07:00
rept 4
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ret
.asm_ce5ea
call Functioncc9bd
ret
Functionce5ee: ; ce5ee (33:65ee)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce5f9
dw Functionce60a
dw Functionce622
dw Functionce618
Functionce5f9: ; ce5f9 (33:65f9)
ld hl, $b
add hl, bc
ld a, [hl]
and a
jr nz, asm_ce61c
call Functionce72c
ld hl, $a
add hl, bc
ld [hl], $ec
Functionce60a: ; ce60a (33:660a)
ld hl, $a
add hl, bc
ld a, [hl]
cp $4
jr z, Functionce618
2015-07-20 19:18:18 -07:00
rept 4
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ret
Functionce618: ; ce618 (33:6618)
call Functioncc9bd
ret
asm_ce61c: ; ce61c (33:661c)
call Functionce72c
call Functionce72c
Functionce622: ; ce622 (33:6622)
ld hl, $a
add hl, bc
ld a, [hl]
cp $d8
ret z
2015-07-20 19:18:18 -07:00
rept 4
dec [hl]
2015-07-20 19:18:18 -07:00
endr
ret
Functionce62f: ; ce62f (33:662f)
call BattleAnim_AnonJumptable
.anon_jumptable
dw Functionce63a
dw Functionce648
dw Functionce65c
dw Functionce672
Functionce63a: ; ce63a (33:663a)
ld hl, $b
add hl, bc
ld a, [hl]
ld hl, $e
add hl, bc
ld [hl], a
call Functionce72c
ret
Functionce648: ; ce648 (33:6648)
ld hl, $a
add hl, bc
ld a, [hl]
add $4
cp $70
jr c, .asm_ce654
xor a
.asm_ce654
ld [hl], a
ld hl, $9
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
inc [hl]
2015-07-20 19:18:18 -07:00
endr
ret
Functionce65c: ; ce65c (33:665c)
ld hl, $a
add hl, bc
ld a, [hl]
add $4
cp $70
jr c, .asm_ce668
xor a
.asm_ce668
ld [hl], a
ld hl, $9
add hl, bc
ld a, [hl]
add $8
ld [hl], a
ret
Functionce672: ; ce672 (33:6672)
ld hl, $a
add hl, bc
ld a, [hl]
add $4
cp $70
jr c, .asm_ce67e
xor a
.asm_ce67e
ld [hl], a
ld hl, $9
add hl, bc
ld a, [hl]
add $4
ld [hl], a
ret
Functionce688: ; ce688 (33:6688)
ld hl, $7
add hl, bc
ld d, [hl]
ld hl, $f
add hl, bc
ld e, [hl]
ld hl, $b
add hl, bc
ld a, [hl]
ld l, a
and $f0
ld h, a
swap a
or h
ld h, a
ld a, l
and $f
swap a
ld l, a
add hl, de
ld e, l
ld d, h
ld hl, $7
add hl, bc
ld [hl], d
ld hl, $f
add hl, bc
ld [hl], e
ret
Functionce6b3: ; ce6b3 (33:66b3)
ld d, $18
ld hl, $b
add hl, bc
ld a, [hl]
inc [hl]
call Functionce6f1
ret
Functionce6bf: ; ce6bf (33:66bf)
ld d, $18
ld hl, $10
add hl, bc
ld a, [hl]
inc [hl]
srl a
ld hl, $b
add hl, bc
add [hl]
call Functionce6f1
ret
Functionce6d2: ; ce6d2 (33:66d2)
ld hl, $f
add hl, bc
ld a, [hl]
cp $20
jr nc, .asm_ce6ed
inc [hl]
ld hl, $b
add hl, bc
ld d, [hl]
call BattleAnim_Sine
xor $ff
inc a
ld hl, $a
add hl, bc
ld [hl], a
ret
.asm_ce6ed
call Functioncc9bd
ret
Functionce6f1: ; ce6f1 (33:66f1)
push af
push de
call BattleAnim_Sine
sra a
sra a
ld hl, $a
add hl, bc
ld [hl], a
pop de
pop af
call BattleAnim_Cosine
ld hl, $9
add hl, bc
ld [hl], a
ret
Functionce70a: ; ce70a (33:670a)
and $f
ld e, a
ld hl, $7
add hl, bc
add [hl]
ld [hl], a
srl e
ld hl, $8
add hl, bc
.asm_ce719
dec [hl]
dec e
jr nz, .asm_ce719
ret
BattleAnim_AnonJumptable: ; ce71e (33:671e)
pop de
ld hl, $e
add hl, bc
ld l, [hl]
ld h, $0
add hl, hl
add hl, de
ld a, [hli]
ld h, [hl]
ld l, a
jp [hl]
Functionce72c: ; ce72c (33:672c)
ld hl, $e
add hl, bc
inc [hl]
ret
BattleAnim_Cosine: ; ce732 (33:6732)
add $10
BattleAnim_Sine: ; ce734 (33:6734)
and $3f
cp $20
jr nc, .negative
call .ApplySineWave
ld a, h
ret
.negative
and $1f
call .ApplySineWave
ld a, h
xor $ff
inc a
ret
.ApplySineWave: ; ce749 (33:6749)
ld e, a
ld a, d
ld d, 0
ld hl, BattleAnimSineWave
2015-07-20 19:18:18 -07:00
rept 2
add hl, de
2015-07-20 19:18:18 -07:00
endr
ld e, [hl]
inc hl
ld d, [hl]
ld hl, $0
.multiply
srl a
jr nc, .even
add hl, de
.even
sla e
rl d
and a
jr nz, .multiply
ret
Functionce765: ; ce765 (33:6765)
ld a, e
call BattleAnim_Sine
ld e, a
ret
Functionce76b: ; ce76b (33:676b)
ld a, e
call BattleAnim_Cosine
ld e, a
ret
; ce771 (33:6771)
Functionce771: ; ce771
ld a, e
call BattleAnim_Sine
ld e, l
ld d, h
ret
; ce778
Functionce778: ; ce778
ld a, e
call BattleAnim_Cosine
ld e, l
ld d, h
ret
; ce77f
BattleAnimSineWave: ; ce77f
sine_wave $100
; ce7bf
Functionce7bf: ; ce7bf (33:67bf)
ld hl, $3
add hl, bc
ld [hl], a
ld hl, $c
add hl, bc
ld [hl], $0
ld hl, $d
add hl, bc
ld [hl], $ff
ret
Functionce7d1: ; ce7d1
.asm_ce7d1
ld hl, $c
add hl, bc
ld a, [hl]
and a
jr z, .asm_ce7e1
dec [hl]
call Functionce823
ld a, [hli]
push af
jr .asm_ce7fd
.asm_ce7e1
ld hl, $d
add hl, bc
inc [hl]
call Functionce823
ld a, [hli]
cp $fe
jr z, .asm_ce815
cp $ff
jr z, .asm_ce807
push af
ld a, [hl]
push hl
and $3f
ld hl, $c
add hl, bc
ld [hl], a
pop hl
.asm_ce7fd
ld a, [hl]
and $c0
srl a
ld [BattleAnimTemps + 7], a
pop af
ret
.asm_ce807
xor a
ld hl, $c
add hl, bc
ld [hl], a
ld hl, $d
add hl, bc
2015-07-20 19:18:18 -07:00
rept 2
dec [hl]
2015-07-20 19:18:18 -07:00
endr
jr .asm_ce7d1
.asm_ce815
xor a
ld hl, $c
add hl, bc
ld [hl], a
dec a
ld hl, $d
add hl, bc
ld [hl], a
jr .asm_ce7d1
; ce823
Functionce823: ; ce823
ld hl, $3
add hl, bc
ld e, [hl]
ld d, 0
ld hl, Unknown_ce85e
2015-07-20 19:18:18 -07:00
rept 2
add hl, de
2015-07-20 19:18:18 -07:00
endr
ld e, [hl]
inc hl
ld d, [hl]
ld hl, $d
add hl, bc
ld l, [hl]
ld h, $0
add hl, hl
add hl, de
ret
; ce83c
Functionce83c: ; ce83c
ld l, a
ld h, 0
ld de, Unknown_ceeae
2015-07-20 19:18:18 -07:00
rept 2
add hl, hl
2015-07-20 19:18:18 -07:00
endr
add hl, de
ret
; ce846
Functionce846: ; ce846 (33:6846)
push hl
ld l, a
2013-12-18 00:18:16 -08:00
ld h, 0
2015-07-20 19:18:18 -07:00
rept 2
add hl, hl
2015-07-20 19:18:18 -07:00
endr
2013-12-18 00:18:16 -08:00
ld de, AnimObjGFX
add hl, de
ld c, [hl]
inc hl
ld b, [hl]
inc hl
ld a, [hli]
ld h, [hl]
ld l, a
pop de
push bc
2015-11-04 13:14:27 -08:00
call DecompressRequest2bpp
pop bc
ret
; ce85e (33:685e)
2013-12-18 00:18:16 -08:00
Unknown_ce85e: ; ce85e
; ANIM_OBJ constants
dw Unknown_ce9d0
dw Unknown_ce9d3
dw Unknown_ce9d6
dw Unknown_ce9d9
dw Unknown_ce9dc
dw Unknown_ce9df
dw Unknown_ce9e2
dw Unknown_ce9e5
dw Unknown_cea6b
dw Unknown_cea74
dw Unknown_cea7d
dw Unknown_cea80
dw Unknown_cea83
dw Unknown_cea86
dw Unknown_cea91
dw Unknown_cea94
dw Unknown_cea99
dw Unknown_cea9e
dw Unknown_ceaaf
dw Unknown_ceabc
dw Unknown_cead3
dw Unknown_cead6
dw Unknown_ceadb
dw Unknown_ceade
dw Unknown_ceb06
dw Unknown_ceb0d
dw Unknown_ceb10
dw Unknown_ceb13
dw Unknown_ceb16
dw Unknown_ceb19
dw Unknown_ceb1c
dw Unknown_ceb1f
dw Unknown_ceb26
dw Unknown_ceb2b
dw Unknown_ceb2e
dw Unknown_ceb37
dw Unknown_ceb3a
dw Unknown_ceb3d
dw Unknown_ceb40
dw Unknown_ceb43
dw Unknown_ceb46
dw Unknown_ceb4b
dw Unknown_ceb50
dw Unknown_ceb63
dw Unknown_ceb68
dw Unknown_ceb6d
dw Unknown_ceb70
dw Unknown_ceb78
dw Unknown_ceb89
dw Unknown_ceb8e
dw Unknown_ceb97
dw Unknown_ceba0
dw Unknown_ceba9
dw Unknown_cebb0
dw Unknown_cebc1
dw Unknown_cebca
dw Unknown_cebcf
dw Unknown_cebd4
dw Unknown_cebd9
dw Unknown_cebdc
dw Unknown_cebdf
dw Unknown_cebe2
dw Unknown_ce9f6
dw Unknown_cea0b
dw Unknown_cea20
dw Unknown_cea35
dw Unknown_cea50
dw Unknown_cebe5
dw Unknown_cebf3
dw Unknown_cec0f
dw Unknown_cec20
dw Unknown_cec25
dw Unknown_cec2a
dw Unknown_cec37
dw Unknown_cec44
dw Unknown_cec4d
dw Unknown_cebec
dw Unknown_cec56
dw Unknown_cec67
dw Unknown_cec72
dw Unknown_cec77
dw Unknown_cec7c
dw Unknown_cec7f
dw Unknown_cec86
dw Unknown_cec8b
dw Unknown_cec92
dw Unknown_ceaf3
dw Unknown_ceaf6
dw Unknown_ceb01
dw Unknown_cec97
dw Unknown_cec9a
dw Unknown_cec9d
dw Unknown_ceca0
dw Unknown_cecab
dw Unknown_cecb0
dw Unknown_cecc9
dw Unknown_ceccc
dw Unknown_cece7
dw Unknown_cecec
dw Unknown_cecf1
dw Unknown_cecf4
dw Unknown_cecf7
dw Unknown_cecfa
dw Unknown_ced09
dw Unknown_ced0c
dw Unknown_ced19
dw Unknown_ced22
dw Unknown_ced2b
dw Unknown_ced32
dw Unknown_ced39
dw Unknown_ced3c
dw Unknown_ced3f
dw Unknown_ced44
dw Unknown_ced49
dw Unknown_ced4c
dw Unknown_ced4f
dw Unknown_ced54
dw Unknown_ced57
dw Unknown_ced5a
dw Unknown_ced5d
dw Unknown_ced62
dw Unknown_ced65
dw Unknown_cecb3
dw Unknown_ced72
dw Unknown_ced75
dw Unknown_ced88
dw Unknown_cec08
dw Unknown_ced8b
dw Unknown_ced8e
dw Unknown_ced91
dw Unknown_ced93
dw Unknown_ced95
dw Unknown_ced98
dw Unknown_ced9b
dw Unknown_ceda8
dw Unknown_cedb5
dw Unknown_cedb8
dw Unknown_cedbb
dw Unknown_cedbe
dw Unknown_cedc1
dw Unknown_cedc4
dw Unknown_cedc7
dw Unknown_cedcc
dw Unknown_cedcf
dw Unknown_cedd2
dw Unknown_cedd5
dw Unknown_cedd8
dw Unknown_ceddb
dw Unknown_cedde
dw Unknown_cede1
dw Unknown_cede4
dw Unknown_cede7
dw Unknown_cedea
dw Unknown_ceded
dw Unknown_cedf0
dw Unknown_cedf3
dw Unknown_cedf6
dw Unknown_cedf9
dw Unknown_cedfc
dw Unknown_cedff
dw Unknown_cee02
dw Unknown_cee05
dw Unknown_cee08
dw Unknown_cee0b
dw Unknown_cee12
dw Unknown_cee19
dw Unknown_cee1e
dw Unknown_cee3d
dw Unknown_cee5c
dw Unknown_cee61
dw Unknown_cee64
dw Unknown_cee6b
dw Unknown_cee70
dw Unknown_cee75
dw Unknown_cee7e
dw Unknown_cecbe
dw Unknown_cee81
dw Unknown_cee84
dw Unknown_cee8d
dw Unknown_cee96
dw Unknown_cee9f
dw Unknown_ceea2
dw Unknown_ceea5
dw Unknown_ceea8
dw Unknown_ceeab
; ce9d0
Unknown_ce9d0: db $00,$06
db -4
Unknown_ce9d3: db $01,$06
db -4
Unknown_ce9d6: db $02,$06
db -4
Unknown_ce9d9: db $03,$06
db -4
Unknown_ce9dc: db $04,$06
db -4
Unknown_ce9df: db $05,$06
db -4
Unknown_ce9e2: db $06,$06
db -4
Unknown_ce9e5: db $03,$04, $01,$01, $03,$04, $01,$01, $03,$04, $01,$01, $03,$04, $01,$01
db -4
Unknown_ce9f6: db $4b,$02, $4c,$02, $4d,$04, $4e,$02, $fd,$02, $4e,$02, $fd,$02, $4e,$02, $fd,$02, $4e,$02
db -4
Unknown_cea0b: db $4b,$42, $4c,$42, $4d,$44, $4e,$42, $fd,$02, $4e,$42, $fd,$02, $4e,$42, $fd,$02, $4e,$42
db -4
Unknown_cea20: db $4b,$c2, $4c,$c2, $4d,$c4, $4e,$c2, $fd,$02, $4e,$c2, $fd,$02, $4e,$c2, $fd,$02, $4e,$c2
db -4
Unknown_cea35: db $4b,$01, $4c,$01, $4d,$01, $4f,$01, $50,$01, $51,$01, $52,$02, $fd,$02, $52,$02, $fd,$02, $52,$02, $fd,$02, $52,$02
db -4
Unknown_cea50: db $4b,$41, $4c,$41, $4d,$41, $4f,$41, $50,$41, $51,$41, $52,$42, $fd,$02, $52,$42, $fd,$02, $52,$42, $fd,$02, $52,$42
db -4
Unknown_cea6b: db $00,$03, $07,$03, $08,$03, $09,$03
db -4
Unknown_cea74: db $0a,$07, $0b,$07, $0a,$07, $0b,$47
db -2
Unknown_cea7d: db $0c,$08
db -1
Unknown_cea80: db $0d,$08
db -1
Unknown_cea83: db $0a,$08
db -1
Unknown_cea86: db $0a,$07, $0b,$07, $0a,$07, $0b,$47, $0a,$07
db -1
Unknown_cea91: db $0a,$08
db -1
Unknown_cea94: db $0a,$04, $0e,$04
db -2
Unknown_cea99: db $0f,$04, $10,$04
db -2
Unknown_cea9e: db $10,$04, $0f,$04, $0e,$04, $0a,$04, $0e,$04, $0a,$04, $0e,$04, $0a,$04
db -4
Unknown_ceaaf: db $10,$01, $0f,$01, $12,$01, $11,$01, $12,$01, $0f,$01
db -2
Unknown_ceabc: db $10,$03, $0f,$03, $12,$01, $fd,$01, $12,$01, $fd,$01, $12,$01, $fd,$01, $12,$01, $fd,$01, $12,$03
db -4
Unknown_cead3: db $13,$14
db -4
Unknown_cead6: db $10,$01, $0f,$01
db -2
Unknown_ceadb: db $14,$08
db -1
Unknown_ceade: db $17,$04, $16,$08, $15,$08, $16,$08, $17,$04, $17,$04, $16,$48, $15,$48, $16,$48, $17,$04
db -2
Unknown_ceaf3: db $69,$08
db -1
Unknown_ceaf6: db $69,$20, $6a,$04, $6b,$04, $6d,$04, $6c,$04
db -1
Unknown_ceb01: db $6c,$08, $6d,$08
db -2
Unknown_ceb06: db $18,$04, $19,$04, $1a,$04
db -4
Unknown_ceb0d: db $1b,$08
db -1
Unknown_ceb10: db $0f,$08
db -1
Unknown_ceb13: db $1c,$08
db -1
Unknown_ceb16: db $0a,$08
db -4
Unknown_ceb19: db $1d,$08
db -1
Unknown_ceb1c: db $17,$08
db -1
Unknown_ceb1f: db $0f,$03, $10,$03, $1e,$03
db -1
Unknown_ceb26: db $1f,$10, $20,$03
db -4
Unknown_ceb2b: db $20,$08
db -1
Unknown_ceb2e: db $20,$08, $21,$08, $1b,$08, $21,$08
db -2
Unknown_ceb37: db $22,$08
db -1
Unknown_ceb3a: db $1b,$08
db -1
Unknown_ceb3d: db $23,$08
db -1
Unknown_ceb40: db $24,$08
db -1
Unknown_ceb43: db $25,$08
db -1
Unknown_ceb46: db $26,$08, $27,$08
db -1
Unknown_ceb4b: db $28,$08, $29,$08
db -4
Unknown_ceb50: db $2a,$01, $2b,$01, $2c,$01, $2d,$01, $2e,$01, $2d,$01, $2c,$01, $2b,$01, $2a,$01
db -4
Unknown_ceb63: db $14,$01, $15,$01
db -2
Unknown_ceb68: db $2f,$04, $30,$28
db -4
Unknown_ceb6d: db $31,$08
db -1
Unknown_ceb70: db $32,$20, $33,$20, $34,$20, $35,$20 ; fallthrough
Unknown_ceb78: db $fd,$02, $35,$04, $fd,$02, $35,$04, $fd,$02, $35,$04, $fd,$02, $35,$04
db -4
Unknown_ceb89: db $14,$04, $15,$04
db -2
Unknown_ceb8e: db $36,$02, $37,$02, $38,$02, $39,$20
db -4
Unknown_ceb97: db $3a,$02, $3b,$02, $3c,$02, $3d,$20
db -4
Unknown_ceba0: db $3a,$42, $3b,$42, $3c,$42, $3d,$60
db -4
Unknown_ceba9: db $3e,$08, $3f,$08, $40,$08
db -1
Unknown_cebb0: db $40,$02, $fd,$02, $40,$02, $fd,$02, $41,$02, $fd,$02, $41,$02, $fd,$02
db -2
Unknown_cebc1: db $42,$02, $43,$02, $44,$02, $45,$02
db -2
Unknown_cebca: db $19,$02, $fd,$02
db -2
Unknown_cebcf: db $46,$04, $47,$04
db -2
Unknown_cebd4: db $18,$02, $fd,$02
db -2
Unknown_cebd9: db $48,$08
db -1
Unknown_cebdc: db $48,$48
db -1
Unknown_cebdf: db $49,$08
db -1
Unknown_cebe2: db $4a,$08
db -1
Unknown_cebe5: db $20,$10, $1f,$10, $1e,$10
db -1
Unknown_cebec: db $20,$08, $1f,$08, $1e,$08
db -1
Unknown_cebf3: db $fd,$14, $55,$28, $54,$28, $53,$14, $fd,$04, $53,$04, $fd,$04, $53,$04, $fd,$04, $53,$04
db -4
Unknown_cec08: db $1e,$08, $1f,$08, $20,$08
db -4
Unknown_cec0f: db $fd,$00, $14,$00, $15,$00, $14,$40, $fd,$00, $16,$40, $15,$00, $16,$00
db -2
Unknown_cec20: db $56,$02, $57,$04
db -4
Unknown_cec25: db $56,$c2, $57,$c4
db -4
Unknown_cec2a: db $56,$01, $57,$01, $58,$01, $57,$c1, $58,$c1, $57,$02
db -4
Unknown_cec37: db $56,$c1, $57,$c1, $58,$c1, $57,$01, $58,$01, $57,$c2
db -4
Unknown_cec44: db $57,$c1, $58,$c1, $57,$01, $58,$01
db -2
Unknown_cec4d: db $59,$01, $5a,$01, $5b,$01, $5c,$02
db -4
Unknown_cec56: db $0a,$0a, $0b,$43, $5d,$43, $0b,$c3, $0a,$82, $0b,$81, $5d,$01, $0b,$01
db -2
Unknown_cec67: db $0a,$03, $0b,$47, $0a,$07, $0b,$07, $0a,$03
db -2
Unknown_cec72: db $5e,$20, $5e,$20
db -4
Unknown_cec77: db $5f,$20, $5f,$20
db -4
Unknown_cec7c: db $60,$08
db -1
Unknown_cec7f: db $61,$01, $62,$01, $63,$01
db -1
Unknown_cec86: db $63,$07, $64,$07
db -2
Unknown_cec8b: db $65,$01, $66,$01, $67,$01
db -1
Unknown_cec92: db $67,$07, $68,$07
db -2
Unknown_cec97: db $6e,$08
db -1
Unknown_cec9a: db $6f,$08
db -1
Unknown_cec9d: db $6e,$88
db -1
Unknown_ceca0: db $18,$04, $70,$04, $71,$04, $72,$04, $73,$04
db -4
Unknown_cecab: db $74,$04, $75,$04
db -2
Unknown_cecb0: db $14,$08
db -1
Unknown_cecb3: db $74,$03, $14,$03, $15,$03, $14,$03, $15,$03
db -4
Unknown_cecbe: db $14,$00, $15,$00, $14,$00, $15,$00, $74,$0c
db -4
Unknown_cecc9: db $76,$08
db -1
Unknown_ceccc: db $77,$01, $78,$01, $79,$01, $7a,$01, $7b,$01, $7c,$01, $7d,$01, $7c,$c1, $7b,$c1, $7a,$c1, $79,$c1, $78,$c1, $77,$c1
db -4
Unknown_cece7: db $1b,$04, $7e,$04
db -2
Unknown_cecec: db $1b,$44, $7e,$44
db -2
Unknown_cecf1: db $7f,$08
db -1
Unknown_cecf4: db $25,$08
db -1
Unknown_cecf7: db $80,$08
db -1
Unknown_cecfa: db $83,$07, $82,$07, $81,$07, $82,$07, $83,$07, $82,$07, $81,$07
db -4
Unknown_ced09: db $1b,$10
db -4
Unknown_ced0c: db $fd,$0f, $84,$0f, $85,$0f, $29,$0f, $28,$0f, $86,$20
db -4
Unknown_ced19: db $1b,$03, $87,$03, $88,$03, $89,$03
db -4
Unknown_ced22: db $8a,$02, $8b,$02, $8c,$02, $8d,$02
db -4
Unknown_ced2b: db $61,$02, $62,$02, $63,$02
db -1
Unknown_ced32: db $65,$02, $66,$02, $67,$02
db -1
Unknown_ced39: db $8e,$08
db -1
Unknown_ced3c: db $8e,$48
db -1
Unknown_ced3f: db $8f,$10, $90,$10
db -2
Unknown_ced44: db $91,$10, $92,$10
db -2
Unknown_ced49: db $93,$08
db -1
Unknown_ced4c: db $1e,$08
db -1
Unknown_ced4f: db $1b,$07, $94,$07
db -2
Unknown_ced54: db $95,$08
db -1
Unknown_ced57: db $96,$08
db -1
Unknown_ced5a: db $95,$08
db -1
Unknown_ced5d: db $97,$01, $97,$41
db -2
Unknown_ced62: db $98,$08
db -1
Unknown_ced65: db $99,$20, $99,$20, $99,$20, $99,$20, $99,$20, $9a,$08
db -1
Unknown_ced72: db $9b,$08
db -1
Unknown_ced75: db $9c,$02, $9d,$02, $9e,$08, $fd,$02, $9e,$02, $fd,$02, $9e,$02, $fd,$02, $9e,$02
db -4
Unknown_ced88: db $9f,$08
db -1
Unknown_ced8b: db $0f,$08
db -1
Unknown_ced8e: db $6b,$18
db -4
Unknown_ced91: db $a0,$01 ; fallthrough
Unknown_ced93: db $a1,$01 ; fallthrough
Unknown_ced95: db $a2,$01
db -4
Unknown_ced98: db $a3,$08
db -1
Unknown_ced9b: db $a4,$04, $a5,$04, $a6,$04, $a7,$04, $a6,$44, $a5,$44
db -2
Unknown_ceda8: db $a8,$04, $a9,$04, $aa,$04, $ab,$04, $aa,$44, $a9,$44
db -2
Unknown_cedb5: db $1b,$08
db -1
Unknown_cedb8: db $ac,$08
db -1
Unknown_cedbb: db $ad,$08
db -1
Unknown_cedbe: db $ae,$08
db -1
Unknown_cedc1: db $af,$08
db -1
Unknown_cedc4: db $b0,$20
db -4
Unknown_cedc7: db $b1,$07, $b1,$47
db -2
Unknown_cedcc: db $b2,$08
db -1
Unknown_cedcf: db $b3,$08
db -1
Unknown_cedd2: db $b3,$48
db -1
Unknown_cedd5: db $b3,$88
db -1
Unknown_cedd8: db $b3,$c8
db -1
Unknown_ceddb: db $b5,$08
db -1
Unknown_cedde: db $b5,$48
db -1
Unknown_cede1: db $b5,$88
db -1
Unknown_cede4: db $b5,$c8
db -1
Unknown_cede7: db $b4,$08
db -1
Unknown_cedea: db $6b,$08
db -1
Unknown_ceded: db $b6,$08
db -1
Unknown_cedf0: db $b7,$20
db -1
Unknown_cedf3: db $1b,$20
db -1
Unknown_cedf6: db $b8,$20
db -1
Unknown_cedf9: db $b8,$60
db -1
Unknown_cedfc: db $b9,$20
db -1
Unknown_cedff: db $ba,$20
db -1
Unknown_cee02: db $bb,$60
db -1
Unknown_cee05: db $bb,$20
db -1
Unknown_cee08: db $bc,$20
db -1
Unknown_cee0b: db $bd,$0b, $be,$0b, $1b,$0b
db -4
Unknown_cee12: db $bf,$04, $c0,$04, $c1,$04
db -4
Unknown_cee19: db $c2,$20, $c2,$20
db -4
Unknown_cee1e: db $4b,$02, $4c,$02, $4d,$20, $4d,$20, $4d,$20, $4f,$01, $50,$01, $51,$01, $52,$02, $fd,$02, $52,$02, $fd,$02, $52,$02, $fd,$02, $52,$02
db -4
Unknown_cee3d: db $4b,$c2, $4c,$c2, $4d,$e0, $4d,$e0, $4d,$e0, $4f,$c1, $50,$c1, $51,$c1, $52,$c2, $fd,$02, $52,$c2, $fd,$02, $52,$c2, $fd,$02, $52,$c2
db -4
Unknown_cee5c: db $c3,$01, $c3,$c1
db -2
Unknown_cee61: db $c4,$20
db -1
Unknown_cee64: db $c5,$04, $c6,$04, $c7,$04
db -4
Unknown_cee6b: db $c8,$01, $c8,$41
db -2
Unknown_cee70: db $c9,$03, $05,$03
db -4
Unknown_cee75: db $ca,$20, $cb,$03, $ca,$03, $cb,$03
db -2
Unknown_cee7e: db $03,$a0
db -1
Unknown_cee81: db $cc,$20
db -1
Unknown_cee84: db $7f,$02, $25,$02, $80,$02, $25,$02
db -2
Unknown_cee8d: db $cd,$04, $ce,$04, $cd,$c4, $ce,$c4
db -2
Unknown_cee96: db $cf,$04, $d0,$04, $d1,$04, $d2,$04
db -4
Unknown_cee9f: db $d3,$20
db -1
Unknown_ceea2: db $d4,$08
db -1
Unknown_ceea5: db $d5,$08
db -1
Unknown_ceea8: db $d6,$08
db -1
Unknown_ceeab: db $d7,$08
db -1
; ceeae
Unknown_ceeae: ; ceeae
2014-05-05 13:52:40 -07:00
; ?, length, address
dbbw $00, $10, Unknown_cf2f6
dbbw $04, $09, Unknown_cf262
dbbw $08, $04, Unknown_cf22e
dbbw $09, $04, Unknown_cf21e
dbbw $0d, $04, Unknown_cf386
dbbw $0f, $04, Unknown_cf21e
dbbw $13, $04, Unknown_cf386
dbbw $04, $10, Unknown_cf2f6
dbbw $08, $10, Unknown_cf2f6
dbbw $08, $10, Unknown_cf336
dbbw $00, $04, Unknown_cf386
dbbw $02, $04, Unknown_cf21e
dbbw $06, $02, Unknown_cf376
dbbw $07, $02, Unknown_cf376
dbbw $02, $04, Unknown_cf386
dbbw $04, $01, Unknown_cf736
dbbw $05, $01, Unknown_cf736
dbbw $00, $02, Unknown_cf20e
dbbw $02, $02, Unknown_cf20e
dbbw $00, $04, Unknown_cf3a6
dbbw $00, $01, Unknown_cf736
dbbw $01, $01, Unknown_cf736
dbbw $02, $01, Unknown_cf736
dbbw $03, $01, Unknown_cf736
dbbw $00, $04, Unknown_cf22e
dbbw $01, $10, Unknown_cf2f6
dbbw $05, $10, Unknown_cf2f6
dbbw $00, $04, Unknown_cf21e
dbbw $05, $0c, Unknown_cf2b6
dbbw $02, $04, Unknown_cf22e
dbbw $06, $01, Unknown_cf736
dbbw $07, $01, Unknown_cf736
dbbw $08, $01, Unknown_cf736
dbbw $04, $04, Unknown_cf21e
dbbw $09, $16, Unknown_cf3b6
dbbw $04, $02, Unknown_cf20e
dbbw $06, $02, Unknown_cf20e
dbbw $0c, $01, Unknown_cf736
dbbw $0a, $01, Unknown_cf736
dbbw $0b, $04, Unknown_cf22e
dbbw $08, $04, Unknown_cf386
dbbw $06, $04, Unknown_cf386
dbbw $00, $05, Unknown_cf40e
dbbw $03, $06, Unknown_cf422
dbbw $00, $07, Unknown_cf43a
dbbw $03, $08, Unknown_cf456
dbbw $00, $09, Unknown_cf476
dbbw $00, $04, Unknown_cf49a
dbbw $02, $04, Unknown_cf4aa
dbbw $04, $06, Unknown_cf4ba
dbbw $00, $02, Unknown_cf4da
dbbw $00, $07, Unknown_cf512
dbbw $00, $0e, Unknown_cf4da
dbbw $00, $15, Unknown_cf512
dbbw $00, $02, Unknown_cf566
dbbw $00, $06, Unknown_cf566
dbbw $00, $0a, Unknown_cf566
dbbw $00, $0e, Unknown_cf566
dbbw $00, $02, Unknown_cf59e
dbbw $00, $06, Unknown_cf59e
dbbw $00, $0a, Unknown_cf59e
dbbw $00, $0e, Unknown_cf59e
dbbw $00, $04, Unknown_cf5d6
dbbw $00, $10, Unknown_cf5d6
dbbw $00, $1a, Unknown_cf5d6
dbbw $00, $1a, Unknown_cf63e
dbbw $0e, $04, Unknown_cf6a6
dbbw $0e, $08, Unknown_cf6a6
dbbw $0e, $04, Unknown_cf6c6
dbbw $0e, $08, Unknown_cf6c6
dbbw $0e, $04, Unknown_cf6e6
dbbw $0e, $04, Unknown_cf6f6
dbbw $00, $06, Unknown_cf706
dbbw $03, $04, Unknown_cf71e
dbbw $03, $02, Unknown_cf72e
dbbw $01, $05, Unknown_cf736
dbbw $01, $06, Unknown_cf74a
dbbw $01, $07, Unknown_cf762
dbbw $01, $03, Unknown_cf762
dbbw $01, $08, Unknown_cf77e
dbbw $01, $09, Unknown_cf79e
dbbw $01, $0a, Unknown_cf7c2
dbbw $01, $06, Unknown_cf7c2
dbbw $00, $09, Unknown_cf262
dbbw $04, $04, Unknown_cf22e
dbbw $05, $04, Unknown_cf22e
dbbw $00, $02, Unknown_cf216
dbbw $02, $02, Unknown_cf216
dbbw $04, $02, Unknown_cf216
dbbw $02, $04, Unknown_cf7ea
dbbw $02, $04, Unknown_cf7fa
dbbw $02, $02, Unknown_cf376
dbbw $04, $02, Unknown_cf376
dbbw $06, $04, Unknown_cf396
dbbw $08, $02, Unknown_cf376
dbbw $09, $02, Unknown_cf376
dbbw $05, $02, Unknown_cf80a
dbbw $00, $02, Unknown_cf812
dbbw $00, $05, Unknown_cf812
dbbw $00, $09, Unknown_cf812
dbbw $09, $09, Unknown_cf812
dbbw $00, $04, Unknown_cf836
dbbw $00, $07, Unknown_cf836
dbbw $00, $09, Unknown_cf836
dbbw $09, $09, Unknown_cf836
dbbw $04, $01, Unknown_cf80e
dbbw $05, $02, Unknown_cf37e
dbbw $06, $04, Unknown_cf21e
dbbw $0a, $04, Unknown_cf21e
dbbw $0e, $04, Unknown_cf21e
dbbw $08, $05, Unknown_cf8f6
dbbw $0d, $03, Unknown_cf90a
dbbw $01, $08, Unknown_cfa06
dbbw $03, $08, Unknown_cfa06
dbbw $05, $08, Unknown_cfa06
dbbw $07, $08, Unknown_cfa06
dbbw $06, $04, Unknown_cf22e
dbbw $07, $04, Unknown_cf22e
dbbw $0a, $02, Unknown_cf4d2
dbbw $00, $01, Unknown_cf916
dbbw $00, $03, Unknown_cf91a
dbbw $00, $06, Unknown_cf926
dbbw $00, $09, Unknown_cf93e
dbbw $00, $0c, Unknown_cf962
dbbw $00, $0e, Unknown_cf992
dbbw $00, $0f, Unknown_cf9ca
dbbw $04, $04, Unknown_cf21e
dbbw $08, $04, Unknown_cf21e
dbbw $0d, $01, Unknown_cf736
dbbw $0e, $04, Unknown_cfa26
dbbw $10, $01, Unknown_cf736
dbbw $11, $01, Unknown_cf736
dbbw $04, $02, Unknown_cf37e
dbbw $05, $02, Unknown_cf37e
dbbw $0a, $04, Unknown_cf386
dbbw $00, $08, Unknown_cfa36
dbbw $00, $0c, Unknown_cfa76
dbbw $00, $10, Unknown_cfa36
dbbw $09, $02, Unknown_cfaa6
dbbw $09, $04, Unknown_cfaa6
dbbw $09, $06, Unknown_cfaa6
dbbw $09, $08, Unknown_cfaa6
dbbw $12, $05, Unknown_cfac6
dbbw $00, $04, Unknown_cfada
dbbw $04, $04, Unknown_cfada
dbbw $08, $04, Unknown_cfada
dbbw $0c, $04, Unknown_cfada
dbbw $00, $06, Unknown_cfaea
dbbw $04, $04, Unknown_cf21e
dbbw $0a, $04, Unknown_cf386
dbbw $15, $04, Unknown_cf4aa
dbbw $04, $04, Unknown_cf4aa
dbbw $0c, $04, Unknown_cf386
dbbw $0a, $04, Unknown_cfb02
dbbw $0c, $04, Unknown_cf21e
dbbw $00, $24, Unknown_cfb12
dbbw $0d, $02, Unknown_cfba2
dbbw $0d, $04, Unknown_cfba2
dbbw $0d, $06, Unknown_cfba2
dbbw $02, $08, Unknown_cfbba
dbbw $08, $07, Unknown_cfbda
dbbw $08, $05, Unknown_cfbda
dbbw $08, $03, Unknown_cfbda
dbbw $00, $10, Unknown_cf2b6
dbbw $00, $09, Unknown_cfbf6
dbbw $06, $09, Unknown_cfbf6
dbbw $0c, $09, Unknown_cfbf6
dbbw $12, $09, Unknown_cfbf6
dbbw $18, $09, Unknown_cfbf6
dbbw $1e, $09, Unknown_cfbf6
dbbw $24, $09, Unknown_cfbf6
dbbw $2a, $09, Unknown_cfbf6
dbbw $03, $04, Unknown_cfc1a
dbbw $12, $04, Unknown_cf21e
dbbw $10, $04, Unknown_cf386
dbbw $16, $01, Unknown_cf736
dbbw $17, $04, Unknown_cf22e
dbbw $18, $04, Unknown_cf21e
dbbw $1c, $04, Unknown_cf21e
dbbw $20, $03, Unknown_cf21e
dbbw $23, $04, Unknown_cf386
dbbw $25, $03, Unknown_cf21e
dbbw $17, $04, Unknown_cf21e
dbbw $0a, $10, Unknown_cf2f6
dbbw $10, $10, Unknown_cf2b6
dbbw $00, $10, Unknown_cf2b6
dbbw $04, $04, Unknown_cf21e
dbbw $08, $02, Unknown_cf20e
dbbw $20, $06, Unknown_cfc2a
dbbw $08, $01, Unknown_cf736
dbbw $04, $04, Unknown_cf21e
dbbw $1a, $04, Unknown_cf4aa
dbbw $16, $09, Unknown_cf262
dbbw $10, $10, Unknown_cfc42
dbbw $09, $06, Unknown_cfc82
dbbw $11, $09, Unknown_cf23e
dbbw $0e, $04, Unknown_cf21e
dbbw $0b, $04, Unknown_cf4aa
dbbw $1c, $06, Unknown_cf22e
dbbw $20, $10, Unknown_cfc42
dbbw $05, $06, Unknown_cfc9a
dbbw $0b, $04, Unknown_cf21e
dbbw $09, $04, Unknown_cfcb2
dbbw $0b, $04, Unknown_cf386
dbbw $11, $0d, Unknown_cfcc2
dbbw $00, $09, Unknown_cf23e
dbbw $09, $09, Unknown_cf23e
dbbw $00, $0c, Unknown_cf286
dbbw $06, $0c, Unknown_cf286
dbbw $0c, $0c, Unknown_cf286
dbbw $12, $0c, Unknown_cf286
dbbw $00, $0d, Unknown_cfcc2
dbbw $00, $07, Unknown_cf85a
dbbw $00, $06, Unknown_cf8ae
dbbw $00, $0e, Unknown_cf876
dbbw $00, $0c, Unknown_cf8c6
; cf20e
Unknown_cf20e:
db $f8, $fc, $00, $00
db $00, $fc, $01, $00
Unknown_cf216:
db $fc, $f8, $00, $00
db $fc, $00, $01, $00
Unknown_cf21e:
db $f8, $f8, $00, $00
db $f8, $00, $01, $00
db $00, $f8, $02, $00
db $00, $00, $03, $00
Unknown_cf22e:
db $f8, $f8, $00, $00
db $f8, $00, $00, $20
db $00, $f8, $00, $40
db $00, $00, $00, $60
Unknown_cf23e:
db $f4, $f4, $00, $00
db $f4, $fc, $01, $00
db $f4, $04, $02, $00
db $fc, $f4, $03, $00
db $fc, $fc, $04, $00
db $fc, $04, $05, $00
db $04, $f4, $06, $00
db $04, $fc, $07, $00
db $04, $04, $08, $00
Unknown_cf262:
db $f4, $f4, $00, $00
db $f4, $fc, $01, $00
db $f4, $04, $00, $20
db $fc, $f4, $02, $00
db $fc, $fc, $03, $00
db $fc, $04, $02, $60
db $04, $f4, $00, $40
db $04, $fc, $01, $60
db $04, $04, $00, $60
Unknown_cf286:
db $f0, $f4, $00, $00
db $f0, $fc, $01, $00
db $f0, $04, $02, $00
db $f8, $f4, $03, $00
db $f8, $fc, $04, $00
db $f8, $04, $05, $00
db $00, $f4, $05, $60
db $00, $fc, $04, $60
db $00, $04, $03, $60
db $08, $f4, $02, $60
db $08, $fc, $01, $60
db $08, $04, $00, $60
Unknown_cf2b6:
db $f0, $f0, $00, $00
db $f0, $f8, $01, $00
db $f0, $00, $02, $00
db $f0, $08, $03, $00
db $f8, $f0, $04, $00
db $f8, $f8, $05, $00
db $f8, $00, $06, $00
db $f8, $08, $07, $00
db $00, $f0, $08, $00
db $00, $f8, $09, $00
db $00, $00, $0a, $00
db $00, $08, $0b, $00
db $08, $f0, $0c, $00
db $08, $f8, $0d, $00
db $08, $00, $0e, $00
db $08, $08, $0f, $00
Unknown_cf2f6:
db $f0, $f0, $00, $00
db $f0, $f8, $01, $00
db $f8, $f0, $02, $00
db $f8, $f8, $03, $00
db $f0, $00, $01, $20
db $f0, $08, $00, $20
db $f8, $00, $03, $20
db $f8, $08, $02, $20
db $00, $f0, $02, $40
db $00, $f8, $03, $40
db $08, $f0, $00, $40
db $08, $f8, $01, $40
db $00, $00, $03, $60
db $00, $08, $02, $60
db $08, $00, $01, $60
db $08, $08, $00, $60
Unknown_cf336:
db $ec, $ec, $00, $00
db $ec, $f4, $01, $00
db $f4, $ec, $02, $00
db $f4, $f4, $03, $00
db $ec, $04, $01, $20
db $ec, $0c, $00, $20
db $f4, $04, $03, $20
db $f4, $0c, $02, $20
db $04, $ec, $02, $40
db $04, $f4, $03, $40
db $0c, $ec, $00, $40
db $0c, $f4, $01, $40
db $04, $04, $03, $60
db $04, $0c, $02, $60
db $0c, $04, $01, $60
db $0c, $0c, $00, $60
Unknown_cf376:
db $fc, $f8, $00, $00
db $fc, $00, $00, $20
Unknown_cf37e:
db $00, $f8, $00, $00
db $00, $00, $00, $20
Unknown_cf386:
db $f8, $f8, $00, $00
db $f8, $00, $00, $20
db $00, $f8, $01, $00
db $00, $00, $01, $20
Unknown_cf396:
db $f8, $f8, $00, $00
db $f8, $00, $01, $00
db $00, $f8, $00, $40
db $00, $00, $01, $40
Unknown_cf3a6:
db $fa, $f8, $02, $00
db $02, $f8, $03, $00
db $f6, $00, $02, $00
db $fe, $00, $03, $00
Unknown_cf3b6:
db $08, $a8, $01, $00
db $00, $b0, $02, $00
db $00, $b8, $03, $00
db $00, $c0, $00, $00
db $00, $c8, $03, $00
db $00, $d0, $00, $00
db $00, $d8, $03, $00
db $00, $e0, $00, $00
db $00, $e8, $03, $00
db $00, $f0, $00, $00
db $00, $f8, $01, $00
db $f8, $00, $02, $00
db $f8, $08, $03, $00
db $f8, $10, $00, $00
db $f8, $18, $03, $00
db $f8, $20, $00, $00
db $f8, $28, $03, $00
db $f8, $30, $00, $00
db $f8, $38, $03, $00
db $f8, $40, $00, $00
db $f8, $48, $01, $00
db $f0, $50, $02, $00
Unknown_cf40e:
db $ec, $f8, $00, $00
db $ec, $00, $00, $20
db $f4, $f8, $01, $00
db $f4, $00, $01, $20
db $fc, $fc, $02, $00
Unknown_cf422:
db $e4, $f8, $00, $00
db $e4, $00, $00, $20
db $ec, $f8, $01, $00
db $ec, $00, $01, $20
db $f4, $fc, $02, $00
db $fc, $fc, $02, $00
Unknown_cf43a:
db $dc, $f8, $00, $00
db $dc, $00, $00, $20
db $e4, $f8, $01, $00
db $e4, $00, $01, $20
db $ec, $fc, $02, $00
db $f4, $fc, $02, $00
db $fc, $fc, $02, $00
Unknown_cf456:
db $d4, $f8, $00, $00
db $d4, $00, $00, $20
db $dc, $f8, $01, $00
db $dc, $00, $01, $20
db $e4, $fc, $02, $00
db $ec, $fc, $02, $00
db $f4, $fc, $02, $00
db $fc, $fc, $02, $00
Unknown_cf476:
db $cc, $f8, $00, $00
db $cc, $00, $00, $20
db $d4, $f8, $01, $00
db $d4, $00, $01, $20
db $dc, $fc, $02, $00
db $e4, $fc, $02, $00
db $ec, $fc, $02, $00
db $f4, $fc, $02, $00
db $fc, $fc, $02, $00
Unknown_cf49a:
db $f8, $f8, $00, $00
db $f8, $00, $00, $20
db $00, $f8, $01, $00
db $00, $00, $00, $60
Unknown_cf4aa:
db $f8, $f8, $00, $00
db $f8, $00, $01, $00
db $00, $f8, $01, $60
db $00, $00, $00, $60
Unknown_cf4ba:
db $f4, $f8, $00, $00
db $f4, $00, $01, $00
db $fc, $f8, $02, $00
db $fc, $00, $03, $00
db $04, $f8, $04, $00
db $04, $00, $05, $00
Unknown_cf4d2:
db $fd, $f8, $00, $00
db $f9, $00, $00, $00
Unknown_cf4da:
db $f8, $f4, $00, $00
db $f8, $04, $00, $00
db $e8, $f4, $00, $00
db $e8, $04, $00, $00
db $f0, $ec, $00, $00
db $f0, $f4, $01, $00
db $f0, $fc, $00, $00
db $f0, $04, $01, $00
db $f0, $0c, $00, $00
db $f8, $e4, $00, $00
db $f8, $ec, $01, $00
db $f8, $fc, $01, $00
db $f8, $0c, $01, $00
db $f8, $14, $00, $00
Unknown_cf512:
db $f0, $f4, $00, $00
db $f0, $04, $00, $00
db $f8, $ec, $00, $00
db $f8, $f4, $01, $00
db $f8, $fc, $00, $00
db $f8, $04, $01, $00
db $f8, $0c, $00, $00
db $e0, $f4, $00, $00
db $e0, $04, $00, $00
db $e8, $ec, $00, $00
db $e8, $f4, $01, $00
db $e8, $fc, $00, $00
db $e8, $04, $01, $00
db $e8, $0c, $00, $00
db $f0, $e4, $00, $00
db $f0, $ec, $01, $00
db $f0, $fc, $01, $00
db $f0, $0c, $01, $00
db $f0, $14, $00, $00
db $f8, $e4, $01, $00
db $f8, $14, $01, $00
Unknown_cf566:
db $cc, $f8, $00, $00
db $cc, $00, $01, $00
db $d4, $f8, $02, $00
db $d4, $00, $03, $00
db $dc, $f8, $04, $00
db $dc, $00, $05, $00
db $e4, $f8, $06, $00
db $e4, $00, $07, $00
db $ec, $f8, $08, $00
db $ec, $00, $09, $00
db $f4, $f8, $0a, $00
db $f4, $00, $0b, $00
db $fc, $f8, $0c, $00
db $fc, $00, $0d, $00
Unknown_cf59e:
db $cc, $f8, $0c, $00
db $cc, $00, $0d, $00
db $d4, $f8, $08, $00
db $d4, $00, $09, $00
db $dc, $f8, $04, $00
db $dc, $00, $05, $00
db $e4, $f8, $00, $00
db $e4, $00, $01, $00
db $ec, $f8, $02, $00
db $ec, $00, $03, $00
db $f4, $00, $02, $00
db $f4, $08, $03, $00
db $fc, $00, $0a, $00
db $fc, $08, $0b, $00
Unknown_cf5d6:
db $0c, $f0, $00, $40
db $0c, $f8, $02, $40
db $0c, $00, $02, $60
db $0c, $08, $00, $60
db $fc, $e8, $09, $20
db $fc, $f0, $08, $20
db $fc, $f8, $06, $00
db $fc, $00, $07, $00
db $fc, $08, $08, $00
db $fc, $10, $09, $00
db $04, $e8, $01, $20
db $04, $f0, $00, $20
db $04, $f8, $0c, $00
db $04, $00, $0d, $00
db $04, $08, $00, $00
db $04, $10, $01, $00
db $ec, $f0, $00, $00
db $ec, $f8, $02, $00
db $ec, $00, $02, $20
db $ec, $08, $00, $20
db $f4, $e8, $03, $20
db $f4, $f0, $02, $20
db $f4, $f8, $04, $00
db $f4, $00, $05, $00
db $f4, $08, $02, $00
db $f4, $10, $03, $00
Unknown_cf63e:
db $ec, $f0, $00, $00
db $ec, $f8, $02, $00
db $ec, $00, $02, $20
db $ec, $08, $00, $20
db $f4, $ec, $00, $00
db $f4, $f4, $01, $00
db $f4, $f8, $05, $20
db $f4, $00, $04, $20
db $f4, $04, $01, $20
db $f4, $0c, $00, $20
db $fc, $ec, $02, $00
db $fc, $f4, $03, $00
db $fc, $f8, $07, $20
db $fc, $00, $06, $20
db $fc, $04, $03, $20
db $fc, $0c, $02, $20
db $04, $ec, $04, $00
db $04, $f4, $05, $00
db $04, $f8, $0d, $20
db $04, $00, $0c, $20
db $04, $04, $05, $20
db $04, $0c, $04, $20
db $0c, $f0, $00, $40
db $0c, $f8, $02, $40
db $0c, $00, $02, $60
db $0c, $08, $00, $60
Unknown_cf6a6:
db $e8, $fc, $02, $00
db $10, $fc, $02, $60
db $fc, $e8, $01, $00
db $fc, $10, $01, $60
db $e0, $fc, $02, $00
db $18, $fc, $02, $60
db $fc, $e0, $01, $00
db $fc, $18, $01, $60
Unknown_cf6c6:
db $ed, $ed, $00, $20
db $ed, $0b, $00, $00
db $0b, $ed, $00, $60
db $0b, $0b, $00, $40
db $e5, $e5, $00, $20
db $e5, $13, $00, $00
db $13, $e5, $00, $60
db $13, $13, $00, $40
Unknown_cf6e6:
db $ec, $fc, $02, $00
db $0c, $fc, $02, $60
db $fc, $ec, $01, $00
db $fc, $0c, $01, $60
Unknown_cf6f6:
db $f0, $f0, $00, $20
db $f0, $08, $00, $00
db $08, $f0, $00, $60
db $08, $08, $00, $40
Unknown_cf706:
db $e8, $fc, $00, $00
db $f0, $fa, $00, $00
db $f8, $f8, $00, $00
db $00, $f8, $00, $00
db $08, $fa, $00, $00
db $10, $fc, $00, $00
Unknown_cf71e:
db $fc, $f0, $00, $20
db $fa, $f8, $00, $20
db $fa, $00, $00, $00
db $fc, $08, $00, $00
Unknown_cf72e:
db $fc, $f8, $00, $60
db $fc, $00, $00, $40
Unknown_cf736:
db $fc, $fc, $00, $00
db $fc, $f4, $01, $00
db $fc, $fc, $01, $20
db $04, $f4, $01, $40
db $04, $fc, $01, $60
Unknown_cf74a:
db $fc, $fc, $00, $00
db $02, $f6, $00, $00
db $02, $ee, $01, $00
db $02, $f6, $01, $20
db $0a, $ee, $01, $40
db $0a, $f6, $01, $60
Unknown_cf762:
db $fc, $fc, $00, $00
db $02, $f6, $00, $00
db $08, $f0, $00, $00
db $08, $e8, $01, $00
db $08, $f0, $01, $20
db $10, $e8, $01, $40
db $10, $f0, $01, $60
Unknown_cf77e:
db $fc, $fc, $00, $00
db $02, $f6, $00, $00
db $08, $f0, $00, $00
db $0e, $ea, $00, $00
db $0e, $e2, $01, $00
db $0e, $ea, $01, $20
db $16, $e2, $01, $40
db $16, $ea, $01, $60
Unknown_cf79e:
db $fc, $fc, $00, $00
db $02, $f6, $00, $00
db $08, $f0, $00, $00
db $0e, $ea, $00, $00
db $14, $e4, $00, $00
db $14, $dc, $01, $00
db $14, $e4, $01, $20
db $1c, $dc, $01, $40
db $1c, $e4, $01, $60
Unknown_cf7c2:
db $fc, $fc, $00, $00
db $02, $f6, $00, $00
db $08, $f0, $00, $00
db $0e, $ea, $00, $00
db $14, $e4, $00, $00
db $1a, $de, $00, $00
db $1a, $d6, $01, $00
db $1a, $de, $01, $20
db $22, $d6, $01, $40
db $22, $de, $01, $60
Unknown_cf7ea:
db $fc, $f0, $00, $00
db $fc, $f8, $01, $00
db $fc, $00, $01, $20
db $fc, $08, $00, $20
Unknown_cf7fa:
db $fc, $f0, $02, $00
db $fc, $f8, $01, $00
db $fc, $00, $01, $20
db $fc, $08, $02, $20
Unknown_cf80a:
db $f8, $fc, $00, $00
Unknown_cf80e:
db $00, $fc, $00, $00
Unknown_cf812:
db $fc, $e4, $00, $00
db $fc, $ec, $01, $00
db $fc, $f4, $02, $00
db $fc, $fc, $03, $00
db $fc, $04, $04, $00
db $fc, $0c, $05, $00
db $fc, $14, $06, $00
db $f4, $0c, $07, $00
db $f4, $14, $08, $00
Unknown_cf836:
db $f4, $e4, $08, $20
db $f4, $ec, $07, $20
db $fc, $e4, $06, $20
db $fc, $ec, $05, $20
db $fc, $f4, $04, $20
db $fc, $fc, $03, $20
db $fc, $04, $02, $20
db $fc, $0c, $01, $20
db $fc, $14, $00, $20
Unknown_cf85a:
db $00, $e4, $00, $10
db $00, $ec, $01, $10
db $00, $f4, $02, $10
db $00, $fc, $03, $10
db $00, $04, $04, $10
db $00, $0c, $05, $10
db $00, $14, $06, $10
Unknown_cf876:
db $f8, $e4, $00, $10
db $00, $e4, $01, $10
db $f8, $ec, $02, $10
db $00, $ec, $03, $10
db $f8, $f4, $04, $10
db $00, $f4, $05, $10
db $f8, $fc, $06, $10
db $00, $fc, $07, $10
db $f8, $04, $08, $10
db $00, $04, $09, $10
db $f8, $0c, $0a, $10
db $00, $0c, $0b, $10
db $f8, $14, $0c, $10
db $00, $14, $0d, $10
Unknown_cf8ae:
db $00, $e8, $00, $11
db $00, $f0, $01, $11
db $00, $f8, $02, $11
db $00, $00, $03, $11
db $00, $08, $04, $11
db $00, $10, $05, $11
Unknown_cf8c6:
db $00, $e8, $00, $11
db $08, $e8, $01, $11
db $00, $f0, $02, $11
db $08, $f0, $03, $11
db $00, $f8, $04, $11
db $08, $f8, $05, $11
db $00, $00, $06, $11
db $08, $00, $07, $11
db $00, $08, $08, $11
db $08, $08, $09, $11
db $00, $10, $0a, $11
db $08, $10, $0b, $11
Unknown_cf8f6:
db $f4, $04, $00, $00
db $fc, $f4, $01, $00
db $fc, $fc, $02, $00
db $fc, $04, $03, $00
db $04, $f4, $04, $00
Unknown_cf90a:
db $fc, $f4, $00, $00
db $fc, $fc, $01, $00
db $fc, $04, $02, $00
Unknown_cf916:
db $e4, $0c, $01, $60
Unknown_cf91a:
db $e4, $0c, $00, $00
db $e4, $04, $01, $60
db $ec, $0c, $01, $60
Unknown_cf926:
db $e4, $0c, $01, $00
db $e4, $04, $00, $00
db $e4, $fc, $01, $60
db $ec, $0c, $00, $00
db $ec, $04, $01, $60
db $f4, $0c, $01, $60
Unknown_cf93e:
db $e4, $f4, $01, $60
db $e4, $fc, $00, $00
db $e4, $04, $01, $00
db $ec, $fc, $01, $60
db $ec, $04, $00, $00
db $ec, $0c, $01, $00
db $f4, $04, $01, $60
db $f4, $0c, $00, $00
db $fc, $0c, $01, $60
Unknown_cf962:
db $e4, $ec, $01, $60
db $e4, $f4, $00, $00
db $e4, $fc, $01, $00
db $ec, $f4, $01, $60
db $ec, $fc, $00, $00
db $ec, $04, $01, $00
db $f4, $fc, $01, $60
db $f4, $04, $00, $00
db $f4, $0c, $01, $00
db $fc, $04, $01, $60
db $fc, $0c, $00, $00
db $04, $0c, $01, $60
Unknown_cf992:
db $e4, $ec, $00, $00
db $e4, $f4, $01, $00
db $ec, $ec, $01, $60
db $ec, $f4, $00, $00
db $ec, $fc, $01, $00
db $f4, $f4, $01, $60
db $f4, $fc, $00, $00
db $f4, $04, $01, $00
db $fc, $fc, $01, $60
db $fc, $04, $00, $00
db $fc, $0c, $01, $00
db $04, $04, $01, $60
db $04, $0c, $00, $00
db $0c, $0c, $01, $60
Unknown_cf9ca:
db $e4, $ec, $01, $00
db $ec, $ec, $00, $00
db $ec, $f4, $01, $00
db $f4, $ec, $01, $60
db $f4, $f4, $00, $00
db $f4, $fc, $01, $00
db $fc, $f4, $01, $60
db $fc, $fc, $00, $00
db $fc, $04, $01, $00
db $04, $fc, $01, $60
db $04, $04, $00, $00
db $04, $0c, $01, $00
db $0c, $04, $01, $60
db $0c, $0c, $00, $00
db $14, $0c, $01, $60
Unknown_cfa06:
db $f0, $f8, $00, $00
db $f8, $f8, $01, $00
db $f0, $00, $00, $20
db $f8, $00, $01, $20
db $00, $f8, $01, $40
db $08, $f8, $00, $40
db $00, $00, $01, $60
db $08, $00, $00, $60
Unknown_cfa26:
db $f8, $f8, $00, $00
db $f8, $00, $01, $00
db $00, $f8, $01, $60
db $00, $00, $00, $60
Unknown_cfa36:
db $f4, $f8, $00, $00
db $f4, $00, $01, $00
db $fc, $f8, $02, $00
db $fc, $00, $03, $00
db $fc, $f8, $00, $00
db $fc, $00, $01, $00
db $04, $f8, $02, $00
db $04, $00, $03, $00
db $ec, $f8, $00, $00
db $ec, $00, $01, $00
db $f4, $f8, $02, $00
db $f4, $00, $03, $00
db $04, $f8, $00, $00
db $04, $00, $01, $00
db $0c, $f8, $02, $00
db $0c, $00, $03, $00
Unknown_cfa76:
db $f0, $f8, $00, $00
db $f0, $00, $01, $00
db $f8, $f8, $02, $00
db $f8, $00, $03, $00
db $f8, $f8, $00, $00
db $f8, $00, $01, $00
db $00, $f8, $02, $00
db $00, $00, $03, $00
db $00, $f8, $00, $00
db $00, $00, $01, $00
db $08, $f8, $02, $00
db $08, $00, $03, $00
Unknown_cfaa6:
db $fc, $fc, $00, $00
db $f8, $04, $00, $00
db $f4, $0c, $00, $00
db $f0, $14, $00, $00
db $ec, $1c, $00, $00
db $e8, $24, $00, $00
db $e0, $2c, $00, $00
db $dc, $34, $00, $00
Unknown_cfac6:
db $ec, $fc, $00, $00
db $f4, $fc, $01, $00
db $fc, $fc, $02, $00
db $04, $fc, $01, $40
db $0c, $fc, $00, $40
Unknown_cfada:
db $fc, $f0, $00, $00
db $fc, $f8, $01, $00
db $fc, $00, $02, $00
db $fc, $08, $03, $00
Unknown_cfaea:
db $f8, $f4, $00, $00
db $f8, $fc, $01, $00
db $f8, $04, $02, $00
db $00, $f4, $03, $00
db $00, $fc, $04, $00
db $00, $04, $05, $00
Unknown_cfb02:
db $f8, $f8, $00, $00
db $f8, $00, $05, $00
db $00, $f8, $01, $00
db $00, $00, $05, $00
Unknown_cfb12:
db $e4, $08, $00, $00
db $e4, $10, $01, $00
db $ec, $f8, $02, $00
db $ec, $00, $03, $00
db $ec, $08, $04, $00
db $ec, $10, $05, $00
db $ec, $18, $06, $00
db $f4, $f0, $07, $00
db $f4, $f8, $08, $00
db $f4, $00, $09, $00
db $f4, $08, $0a, $00
db $f4, $10, $0b, $00
db $f4, $18, $0c, $00
db $f4, $20, $0d, $00
db $fc, $e8, $0e, $00
db $fc, $f0, $0f, $00
db $fc, $f8, $10, $00
db $fc, $00, $11, $00
db $fc, $08, $12, $00
db $fc, $10, $13, $00
db $04, $d8, $14, $00
db $04, $e0, $15, $00
db $04, $e8, $16, $00
db $04, $f0, $17, $00
db $04, $f8, $18, $00
db $04, $00, $19, $00
db $04, $08, $1a, $00
db $04, $10, $1b, $00
db $04, $18, $1c, $00
db $0c, $d8, $1d, $00
db $0c, $e0, $1e, $00
db $0c, $f0, $1f, $00
db $0c, $f8, $20, $00
db $0c, $00, $21, $00
db $0c, $08, $22, $00
db $14, $00, $23, $00
Unknown_cfba2:
db $04, $f8, $02, $00
db $04, $00, $03, $00
db $fc, $f8, $01, $00
db $fc, $00, $01, $20
db $f4, $f8, $00, $00
db $f4, $00, $00, $20
Unknown_cfbba:
db $f8, $f0, $00, $00
db $f8, $f8, $01, $00
db $f8, $00, $02, $00
db $f8, $08, $03, $00
db $00, $f0, $04, $00
db $00, $f8, $05, $00
db $00, $00, $06, $00
db $00, $08, $07, $00
Unknown_cfbda:
db $f4, $fc, $00, $00
db $fc, $fc, $00, $00
db $04, $fc, $00, $00
db $ec, $fc, $00, $00
db $0c, $fc, $00, $00
db $e4, $fc, $00, $00
db $14, $fc, $00, $00
Unknown_cfbf6:
db $f4, $f4, $00, $00
db $f4, $fc, $01, $00
db $f4, $04, $02, $00
db $fc, $f4, $03, $00
db $fc, $fc, $04, $00
db $fc, $04, $05, $00
db $04, $f4, $00, $40
db $04, $fc, $01, $40
db $04, $04, $02, $40
Unknown_cfc1a:
db $fc, $f0, $00, $00
db $fc, $f8, $01, $00
db $fc, $00, $01, $20
db $fc, $08, $00, $20
Unknown_cfc2a:
db $fc, $e8, $00, $00
db $fc, $f0, $01, $00
db $fc, $f8, $02, $00
db $fc, $00, $02, $20
db $fc, $08, $01, $20
db $fc, $10, $00, $20
Unknown_cfc42:
db $f0, $f0, $00, $00
db $f0, $f8, $01, $00
db $f0, $00, $02, $00
db $f0, $08, $00, $20
db $f8, $f0, $03, $00
db $f8, $f8, $04, $00
db $f8, $00, $04, $20
db $f8, $08, $05, $00
db $00, $f0, $05, $60
db $00, $f8, $04, $40
db $00, $00, $04, $60
db $00, $08, $03, $60
db $08, $f0, $00, $40
db $08, $f8, $02, $60
db $08, $00, $01, $60
db $08, $08, $00, $60
Unknown_cfc82:
db $f8, $f0, $00, $00
db $f8, $f8, $01, $00
db $f8, $00, $00, $60
db $00, $f8, $00, $00
db $00, $00, $01, $00
db $00, $08, $00, $60
Unknown_cfc9a:
db $f8, $0c, $00, $00
db $f8, $14, $01, $00
db $00, $fc, $02, $00
db $00, $04, $03, $00
db $00, $0c, $04, $00
db $00, $14, $05, $00
Unknown_cfcb2:
db $f8, $f8, $00, $00
db $f8, $00, $01, $60
db $00, $f8, $01, $00
db $00, $00, $01, $20
Unknown_cfcc2:
db $f0, $9c, $00, $00
db $e0, $ac, $00, $00
db $f8, $bc, $00, $00
db $d8, $cc, $00, $00
db $e8, $dc, $00, $00
db $d8, $ec, $00, $00
db $e8, $fc, $00, $00
db $e8, $04, $00, $00
db $d8, $14, $00, $00
db $00, $24, $00, $00
db $f0, $34, $00, $00
db $e0, $44, $00, $00
db $f0, $54, $00, $00
; cfcf6
2013-12-18 00:18:16 -08:00
AnimObjGFX: ; cfcf6
object_gfx: MACRO
; label, # tiles
2013-12-18 00:18:16 -08:00
db \2
db BANK(\1)
dw \1
ENDM
object_gfx AnimObj00GFX, 0
object_gfx AnimObj01GFX, 21
object_gfx AnimObj02GFX, 6
object_gfx AnimObj03GFX, 6
object_gfx AnimObj04GFX, 20
object_gfx AnimObj05GFX, 26
object_gfx AnimObj06GFX, 18
object_gfx AnimObj07GFX, 12
object_gfx AnimObj08GFX, 9
object_gfx AnimObj09GFX, 17
object_gfx AnimObj10GFX, 6
object_gfx AnimObj11GFX, 10
object_gfx AnimObj12GFX, 9
object_gfx AnimObj13GFX, 13
object_gfx AnimObj14GFX, 16
object_gfx AnimObj15GFX, 2
object_gfx AnimObj16GFX, 11
object_gfx AnimObj17GFX, 9
object_gfx AnimObj18GFX, 9
object_gfx AnimObj19GFX, 19
object_gfx AnimObj20GFX, 10
object_gfx AnimObj21GFX, 12
object_gfx AnimObj22GFX, 18
object_gfx AnimObj23GFX, 13
object_gfx AnimObj24GFX, 10
object_gfx AnimObj25GFX, 27
object_gfx AnimObj26GFX, 12
object_gfx AnimObj27GFX, 14
object_gfx AnimObj28GFX, 16
object_gfx AnimObj29GFX, 7
object_gfx AnimObj30GFX, 8
object_gfx AnimObj31GFX, 40
object_gfx AnimObj32GFX, 36
object_gfx AnimObj33GFX, 16
object_gfx AnimObj34GFX, 48
object_gfx AnimObj35GFX, 18
object_gfx AnimObj36GFX, 38
object_gfx AnimObj37GFX, 35
object_gfx AnimObj38GFX, 18
object_gfx AnimObj39GFX, 24
2013-12-19 22:06:17 -08:00
object_gfx NULL, 1
object_gfx NULL, 1
2013-12-18 00:18:16 -08:00
; cfd9e