diff options
author | xCrystal <rgr.crystal@gmail.com> | 2015-04-09 13:05:57 +0200 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2015-04-09 13:05:57 +0200 |
commit | 9739c26ed7fa89492cbc8609445d292ced48ee65 (patch) | |
tree | b304682416ef55ddb763759cab6d03aeb1af5f55 /engine/battle/core.asm | |
parent | 9c93ef3bff67f0f3ded2856b612ec632f22b2d46 (diff) |
money won and trainer pic constants
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-x | engine/battle/core.asm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 905c649c..04a6de1c 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -1023,10 +1023,11 @@ TrainerBattleVictory: ; 3c696 (f:4696) ld c, $28 call DelayFrames call PrintEndBattleText +; win money ld hl, MoneyForWinningText call PrintText ld de, wPlayerMoney + 2 - ld hl, wd07b + ld hl, wAmountMoneyWon + 2 ld c, $3 predef_jump AddBCDPredef @@ -6959,9 +6960,9 @@ InitBattle_Common: ; 3efeb (f:6feb) _LoadTrainerPic: ; 3f04b (f:704b) ; wd033-wd034 contain pointer to pic - ld a, [wd033] + ld a, [wTrainerPicPointer] ; wd033 ld e, a - ld a, [wd034] + ld a, [wTrainerPicPointer + 1] ; wd034 ld d, a ; de contains pointer to trainer pic ld a, [wLinkState] and a |