Add meaningful aliases for wd265

Introduce MONICON_* constants
Introduce BATTLEPLAYERACTION_* constants
This commit is contained in:
Rangi
2018-07-28 19:27:34 -04:00
parent 2ec900d96c
commit 9dec80b07e
83 changed files with 436 additions and 404 deletions

View File

@@ -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