aboutsummaryrefslogtreecommitdiffstats
path: root/engine/in_game_trades.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-16 14:36:48 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-16 14:36:48 -0500
commit9e77982bc8658c09df187b4598f8cbabb427a271 (patch)
treed88ff7a45f7b8a80a02f099052da9b4eb2e14d21 /engine/in_game_trades.asm
parentComment naming screen (diff)
parentmenu stuff (diff)
downloadpokeyellow-9e77982bc8658c09df187b4598f8cbabb427a271.tar.gz
pokeyellow-9e77982bc8658c09df187b4598f8cbabb427a271.tar.xz
pokeyellow-9e77982bc8658c09df187b4598f8cbabb427a271.zip
Merge pull request #101 from YamaArashi/master
Misc changes
Diffstat (limited to 'engine/in_game_trades.asm')
-rwxr-xr-xengine/in_game_trades.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/in_game_trades.asm b/engine/in_game_trades.asm
index 7366996c..6f1167d0 100755
--- a/engine/in_game_trades.asm
+++ b/engine/in_game_trades.asm
@@ -130,11 +130,11 @@ InGameTrade_DoTrade: ; 71c07 (1c:5c07)
ld a,[wInGameTradeReceiveMonSpecies]
ld [wcf91],a
xor a
- ld [wcc49],a
+ ld [wMonDataLocation],a ; not used
ld [wRemoveMonFromBox],a
call RemovePokemon
- ld a,$80
- ld [wcc49],a
+ ld a,$80 ; prevent the player from naming the mon
+ ld [wMonDataLocation],a
call AddPartyMon
call InGameTrade_CopyDataToReceivedMon
callab EvolveTradeMon
@@ -177,9 +177,9 @@ InGameTrade_PrepareTradeData: ; 71cc1 (1c:5cc1)
ld bc, $b
call InGameTrade_CopyData
ld hl, InGameTrade_TrainerString
- ld de, wcd4e
+ ld de, wTradedEnemyMonOT
call InGameTrade_CopyData
- ld de, W_GRASSRATE
+ ld de, wLinkEnemyTrainerName
call InGameTrade_CopyData
ld hl, wPartyMon1OTID
ld bc, wPartyMon2 - wPartyMon1