From dc903e4686c326dd579d2086529937c4c546f80d Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Sat, 6 Jul 2019 23:44:00 +0100 Subject: YourPlayArea text data --- src/engine/bank02.asm | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/engine') 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 -- cgit v1.2.3