summaryrefslogtreecommitdiff
path: root/engine/battle_anims/anim_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-05 16:15:57 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-05 16:15:57 -0400
commit6b7ade66da6bae234ccc3c41a8f85247a2d4ce03 (patch)
treea6c6f732552f0f2ab569fa86480938636f2fc9e3 /engine/battle_anims/anim_commands.asm
parentff2d8502197934e07a45903102560e8eb81d2b5b (diff)
Identify more unnamed labels
Diffstat (limited to 'engine/battle_anims/anim_commands.asm')
-rw-r--r--engine/battle_anims/anim_commands.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm
index f42ca7b50..cfaaf0087 100644
--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -216,16 +216,18 @@ ClearActorHud:
call ClearBox
ret
-Functioncc220: ; unreferenced
+PlaceWindowOverBattleTextbox: ; unreferenced
xor a
ldh [hBGMapMode], a
- ld a, LOW(vBGMap0 tile $28)
+ ; bgcoord hBGMapAddress, 0, 20
+ ld a, LOW(vBGMap0 + 20 * BG_MAP_WIDTH)
ldh [hBGMapAddress], a
- ld a, HIGH(vBGMap0 tile $28)
+ ld a, HIGH(vBGMap0 + 20 * BG_MAP_WIDTH)
ldh [hBGMapAddress + 1], a
call WaitBGMap2
- ld a, $60
+ ld a, (SCREEN_HEIGHT - TEXTBOX_HEIGHT) * TILE_WIDTH
ldh [hWY], a
+ ; bgcoord hBGMapAddress, 0, 0
xor a ; LOW(vBGMap0)
ldh [hBGMapAddress], a
ld a, HIGH(vBGMap0)