diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-10 11:09:16 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-10 11:09:16 -0500 |
commit | dfc152d667e3695f83eb0fbabb839b0fad275ceb (patch) | |
tree | 37255b78ab19c520a651ec68ca10a9f43ebe07d7 /scripts/route22.asm | |
parent | 31d267d4ad87042dbdd30be645ad4b43e4e3ceb1 (diff) |
No more $C8
Use OPP_ constants separate from trainer constants since
valid opponents can be all Pokemon and trainers
Diffstat (limited to 'scripts/route22.asm')
-rwxr-xr-x | scripts/route22.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/route22.asm b/scripts/route22.asm index f6f6778e..1244f0ff 100755 --- a/scripts/route22.asm +++ b/scripts/route22.asm @@ -131,7 +131,7 @@ Route22Script1: ; 50f62 (14:4f62) ld hl, Route22RivalDefeatedText1 ld de, Route22Text_511bc call SaveEndBattleTextPointers - ld a, SONY1 + $c8 + ld a, OPP_SONY1 ld [W_CUROPPONENT], a ld hl, StarterMons_50faf call Route22Script_50ed6 @@ -287,7 +287,7 @@ Route22Script4: ; 51087 (14:5087) ld hl, Route22RivalDefeatedText2 ld de, Route22Text_511d0 call SaveEndBattleTextPointers - ld a, SONY2 + $c8 + ld a, OPP_SONY2 ld [W_CUROPPONENT], a ld hl, StarterMons_510d9 call Route22Script_50ed6 |