aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menu/league_pc.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
committeryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
commitdff0cdeb5a2f901dc8d1a05847d09d7faf1654ad (patch)
tree3618582f76f4183b6bc22c5d4743b6d171d11128 /engine/menu/league_pc.asm
parentMerge remote-tracking branch 'origin/master' into tentative (diff)
parentCommented/labelled misc functions (diff)
downloadpokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.tar.gz
pokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.tar.xz
pokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.zip
Merge remote-tracking branch 'YamaArashi/master'
Conflicts: constants/misc_constants.asm engine/battle/core.asm engine/menu/pokedex.asm engine/town_map.asm home.asm hram.asm
Diffstat (limited to 'engine/menu/league_pc.asm')
-rwxr-xr-xengine/menu/league_pc.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/menu/league_pc.asm b/engine/menu/league_pc.asm
index 4833e57d..a6dd7021 100755
--- a/engine/menu/league_pc.asm
+++ b/engine/menu/league_pc.asm
@@ -4,14 +4,14 @@ PKMNLeaguePC: ; 0x7657e
ld hl, wd730
set 6, [hl]
push hl
- ld a, [wcfcb]
+ ld a, [wUpdateSpritesEnabled]
push af
- ld a, [$ffD7]
+ ld a, [hTilesetType]
push af
xor a
- ld [$ffD7], a
+ ld [hTilesetType], a
ld [W_SPRITEFLIPPED], a
- ld [wcfcb], a
+ ld [wUpdateSpritesEnabled], a
ld [wTrainerScreenX], a
ld [wcd42], a
ld a, [wd5a2]
@@ -38,9 +38,9 @@ PKMNLeaguePC: ; 0x7657e
jr nz, .first
.second
pop af
- ld [$ffD7], a
+ ld [hTilesetType], a
pop af
- ld [wcfcb], a
+ ld [wUpdateSpritesEnabled], a
pop hl
res 6, [hl]
call GBPalWhiteOutWithDelay3