From bb25c1074c9926da7912b18c4cae309104671183 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 21 Jul 2020 19:43:56 -0400 Subject: Use LOAD/ENDL for OAM DMA code in HRAM (requires rgbds 0.4.1) --- engine/battle/effect_commands.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/battle/effect_commands.asm') diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 336d66e62..94d8d7615 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -2520,7 +2520,7 @@ EndMoveEffect: ld l, a ld a, [wBattleScriptBufferAddress + 1] ld h, a - ld a, $ff + ld a, endmove_command ld [hli], a ld [hli], a ld [hl], a -- cgit v1.2.3