aboutsummaryrefslogtreecommitdiffstats
path: root/engine/cable_club.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-13 14:50:56 -0800
committeryenatch <yenatch@gmail.com>2015-02-13 14:50:56 -0800
commitb65c6e815643a1cbce8c7c3cd48fc9881bb56d01 (patch)
tree151a1d0eda1b28d497f4ee8340141bd6f94c1fef /engine/cable_club.asm
parentrename hJoyHeldLast -> hJoyLast (diff)
parentRename some labels (diff)
downloadpokeyellow-b65c6e815643a1cbce8c7c3cd48fc9881bb56d01.tar.gz
pokeyellow-b65c6e815643a1cbce8c7c3cd48fc9881bb56d01.tar.xz
pokeyellow-b65c6e815643a1cbce8c7c3cd48fc9881bb56d01.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'engine/cable_club.asm')
-rwxr-xr-xengine/cable_club.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index f1278c83..4fbb13d9 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -338,10 +338,10 @@ TradeCenter_SelectMon:
ld a, 1
ld [wTopMenuItemX], a
.enemyMonMenu_HandleInput
- ld hl, $fff6
+ ld hl, hFlags_0xFFF6
set 1, [hl]
call HandleMenuInput
- ld hl, $fff6
+ ld hl, hFlags_0xFFF6
res 1, [hl]
and a
jp z, .getNewInput
@@ -403,10 +403,10 @@ TradeCenter_SelectMon:
ld bc, $0601
call ClearScreenArea
.playerMonMenu_HandleInput
- ld hl, $fff6
+ ld hl, hFlags_0xFFF6
set 1, [hl]
call HandleMenuInput
- ld hl, $fff6
+ ld hl, hFlags_0xFFF6
res 1, [hl]
and a ; was anything pressed?
jr nz, .playerMonMenu_SomethingPressed
@@ -578,7 +578,7 @@ TradeCenter_SelectMon:
ReturnToCableClubRoom: ; 577d (1:577d)
call GBPalWhiteOutWithDelay3
- ld hl, wcfc4
+ ld hl, wFontLoaded
ld a, [hl]
push af
push hl
@@ -716,7 +716,7 @@ TradeCenter_Trade:
ld bc, $080b
ld a, TRADE_CANCEL_MENU
ld [wTwoOptionMenuID], a
- ld a, $14
+ ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
call DisplayTextBoxID
call LoadScreenTilesFromBuffer1
@@ -808,7 +808,7 @@ TradeCenter_Trade:
ld a, c
ld bc, wEnemyMon2 - wEnemyMon1
call AddNTimes
- ld de, wcf98
+ ld de, wLoadedMon
ld bc, wEnemyMon2 - wEnemyMon1
call CopyData
call AddEnemyMonToPlayerParty