mirror of https://github.com/pret/pokecrystal.git
RestorePPofDepositedPokemon -> RestorePPOfDepositedPokemon
This commit is contained in:
parent
86c1b05fbc
commit
23cdf06e5e
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue