callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfar

This commit is contained in:
Rangi 2020-07-06 21:18:22 -04:00
parent 77ed5f3820
commit 06db7ec55b
90 changed files with 251 additions and 253 deletions

View file

@ -201,7 +201,7 @@ _AddPartyMon::
push de
ld a, [wCurEnemyLVL]
ld d, a
callab CalcExperience
callfar CalcExperience
pop de
inc de
ldh a, [hExperience] ; write experience
@ -498,7 +498,7 @@ _MoveMon::
add $2
ld [wMonDataLocation], a
call LoadMonData
callba CalcLevelFromExperience
farcall CalcLevelFromExperience
ld a, d
ld [wCurEnemyLVL], a
pop hl

View file

@ -318,7 +318,7 @@ BillsPCRelease:
jp BillsPCMenu
BillsPCChangeBox:
callba ChangeBox
farcall ChangeBox
jp BillsPCMenu
DisplayMonListMenu:

View file

@ -129,7 +129,7 @@ Evolution_PartyMonLoop: ; loop over party mons
ld a, $ff
ld [wUpdateSpritesEnabled], a
call ClearSprites
callab EvolveMon
callfar EvolveMon
jp c, CancelledEvolution
ld hl, EvolvedText
call PrintText

View file

@ -114,7 +114,7 @@ TryingToLearn:
ld de, wMoves
ld bc, NUM_MOVES
call CopyData
callab FormatMovesString
callfar FormatMovesString
pop hl
.loop
push hl

View file

@ -15,7 +15,7 @@ LoadMonData_::
ld a, [wWhichPokemon]
ld e, a
callab GetMonSpecies
callfar GetMonSpecies
.GetMonHeader
ld a, [wcf91]

View file

@ -310,7 +310,7 @@ StatusScreen2:
ld de, wMoves
ld bc, NUM_MOVES
call CopyData
callab FormatMovesString
callfar FormatMovesString
coord hl, 9, 2
lb bc, 5, 10
call ClearScreenArea ; Clear under name
@ -356,7 +356,7 @@ StatusScreen2:
ld a, b
ld [hl], a
push hl
callab GetMaxPP
callfar GetMaxPP
pop hl
pop af
ld [hl], a
@ -445,7 +445,7 @@ CalcExpToLevelUp:
jr z, .atMaxLevel
inc a
ld d, a
callab CalcExperience
callfar CalcExperience
ld hl, wLoadedMonExp + 2
ldh a, [hExperience + 2]
sub [hl]