mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Identify remaining two battle anim BG effect functions
This commit is contained in:
parent
f954c61668
commit
3a2932cec1
@ -1490,7 +1490,7 @@ Tackle_MoveForward:
|
|||||||
.reached_limit
|
.reached_limit
|
||||||
call BattleBGEffects_IncrementJumptable
|
call BattleBGEffects_IncrementJumptable
|
||||||
.finish
|
.finish
|
||||||
call Functionc88a5
|
call Rollout_FillLYOverridesBackup
|
||||||
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
|
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
@ -1511,7 +1511,7 @@ Tackle_ReturnMove:
|
|||||||
jr nz, .move_back
|
jr nz, .move_back
|
||||||
call BattleBGEffects_IncrementJumptable
|
call BattleBGEffects_IncrementJumptable
|
||||||
.move_back
|
.move_back
|
||||||
call Functionc88a5
|
call Rollout_FillLYOverridesBackup
|
||||||
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
|
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
@ -1523,7 +1523,7 @@ Tackle_ReturnMove:
|
|||||||
ld [hl], a
|
ld [hl], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Functionc88a5:
|
Rollout_FillLYOverridesBackup:
|
||||||
push af
|
push af
|
||||||
ld a, [wFXAnimID + 1]
|
ld a, [wFXAnimID + 1]
|
||||||
or a
|
or a
|
||||||
@ -2281,7 +2281,7 @@ BattleBGEffect_WobblePlayer:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
BattleBGEffect_Rollout:
|
BattleBGEffect_Rollout:
|
||||||
call Functionc8d0b
|
call BattleBGEffects_GetShakeAmount
|
||||||
jr c, .xor_a
|
jr c, .xor_a
|
||||||
bit 7, a
|
bit 7, a
|
||||||
jr z, .okay
|
jr z, .okay
|
||||||
@ -2298,7 +2298,7 @@ BattleBGEffect_Rollout:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
BattleBGEffect_ShakeScreenX:
|
BattleBGEffect_ShakeScreenX:
|
||||||
call Functionc8d0b
|
call BattleBGEffects_GetShakeAmount
|
||||||
jr nc, .skip
|
jr nc, .skip
|
||||||
xor a
|
xor a
|
||||||
.skip
|
.skip
|
||||||
@ -2306,14 +2306,14 @@ BattleBGEffect_ShakeScreenX:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
BattleBGEffect_ShakeScreenY:
|
BattleBGEffect_ShakeScreenY:
|
||||||
call Functionc8d0b
|
call BattleBGEffects_GetShakeAmount
|
||||||
jr nc, .skip
|
jr nc, .skip
|
||||||
xor a
|
xor a
|
||||||
.skip
|
.skip
|
||||||
ldh [hSCY], a
|
ldh [hSCY], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Functionc8d0b:
|
BattleBGEffects_GetShakeAmount:
|
||||||
ld hl, BG_EFFECT_STRUCT_JT_INDEX
|
ld hl, BG_EFFECT_STRUCT_JT_INDEX
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
|
Loading…
Reference in New Issue
Block a user