aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/move_effects/reflect_light_screen.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-11-05 23:50:03 -0500
committerGitHub <noreply@github.com>2020-11-05 23:50:03 -0500
commitd3f13528754b985e892385dbd88c3c9a95681f1b (patch)
tree4a18885606996ff59bb714afb5db9a548e2f94a7 /engine/battle/move_effects/reflect_light_screen.asm
parentPort some formatting from pokeyellow (diff)
parentSync more with pokeyellow (diff)
downloadpokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.gz
pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.xz
pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.zip
Merge pull request #301 from Rangi42/master
Sync home and macro code with pokeyellow
Diffstat (limited to 'engine/battle/move_effects/reflect_light_screen.asm')
-rw-r--r--engine/battle/move_effects/reflect_light_screen.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/move_effects/reflect_light_screen.asm b/engine/battle/move_effects/reflect_light_screen.asm
index 7bdc7be7..46c299e9 100644
--- a/engine/battle/move_effects/reflect_light_screen.asm
+++ b/engine/battle/move_effects/reflect_light_screen.asm
@@ -23,14 +23,14 @@ ReflectLightScreenEffect_:
.playAnim
push hl
ld hl, PlayCurrentMoveAnimation
- call BankswitchEtoF
+ call EffectCallBattleCore
pop hl
jp PrintText
.moveFailed
ld c, 50
call DelayFrames
ld hl, PrintButItFailedText_
- jp BankswitchEtoF
+ jp EffectCallBattleCore
LightScreenProtectedText:
text_far _LightScreenProtectedText
@@ -40,6 +40,6 @@ ReflectGainedArmorText:
text_far _ReflectGainedArmorText
text_end
-BankswitchEtoF:
+EffectCallBattleCore:
ld b, BANK(BattleCore)
jp Bankswitch