From 7e112672b436afee27f1a5a0d6e7a5964e7829b2 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 11 Jun 2016 17:48:24 -0700 Subject: remove address comments --- engine/add_party_mon.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/add_party_mon.asm') diff --git a/engine/add_party_mon.asm b/engine/add_party_mon.asm index b20913dd..1aa6bd16 100644 --- a/engine/add_party_mon.asm +++ b/engine/add_party_mon.asm @@ -1,4 +1,4 @@ -_AddPartyMon: ; f161 (3:7161) +_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. @@ -251,10 +251,10 @@ _AddPartyMon: ; f161 (3:7161) scf ret -LoadMovePPs: ; f2f9 (3:72f9) +LoadMovePPs: call GetPredefRegisters ; fallthrough -AddPartyMon_WriteMovePP: ; f2fc (3:72fc) +AddPartyMon_WriteMovePP: ld b, NUM_MOVES .pploop ld a, [hli] ; read move ID @@ -283,7 +283,7 @@ AddPartyMon_WriteMovePP: ; f2fc (3:72fc) ; adds enemy mon [wcf91] (at position [wWhichPokemon] in enemy list) to own party ; used in the cable club trade center -_AddEnemyMonToPlayerParty: ; f323 (3:7323) +_AddEnemyMonToPlayerParty: ld hl, wPartyCount ld a, [hl] cp PARTY_LENGTH @@ -342,4 +342,4 @@ _AddEnemyMonToPlayerParty: ; f323 (3:7323) ld hl, wPokedexSeen call FlagAction ; add to seen pokemon and a - ret ; return success \ No newline at end of file + ret ; return success -- cgit v1.3.1-sl0p