summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 10:34:05 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 10:34:05 -0500
commit4efb3e307cd6b4bf267ab0d509f8e5ab498f798e (patch)
treecd405b6d1ca27c14bfbed4fd3c2fefe91be7ee33 /engine/battle/core.asm
parent5db3bdd6551fad07066b669db1e44a6151aaa0b4 (diff)
Sync more with pokered
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-xengine/battle/core.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index abb1c9b4..01074b74 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -1171,22 +1171,22 @@ ChooseNextMon:
HandlePlayerBlackOut:
ld a, [wLinkState]
cp LINK_STATE_BATTLING
- jr z, .notSony1Battle
+ jr z, .notRival1Battle
ld a, [wCurOpponent]
cp OPP_RIVAL1
- jr nz, .notSony1Battle
- hlcoord 0, 0 ; sony 1 battle
+ jr nz, .notRival1Battle
+ hlcoord 0, 0 ; rival 1 battle
lb bc, 8, 21
call ClearScreenArea
call ScrollTrainerPicAfterBattle
ld c, 40
call DelayFrames
- ld hl, Sony1WinText
+ ld hl, Rival1WinText
call PrintText
ld a, [wCurMap]
cp OAKS_LAB
ret z ; starter battle in oak's lab: don't black out
-.notSony1Battle
+.notRival1Battle
ld b, SET_PAL_BATTLE_BLACK
call RunPaletteCommand
ld hl, PlayerBlackedOutText2
@@ -1203,8 +1203,8 @@ HandlePlayerBlackOut:
scf
ret
-Sony1WinText:
- text_far _Sony1WinText
+Rival1WinText:
+ text_far _Rival1WinText
text_end
PlayerBlackedOutText2: