ref: 3a2932cec1e8cb4ef4fb3dbabf24e341d03c7bbe
parent: f954c61668935d7d4a2b41a5528fddedf04d9c6d
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Oct 21 18:51:24 EDT 2020
Identify remaining two battle anim BG effect functions
--- a/engine/battle_anims/bg_effects.asm
+++ b/engine/battle_anims/bg_effects.asm
@@ -1490,7 +1490,7 @@
.reached_limit
call BattleBGEffects_IncrementJumptable
.finish
- call Functionc88a5
+ call Rollout_FillLYOverridesBackup
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
add hl, bc
ld a, [hl]
@@ -1511,7 +1511,7 @@
jr nz, .move_back
call BattleBGEffects_IncrementJumptable
.move_back
- call Functionc88a5
+ call Rollout_FillLYOverridesBackup
ld hl, BG_EFFECT_STRUCT_BATTLE_TURN
add hl, bc
ld a, [hl]
@@ -1523,7 +1523,7 @@
ld [hl], a
ret
-Functionc88a5:
+Rollout_FillLYOverridesBackup:
push af
ld a, [wFXAnimID + 1]
or a
@@ -2281,7 +2281,7 @@
ret
BattleBGEffect_Rollout:
- call Functionc8d0b
+ call BattleBGEffects_GetShakeAmount
jr c, .xor_a
bit 7, a
jr z, .okay
@@ -2298,7 +2298,7 @@
ret
BattleBGEffect_ShakeScreenX:
- call Functionc8d0b
+ call BattleBGEffects_GetShakeAmount
jr nc, .skip
xor a
.skip
@@ -2306,7 +2306,7 @@
ret
BattleBGEffect_ShakeScreenY:
- call Functionc8d0b
+ call BattleBGEffects_GetShakeAmount
jr nc, .skip
xor a
.skip
@@ -2313,7 +2313,7 @@
ldh [hSCY], a
ret
-Functionc8d0b:
+BattleBGEffects_GetShakeAmount:
ld hl, BG_EFFECT_STRUCT_JT_INDEX
add hl, bc
ld a, [hl]