summaryrefslogtreecommitdiff
path: root/mobile/mobile_5c.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-28 19:27:34 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-29 00:25:52 -0400
commit9dec80b07e3638c722b9768a1ca0184edea20392 (patch)
treefdd5e227f20540b838ec45d282e40b083ae56c72 /mobile/mobile_5c.asm
parent2ec900d96c3b6020be0816151b9ad606c04114b5 (diff)
Add meaningful aliases for wd265
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
Diffstat (limited to 'mobile/mobile_5c.asm')
-rw-r--r--mobile/mobile_5c.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile/mobile_5c.asm b/mobile/mobile_5c.asm
index 0b4d05014..355678096 100644
--- a/mobile/mobile_5c.asm
+++ b/mobile/mobile_5c.asm
@@ -121,10 +121,10 @@ Function170c06:
push hl
ld de, 0
xor a
- ld [wd265], a
+ ld [wTempByteValue], a
.asm_170c30
ld hl, wPartyMon1HP
- ld a, [wd265]
+ ld a, [wTempByteValue]
call GetPartyLocation
ld a, [hli]
ld b, a
@@ -143,9 +143,9 @@ Function170c06:
push hl
pop de
jr c, .asm_170c58
- ld a, [wd265]
+ ld a, [wTempByteValue]
inc a
- ld [wd265], a
+ ld [wTempByteValue], a
cp $3
jr c, .asm_170c30
jr .asm_170c5b