summaryrefslogtreecommitdiff
path: root/engine/add_mon.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-06-27 15:32:24 -0400
committerGitHub <noreply@github.com>2020-06-27 15:32:24 -0400
commit4b853ad676e061a6c4b0fcc030855a2705776864 (patch)
treea6d6f2976827862f4a5f402e92c8479ccf7fb349 /engine/add_mon.asm
parentff927ba730e45a843c1e183b5f05646f96378af0 (diff)
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm (#251)
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
Diffstat (limited to 'engine/add_mon.asm')
-rw-r--r--engine/add_mon.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/add_mon.asm b/engine/add_mon.asm
index b2feeb12..7627136b 100644
--- a/engine/add_mon.asm
+++ b/engine/add_mon.asm
@@ -1,4 +1,4 @@
-_AddPartyMon:
+_AddPartyMon::
; Adds a new mon to the player's or enemy's party.
; [wMonDataLocation] is used in an unusual way in this function.
; If the lower nybble is 0, the mon is added to the player's party, else the enemy's.
@@ -277,7 +277,7 @@ AddPartyMon_WriteMovePP:
; adds enemy mon [wcf91] (at position [wWhichPokemon] in enemy list) to own party
; used in the cable club trade center
-_AddEnemyMonToPlayerParty:
+_AddEnemyMonToPlayerParty::
ld hl, wPartyCount
ld a, [hl]
cp PARTY_LENGTH
@@ -338,7 +338,7 @@ _AddEnemyMonToPlayerParty:
and a
ret ; return success
-_MoveMon:
+_MoveMon::
ld a, [wMoveMonType]
and a ; BOX_TO_PARTY
jr z, .checkPartyMonSlots