You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
This commit is contained in:
@@ -1037,13 +1037,13 @@ PokegearPhone_UpdateDisplayList:
|
||||
ld hl, wPhoneList
|
||||
add hl, de
|
||||
xor a
|
||||
ld [wPokegearPhoneLoadNameBuffer], a
|
||||
ld [wPokegearPhoneDisplayPosition], a
|
||||
.loop
|
||||
ld a, [hli]
|
||||
push hl
|
||||
push af
|
||||
hlcoord 2, 4
|
||||
ld a, [wPokegearPhoneLoadNameBuffer]
|
||||
ld a, [wPokegearPhoneDisplayPosition]
|
||||
ld bc, 2 * SCREEN_WIDTH
|
||||
call AddNTimes
|
||||
ld d, h
|
||||
@@ -1052,9 +1052,9 @@ PokegearPhone_UpdateDisplayList:
|
||||
ld b, a
|
||||
call GetCallerClassAndName
|
||||
pop hl
|
||||
ld a, [wPokegearPhoneLoadNameBuffer]
|
||||
ld a, [wPokegearPhoneDisplayPosition]
|
||||
inc a
|
||||
ld [wPokegearPhoneLoadNameBuffer], a
|
||||
ld [wPokegearPhoneDisplayPosition], a
|
||||
cp PHONE_DISPLAY_HEIGHT
|
||||
jr c, .loop
|
||||
call PokegearPhone_UpdateCursor
|
||||
|
@@ -257,7 +257,7 @@ endr
|
||||
inc hl ; skip level
|
||||
ld a, BANK(JohtoGrassWildMons)
|
||||
call GetFarByte
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
ld [wCurPartySpecies], a
|
||||
call GetPokemonName
|
||||
ld hl, wStringBuffer1
|
||||
@@ -319,7 +319,7 @@ OPT_OakText3:
|
||||
|
||||
OaksPKMNTalk7:
|
||||
ld a, [wCurPartySpecies]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, OPT_MaryText1
|
||||
ld a, OAKS_POKEMON_TALK_8
|
||||
@@ -674,7 +674,7 @@ PokedexShow1:
|
||||
inc c
|
||||
ld a, c
|
||||
ld [wCurPartySpecies], a
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
call GetPokemonName
|
||||
ld hl, PokedexShowText
|
||||
ld a, POKEDEX_SHOW_2
|
||||
@@ -1552,7 +1552,7 @@ GetBuenasPassword:
|
||||
ld l, c
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
ld [wNamedObjectIndex], a
|
||||
ret
|
||||
|
||||
.RawString:
|
||||
|
Reference in New Issue
Block a user