RestorePPofDepositedPokemon -> RestorePPOfDepositedPokemon

This commit is contained in:
mid-kid 2018-08-06 17:20:59 +02:00
parent 86c1b05fbc
commit 23cdf06e5e
2 changed files with 4 additions and 4 deletions

View File

@ -695,7 +695,7 @@ SendGetMonIntoFromBox:
ld a, [sBoxCount] ld a, [sBoxCount]
dec a dec a
ld b, a ld b, a
call RestorePPofDepositedPokemon call RestorePPOfDepositedPokemon
.CloseSRAM_And_ClearCarryFlag: .CloseSRAM_And_ClearCarryFlag:
call CloseSRAM call CloseSRAM
and a and a
@ -706,7 +706,7 @@ CloseSRAM_And_SetCarryFlag:
scf scf
ret ret
RestorePPofDepositedPokemon: RestorePPOfDepositedPokemon:
ld a, b ld a, b
ld hl, sBoxMons ld hl, sBoxMons
ld bc, BOXMON_STRUCT_LENGTH ld bc, BOXMON_STRUCT_LENGTH
@ -1057,7 +1057,7 @@ SendMonIntoBox:
call CopyBytes call CopyBytes
ld b, 0 ld b, 0
call RestorePPofDepositedPokemon call RestorePPOfDepositedPokemon
call CloseSRAM call CloseSRAM
scf scf

View File

@ -34,7 +34,7 @@ InsertPokemonIntoBox:
call CopyBytes call CopyBytes
ld a, [wCurPartyMon] ld a, [wCurPartyMon]
ld b, a ld b, a
farcall RestorePPofDepositedPokemon farcall RestorePPOfDepositedPokemon
jp CloseSRAM jp CloseSRAM
InsertPokemonIntoParty: InsertPokemonIntoParty: