mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
CalcwBufferMonStats -> CalcBufferMonStats
The 'w' was probably added in some mass-replacement. It's completely irrelevant to the function itself and doesn't fit the PascalCase model.
This commit is contained in:
parent
89c5f0adf0
commit
98e6878429
@ -1763,7 +1763,7 @@ BillsPC_CopyMon: ; e2fd6 (38:6fd6)
|
|||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.party
|
.party
|
||||||
@ -1806,7 +1806,7 @@ BillsPC_CopyMon: ; e2fd6 (38:6fd6)
|
|||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
call CopyMonToTemp
|
call CopyMonToTemp
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ret
|
ret
|
||||||
|
|
||||||
DepositPokemon: ; e307c (38:707c)
|
DepositPokemon: ; e307c (38:707c)
|
||||||
@ -2112,7 +2112,7 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
call CopyMonToTemp
|
call CopyMonToTemp
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ld a, PC_DEPOSIT
|
ld a, PC_DEPOSIT
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
|
@ -230,7 +230,7 @@ StatsScreen_CopyToTempMon: ; 4ddf2 (13:5df2)
|
|||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
cp TEMPMON
|
cp TEMPMON
|
||||||
jr nz, .breedmon
|
jr nz, .breedmon
|
||||||
ld a, [wBufferMon]
|
ld a, [wBufferMonSpecies]
|
||||||
ld [wCurSpecies], a
|
ld [wCurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld hl, wBufferMon
|
ld hl, wBufferMon
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CopyPkmnToTempMon: ; 5084a
|
CopyPkmnToTempMon: ; 5084a
|
||||||
; gets the BaseData of a Pkmn
|
; gets the BaseData of a Pkmn
|
||||||
; and copys the PkmnStructure to wTempMon
|
; and copies the party_struct to wTempMon
|
||||||
|
|
||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
ld e, a
|
ld e, a
|
||||||
@ -32,7 +32,7 @@ CopyPkmnToTempMon: ; 5084a
|
|||||||
.done
|
.done
|
||||||
ret
|
ret
|
||||||
|
|
||||||
CalcwBufferMonStats: ; 5088b
|
CalcBufferMonStats: ; 5088b
|
||||||
ld bc, wBufferMon
|
ld bc, wBufferMon
|
||||||
jr _TempMonStatsCalculation
|
jr _TempMonStatsCalculation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user