summaryrefslogtreecommitdiff
path: root/engine/overworld/cut.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-14 23:16:06 -0700
committerYamaArashi <shadow962@live.com>2015-07-14 23:16:06 -0700
commit994c2cbf289efa2e23eabf1af96ba62e4f066005 (patch)
tree74674d580b4ca868d727aae9ac71795d8d98b9c7 /engine/overworld/cut.asm
parent07dd7056372288de7bb5b64f9416d741adb3b499 (diff)
named wram variables
Diffstat (limited to 'engine/overworld/cut.asm')
-rwxr-xr-xengine/overworld/cut.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/cut.asm b/engine/overworld/cut.asm
index 8f171545..f7be269c 100755
--- a/engine/overworld/cut.asm
+++ b/engine/overworld/cut.asm
@@ -1,6 +1,6 @@
UsedCut: ; ef54 (3:6f54)
xor a
- ld [wcd6a], a
+ ld [wActionResultOrTookBattleTurn], a ; initialise to failure value
ld a, [W_CURMAPTILESET]
and a ; OVERWORLD
jr z, .asm_ef6b
@@ -28,7 +28,7 @@ UsedCut: ; ef54 (3:6f54)
.asm_ef82
ld [wCutTile], a
ld a, $1
- ld [wcd6a], a
+ ld [wActionResultOrTookBattleTurn], a ; used cut
ld a, [wWhichPokemon]
ld hl, wPartyMonNicks
call GetPartyMonName