Consistent predef function names

This commit is contained in:
xCrystal
2018-01-02 18:49:25 +01:00
parent b4a49351c1
commit d7970f749a
102 changed files with 549 additions and 548 deletions

View File

@@ -67,7 +67,7 @@ NPCTrade:: ; fcba8
push af
ld a, [wcf64]
push af
predef TradeAnimation
predef Predef_TradeAnimation
pop af
ld [wcf64], a
pop af
@@ -88,12 +88,12 @@ CheckTradeGender: ; fcc23
cp 1
jr z, .check_male
farcall GetGender
farcall Predef_GetGender
jr nz, .not_matching
jr .matching
.check_male
farcall GetGender
farcall Predef_GetGender
jr z, .not_matching
.matching
@@ -109,7 +109,7 @@ TradeFlagAction: ; fcc4a
ld hl, wTradeFlags
ld a, [wJumptableIndex]
ld c, a
predef FlagPredef
predef Predef_Flag
ld a, c
and a
ret
@@ -196,7 +196,7 @@ DoNPCTrade: ; fcc63
ld [MonType], a
ld [wPokemonWithdrawDepositParameter], a
callfar RemoveMonFromPartyOrBox
predef TryAddMonToParty
predef Predef_TryAddMonToParty
ld e, TRADE_DIALOG
call GetTradeAttribute