mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
RestorePPofDepositedPokemon -> RestorePPOfDepositedPokemon
This commit is contained in:
parent
86c1b05fbc
commit
23cdf06e5e
@ -695,7 +695,7 @@ SendGetMonIntoFromBox:
|
||||
ld a, [sBoxCount]
|
||||
dec a
|
||||
ld b, a
|
||||
call RestorePPofDepositedPokemon
|
||||
call RestorePPOfDepositedPokemon
|
||||
.CloseSRAM_And_ClearCarryFlag:
|
||||
call CloseSRAM
|
||||
and a
|
||||
@ -706,7 +706,7 @@ CloseSRAM_And_SetCarryFlag:
|
||||
scf
|
||||
ret
|
||||
|
||||
RestorePPofDepositedPokemon:
|
||||
RestorePPOfDepositedPokemon:
|
||||
ld a, b
|
||||
ld hl, sBoxMons
|
||||
ld bc, BOXMON_STRUCT_LENGTH
|
||||
@ -1057,7 +1057,7 @@ SendMonIntoBox:
|
||||
call CopyBytes
|
||||
|
||||
ld b, 0
|
||||
call RestorePPofDepositedPokemon
|
||||
call RestorePPOfDepositedPokemon
|
||||
|
||||
call CloseSRAM
|
||||
scf
|
||||
|
@ -34,7 +34,7 @@ InsertPokemonIntoBox:
|
||||
call CopyBytes
|
||||
ld a, [wCurPartyMon]
|
||||
ld b, a
|
||||
farcall RestorePPofDepositedPokemon
|
||||
farcall RestorePPOfDepositedPokemon
|
||||
jp CloseSRAM
|
||||
|
||||
InsertPokemonIntoParty:
|
||||
|
Loading…
Reference in New Issue
Block a user