aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/read_trainer_party.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/battle/read_trainer_party.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/battle/read_trainer_party.asm')
-rwxr-xr-xengine/battle/read_trainer_party.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/read_trainer_party.asm b/engine/battle/read_trainer_party.asm
index e373ef93..4f72aea1 100755
--- a/engine/battle/read_trainer_party.asm
+++ b/engine/battle/read_trainer_party.asm
@@ -55,8 +55,8 @@ ReadTrainer: ; 39c53 (e:5c53)
and a ; have we reached the end of the trainer data?
jr z,.FinishUp
ld [wcf91],a ; write species somewhere (XXX why?)
- ld a,1
- ld [wcc49],a
+ ld a,ENEMY_PARTY_DATA
+ ld [wMonDataLocation],a
push hl
call AddPartyMon
pop hl
@@ -72,8 +72,8 @@ ReadTrainer: ; 39c53 (e:5c53)
ld [W_CURENEMYLVL],a
ld a,[hli]
ld [wcf91],a
- ld a,1
- ld [wcc49],a
+ ld a,ENEMY_PARTY_DATA
+ ld [wMonDataLocation],a
push hl
call AddPartyMon
pop hl