summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Ljungdahl <fredde1994@gmail.com>2017-01-08 01:43:25 +0100
committerFredrik Ljungdahl <fredde1994@gmail.com>2017-01-08 01:54:43 +0100
commit0e76127da878efbe86997eb5a58e6bcd4bf66ff5 (patch)
treec63cd6094eebfbf012857d533051106744efb4ac
parent9b8f57a7308691f67f9025b5dcc621941dbc3afd (diff)
Fix an overlooked replace
The build should match now...
-rw-r--r--battle/effect_commands.asm2
-rwxr-xr-xmisc/mobile_5c.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index e730c457a..9ebf26209 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -971,7 +971,7 @@ BattleCommand_CheckObedience: ; 343db
.EndDisobedience:
xor a
ld [LastPlayerMove], a
- ld [LastEnemyCounterMove], a
+ ld [LastPlayerCounterMove], a
; Break Encore too.
ld hl, PlayerSubStatus5
diff --git a/misc/mobile_5c.asm b/misc/mobile_5c.asm
index 5f72f32c7..b057e8c66 100755
--- a/misc/mobile_5c.asm
+++ b/misc/mobile_5c.asm
@@ -206,7 +206,7 @@ Function170c06: ; 170c06
; 170c8b
Function170c8b: ; 170c8b
- ld hl, LastPlayerCounterMove
+ ld hl, LastEnemyCounterMove
ld b, $5
.asm_170c90
ld a, [hl]