summaryrefslogtreecommitdiff
path: root/engine/move_mon.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-02-14 11:51:47 +0100
committermid-kid <esteve.varela@gmail.com>2018-02-14 11:51:47 +0100
commit23b773d5c254e2dc3d859a8cc28a5e600c4207f7 (patch)
tree6340815e5e3a19721b3d6fbea917e5007218f519 /engine/move_mon.asm
parentf1c23f21532b2f194536ceaaba2d9a30c62ce719 (diff)
Label some daycare-related functions
Diffstat (limited to 'engine/move_mon.asm')
-rwxr-xr-xengine/move_mon.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/move_mon.asm b/engine/move_mon.asm
index 5650d85de..47a00120b 100755
--- a/engine/move_mon.asm
+++ b/engine/move_mon.asm
@@ -775,7 +775,7 @@ RestorePPofDepositedPokemon: ; dcb6
ret
; dd21
-RetrievePokemonFromDayCareMan: ; dd21
+RetrieveMonFromDayCareMan: ; dd21
ld a, [wBreedMon1Species]
ld [wCurPartySpecies], a
ld de, SFX_TRANSACTION
@@ -788,10 +788,10 @@ RetrievePokemonFromDayCareMan: ; dd21
ld [wCurPartyLevel], a
xor a
ld [wPokemonWithdrawDepositParameter], a
- jp Functiondd64
+ jp RetrieveBreedmon
; dd42
-RetrievePokemonFromDayCareLady: ; dd42
+RetrieveMonFromDayCareLady: ; dd42
ld a, [wBreedMon2Species]
ld [wCurPartySpecies], a
ld de, SFX_TRANSACTION
@@ -804,10 +804,10 @@ RetrievePokemonFromDayCareLady: ; dd42
ld [wCurPartyLevel], a
ld a, PC_DEPOSIT
ld [wPokemonWithdrawDepositParameter], a
- jp Functiondd64
+ jp RetrieveBreedmon
; dd64
-Functiondd64: ; dd64
+RetrieveBreedmon: ; dd64
ld hl, wPartyCount
ld a, [hl]
cp PARTY_LENGTH
@@ -853,12 +853,12 @@ Functiondd64: ; dd64
pop hl
call CopyBytes
push hl
- call Functionde1a
+ call GetLastPartyMon
pop hl
ld bc, BOXMON_STRUCT_LENGTH
call CopyBytes
call GetBaseData
- call Functionde1a
+ call GetLastPartyMon
ld b, d
ld c, e
ld hl, MON_LEVEL
@@ -904,7 +904,7 @@ Functiondd64: ; dd64
ret
; de1a
-Functionde1a: ; de1a
+GetLastPartyMon: ; de1a
ld a, [wPartyCount]
dec a
ld hl, wPartyMon1Species