mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
named wram variables
This commit is contained in:
parent
07dd705637
commit
994c2cbf28
21 changed files with 246 additions and 204 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue