mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfar
This commit is contained in:
parent
77ed5f3820
commit
06db7ec55b
90 changed files with 251 additions and 253 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ BillsPCRelease:
|
|||
jp BillsPCMenu
|
||||
|
||||
BillsPCChangeBox:
|
||||
callba ChangeBox
|
||||
farcall ChangeBox
|
||||
jp BillsPCMenu
|
||||
|
||||
DisplayMonListMenu:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ TryingToLearn:
|
|||
ld de, wMoves
|
||||
ld bc, NUM_MOVES
|
||||
call CopyData
|
||||
callab FormatMovesString
|
||||
callfar FormatMovesString
|
||||
pop hl
|
||||
.loop
|
||||
push hl
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ LoadMonData_::
|
|||
|
||||
ld a, [wWhichPokemon]
|
||||
ld e, a
|
||||
callab GetMonSpecies
|
||||
callfar GetMonSpecies
|
||||
|
||||
.GetMonHeader
|
||||
ld a, [wcf91]
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue