summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2019-07-06 23:44:00 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2019-07-06 23:50:18 +0100
commitdc903e4686c326dd579d2086529937c4c546f80d (patch)
tree7df439f941b2878d675b50ed8f176ffac9100929 /src/engine
parent853fd045da706f07c9ccef72cbde2075675074cd (diff)
YourPlayArea text data
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/bank02.asm16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/engine/bank02.asm b/src/engine/bank02.asm
index 8d846db..9ca9cfd 100644
--- a/src/engine/bank02.asm
+++ b/src/engine/bank02.asm
@@ -60,12 +60,13 @@ DuelCheckMenu_YourPlayArea: ; 8047 (2:4047)
call DrawWideTextBox
xor a
ld [wDuelCursorBlinkCounter], a
- lb hl, $41, $69
+ ld hl, YourPlayAreaMenuData
call PlaceTextItems
+
.asm_8074
call DoFrame
xor a
- call DrawByteToTabulatedPositions_FromCursor
+ call DrawArrowsToTabulatedPositions
call Func_86ac
jr nc, .asm_8074
call EraseByteFromTabulatedPositions
@@ -92,12 +93,17 @@ CheckMenuData: ; (2:4158)
textitem 12, 16, OppPlayAreaText
db $ff
-Func_8169: ; 8169 (2:4169)
- INCROM $8169, $818c
+YourPlayAreaMenuData: ; (2:4169)
+ textitem 2, 14, YourPokemonText
+ textitem 12, 14, YourHandText
+ textitem 2, 16, YourDiscardPileText2
+ db $ff
+
+ INCROM $8176, $818c
; checks if arrows need to be erased in Play Area
; and draws new arrows upon cursor position change
-DrawByteToTabulatedPositions_FromCursor: ; 818c (2:418c)
+DrawArrowsToTabulatedPositions: ; 818c (2:418c)
push af
ld b, a
add b