Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
_DoItemEffect::
|
||||
ld a, [wCurItem]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetItemName
|
||||
call CopyName1
|
||||
ld a, 1
|
||||
@@ -566,7 +566,7 @@ PokeBallEffect:
|
||||
call PrintText
|
||||
|
||||
ld a, [wCurPartySpecies]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
|
||||
call YesNoBox
|
||||
@@ -626,7 +626,7 @@ PokeBallEffect:
|
||||
call PrintText
|
||||
|
||||
ld a, [wCurPartySpecies]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
|
||||
call YesNoBox
|
||||
@@ -702,7 +702,7 @@ PokeBallEffect:
|
||||
.toss
|
||||
ld hl, wNumItems
|
||||
inc a
|
||||
ld [wItemQuantityChangeBuffer], a
|
||||
ld [wItemQuantityChange], a
|
||||
jp TossItem
|
||||
|
||||
.used_park_ball
|
||||
@@ -2333,7 +2333,7 @@ RestorePPEffect:
|
||||
|
||||
push hl
|
||||
ld a, [hl]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetMoveName
|
||||
call CopyName1
|
||||
pop hl
|
||||
@@ -2594,7 +2594,7 @@ UseItemText:
|
||||
UseDisposableItem:
|
||||
ld hl, wNumItems
|
||||
ld a, 1
|
||||
ld [wItemQuantityChangeBuffer], a
|
||||
ld [wItemQuantityChange], a
|
||||
jp TossItem
|
||||
|
||||
UseBallInTrainerBattle:
|
||||
|
Reference in New Issue
Block a user