summaryrefslogtreecommitdiff
path: root/engine/cable_club.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-09 23:56:20 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-09 23:56:20 -0500
commit8a6d46f3d9ba4fb6939eb9ea9949f47aa8608d4a (patch)
treec369228491bdaca750da4a24baa3190836320710 /engine/cable_club.asm
parentf8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (diff)
Replace some hardcoded data sizes
Diffstat (limited to 'engine/cable_club.asm')
-rwxr-xr-xengine/cable_club.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index 07284d13..88e85e8b 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -598,7 +598,7 @@ ReturnToCableClubRoom: ; 577d (1:577d)
TradeCenter_DrawCancelBox:
coord hl, 11, 15
ld a, $7e
- ld bc, 2 * 20 + 9
+ ld bc, 2 * SCREEN_WIDTH + 9
call FillMemory
coord hl, 0, 15
ld b, 1
@@ -614,7 +614,7 @@ CancelTextString:
TradeCenter_PlaceSelectedEnemyMonMenuCursor:
ld a, [wSerialSyncAndExchangeNybbleReceiveData]
coord hl, 1, 9
- ld bc, 20
+ ld bc, SCREEN_WIDTH
call AddNTimes
ld [hl], $ec ; cursor
ret